stellate 2.0.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/bin.js +185 -185
  2. package/dist/index.d.ts +24 -3
  3. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -83,7 +83,6 @@ declare const inputSchema: z.ZodObject<{
83
83
  schema: z.ZodNullable<z.ZodOptional<z.ZodString>>;
84
84
  cacheIntrospection: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
85
85
  injectHeaders: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
86
- enablePlayground: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
87
86
  devPortal: z.ZodNullable<z.ZodOptional<z.ZodObject<{
88
87
  enabled: z.ZodBoolean;
89
88
  title: z.ZodOptional<z.ZodString>;
@@ -155,6 +154,10 @@ declare const inputSchema: z.ZodObject<{
155
154
  }, {
156
155
  name: string;
157
156
  }>, "many">>>;
157
+ /**
158
+ * @deprecated Use the `graphiql` option instead.
159
+ */
160
+ enablePlayground: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
158
161
  headers: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>>;
159
162
  scopes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
160
163
  definition: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -360,6 +363,16 @@ declare const inputSchema: z.ZodObject<{
360
363
  secret?: string | null | undefined;
361
364
  } | null | undefined;
362
365
  }>>>>;
366
+ graphiql: z.ZodNullable<z.ZodOptional<z.ZodObject<{
367
+ enabled: z.ZodBoolean;
368
+ title: z.ZodOptional<z.ZodString>;
369
+ }, "strip", z.ZodTypeAny, {
370
+ enabled: boolean;
371
+ title?: string | undefined;
372
+ }, {
373
+ enabled: boolean;
374
+ title?: string | undefined;
375
+ }>>>;
363
376
  requestSigning: z.ZodNullable<z.ZodOptional<z.ZodObject<{
364
377
  secret: z.ZodNullable<z.ZodOptional<z.ZodString>>;
365
378
  }, "strip", z.ZodTypeAny, {
@@ -727,7 +740,6 @@ declare const inputSchema: z.ZodObject<{
727
740
  schema?: string | null | undefined;
728
741
  cacheIntrospection?: boolean | null | undefined;
729
742
  injectHeaders?: boolean | null | undefined;
730
- enablePlayground?: boolean | null | undefined;
731
743
  devPortal?: {
732
744
  enabled: boolean;
733
745
  title?: string | undefined;
@@ -751,6 +763,7 @@ declare const inputSchema: z.ZodObject<{
751
763
  bypassCacheHeaders?: {
752
764
  name: string;
753
765
  }[] | null | undefined;
766
+ enablePlayground?: boolean | null | undefined;
754
767
  headers?: Record<string, string> | null | undefined;
755
768
  scopes?: Record<string, string | {
756
769
  definition?: string | null | undefined;
@@ -803,6 +816,10 @@ declare const inputSchema: z.ZodObject<{
803
816
  secret?: string | null | undefined;
804
817
  } | null | undefined;
805
818
  }> | null | undefined;
819
+ graphiql?: {
820
+ enabled: boolean;
821
+ title?: string | undefined;
822
+ } | null | undefined;
806
823
  requestSigning?: {
807
824
  secret?: string | null | undefined;
808
825
  } | null | undefined;
@@ -898,7 +915,6 @@ declare const inputSchema: z.ZodObject<{
898
915
  schema?: string | null | undefined;
899
916
  cacheIntrospection?: boolean | null | undefined;
900
917
  injectHeaders?: boolean | null | undefined;
901
- enablePlayground?: boolean | null | undefined;
902
918
  devPortal?: {
903
919
  enabled: boolean;
904
920
  title?: string | undefined;
@@ -922,6 +938,7 @@ declare const inputSchema: z.ZodObject<{
922
938
  bypassCacheHeaders?: {
923
939
  name: string;
924
940
  }[] | null | undefined;
941
+ enablePlayground?: boolean | null | undefined;
925
942
  headers?: Record<string, string> | null | undefined;
926
943
  scopes?: Record<string, string | {
927
944
  definition?: string | null | undefined;
@@ -974,6 +991,10 @@ declare const inputSchema: z.ZodObject<{
974
991
  secret?: string | null | undefined;
975
992
  } | null | undefined;
976
993
  }> | null | undefined;
994
+ graphiql?: {
995
+ enabled: boolean;
996
+ title?: string | undefined;
997
+ } | null | undefined;
977
998
  requestSigning?: {
978
999
  secret?: string | null | undefined;
979
1000
  } | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stellate",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "engines": {
5
5
  "node": ">=16"
6
6
  },
@@ -44,7 +44,7 @@
44
44
  "vitest": "^0.29.7",
45
45
  "ws": "8.11.0",
46
46
  "yaml": "^1.10.2",
47
- "@gcdn/configuration": "1.25.0"
47
+ "@gcdn/configuration": "1.26.0"
48
48
  },
49
49
  "bin": {
50
50
  "stellate": "dist/bin.js",