From 1c027205302dd825ab8f17dd79fa84e402ddcc4a Mon Sep 17 00:00:00 2001 From: wolfy1339 Date: Sun, 17 Jan 2021 19:19:37 -0500 Subject: [PATCH] fix: the label's `description` property can be `null` --- payload-schemas/schemas/common/label.schema.json | 2 +- schema.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/payload-schemas/schemas/common/label.schema.json b/payload-schemas/schemas/common/label.schema.json index 5585f0847..56f67aaf6 100644 --- a/payload-schemas/schemas/common/label.schema.json +++ b/payload-schemas/schemas/common/label.schema.json @@ -16,7 +16,7 @@ "node_id": { "type": "string" }, "url": { "type": "string" }, "name": { "type": "string" }, - "description": { "type": "string" }, + "description": { "type": ["string", "null"] }, "color": { "type": "string" }, "default": { "type": "boolean" } }, diff --git a/schema.d.ts b/schema.d.ts index 40f400808..6e8044575 100644 --- a/schema.d.ts +++ b/schema.d.ts @@ -2079,7 +2079,7 @@ export interface Label { node_id: string; url: string; name: string; - description: string; + description: string | null; color: string; default: boolean; }