From b645d7c82185c6b53aa683f8e1cbd31bc4e5d96d Mon Sep 17 00:00:00 2001 From: Dennis Scheiba Date: Wed, 13 Sep 2023 01:08:53 +0200 Subject: [PATCH] add isEntryNode to gql node --- caster-back/operations.gql | 2 ++ caster-editor/src/graphql.ts | 2 +- caster-front/src/graphql.ts | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/caster-back/operations.gql b/caster-back/operations.gql index acad0d2f..e2ef38d9 100644 --- a/caster-back/operations.gql +++ b/caster-back/operations.gql @@ -150,6 +150,7 @@ subscription graph($uuid: UUID!) { positionX positionY color + isEntryNode inNodeDoors { ...NodeDoorBasic } @@ -181,6 +182,7 @@ subscription node($uuid: UUID!) { name positionX positionY + isEntryNode scriptCells { cellCode cellOrder diff --git a/caster-editor/src/graphql.ts b/caster-editor/src/graphql.ts index 35b99e99..a734c295 100644 --- a/caster-editor/src/graphql.ts +++ b/caster-editor/src/graphql.ts @@ -1273,8 +1273,8 @@ export type NodeSubscription = { name: string; positionX: number; positionY: number; - uuid: any; isEntryNode: boolean; + uuid: any; inNodeDoors: Array<{ uuid: any; name: string; diff --git a/caster-front/src/graphql.ts b/caster-front/src/graphql.ts index 6dd5d572..a734c295 100644 --- a/caster-front/src/graphql.ts +++ b/caster-front/src/graphql.ts @@ -1229,6 +1229,7 @@ export type GraphSubscription = { positionX: number; positionY: number; color: string; + isEntryNode: boolean; scriptCells: Array<{ cellCode: string; cellOrder: number; @@ -1272,6 +1273,7 @@ export type NodeSubscription = { name: string; positionX: number; positionY: number; + isEntryNode: boolean; uuid: any; inNodeDoors: Array<{ uuid: any; @@ -1901,6 +1903,7 @@ export const GraphDocument = gql` positionX positionY color + isEntryNode inNodeDoors { ...NodeDoorBasic } @@ -1938,6 +1941,7 @@ export const NodeDocument = gql` name positionX positionY + isEntryNode scriptCells { cellCode cellOrder