stellate 2.10.2 → 2.11.1
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.
- package/dist/bin.js +578 -596
- package/dist/index.d.ts +20 -5
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -93,6 +93,10 @@ declare const inputSchema: z.ZodObject<{
|
|
|
93
93
|
app: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
94
94
|
name: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
95
95
|
originUrl: z.ZodOptional<z.ZodString>;
|
|
96
|
+
/**
|
|
97
|
+
* The version of the HTTP protocol to use when contacting the originUrl.
|
|
98
|
+
*/
|
|
99
|
+
httpVersion: z.ZodNullable<z.ZodOptional<z.ZodEnum<["1.1", "2", "3"]>>>;
|
|
96
100
|
schema: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
97
101
|
cacheIntrospection: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
98
102
|
injectHeaders: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -261,19 +265,23 @@ declare const inputSchema: z.ZodObject<{
|
|
|
261
265
|
}>>>;
|
|
262
266
|
rules: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
263
267
|
/** Array of types, or dictionary to enable types, fields of types, or list of fields per type. */
|
|
264
|
-
types: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>, z.ZodArray<z.ZodString, "many">]>>, z.ZodArray<z.ZodString, "many">]
|
|
268
|
+
types: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodBoolean, z.ZodRecord<z.ZodString, z.ZodBoolean>]>, z.ZodArray<z.ZodString, "many">]>>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
269
|
+
/** Array of hashes of operation strings. */
|
|
270
|
+
operationHashes: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
265
271
|
maxAge: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
266
272
|
swr: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
267
273
|
scope: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
268
274
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
269
275
|
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
types
|
|
276
|
+
types?: string[] | Record<string, boolean | string[] | Record<string, boolean>> | null | undefined;
|
|
277
|
+
operationHashes?: string[] | null | undefined;
|
|
271
278
|
maxAge?: number | null | undefined;
|
|
272
279
|
swr?: number | null | undefined;
|
|
273
280
|
scope?: string | null | undefined;
|
|
274
281
|
description?: string | null | undefined;
|
|
275
282
|
}, {
|
|
276
|
-
types
|
|
283
|
+
types?: string[] | Record<string, boolean | string[] | Record<string, boolean>> | null | undefined;
|
|
284
|
+
operationHashes?: string[] | null | undefined;
|
|
277
285
|
maxAge?: number | null | undefined;
|
|
278
286
|
swr?: number | null | undefined;
|
|
279
287
|
scope?: string | null | undefined;
|
|
@@ -884,10 +892,12 @@ declare const inputSchema: z.ZodObject<{
|
|
|
884
892
|
mode: "mask";
|
|
885
893
|
} | null | undefined;
|
|
886
894
|
}>>>;
|
|
895
|
+
removeCookies: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
887
896
|
}, "strip", z.ZodTypeAny, {
|
|
888
897
|
app?: string | undefined;
|
|
889
898
|
name?: string | undefined;
|
|
890
899
|
originUrl?: string | undefined;
|
|
900
|
+
httpVersion?: "1.1" | "2" | "3" | null | undefined;
|
|
891
901
|
schema?: string | null | undefined;
|
|
892
902
|
cacheIntrospection?: boolean | null | undefined;
|
|
893
903
|
injectHeaders?: boolean | null | undefined;
|
|
@@ -944,7 +954,8 @@ declare const inputSchema: z.ZodObject<{
|
|
|
944
954
|
defaults?: string[] | null | undefined;
|
|
945
955
|
} | null | undefined;
|
|
946
956
|
rules?: {
|
|
947
|
-
types
|
|
957
|
+
types?: string[] | Record<string, boolean | string[] | Record<string, boolean>> | null | undefined;
|
|
958
|
+
operationHashes?: string[] | null | undefined;
|
|
948
959
|
maxAge?: number | null | undefined;
|
|
949
960
|
swr?: number | null | undefined;
|
|
950
961
|
scope?: string | null | undefined;
|
|
@@ -1095,10 +1106,12 @@ declare const inputSchema: z.ZodObject<{
|
|
|
1095
1106
|
mode: "mask";
|
|
1096
1107
|
} | null | undefined;
|
|
1097
1108
|
} | null | undefined;
|
|
1109
|
+
removeCookies?: string[] | null | undefined;
|
|
1098
1110
|
}, {
|
|
1099
1111
|
app?: string | undefined;
|
|
1100
1112
|
name?: string | undefined;
|
|
1101
1113
|
originUrl?: string | undefined;
|
|
1114
|
+
httpVersion?: "1.1" | "2" | "3" | null | undefined;
|
|
1102
1115
|
schema?: string | null | undefined;
|
|
1103
1116
|
cacheIntrospection?: boolean | null | undefined;
|
|
1104
1117
|
injectHeaders?: boolean | null | undefined;
|
|
@@ -1155,7 +1168,8 @@ declare const inputSchema: z.ZodObject<{
|
|
|
1155
1168
|
defaults?: string[] | null | undefined;
|
|
1156
1169
|
} | null | undefined;
|
|
1157
1170
|
rules?: {
|
|
1158
|
-
types
|
|
1171
|
+
types?: string[] | Record<string, boolean | string[] | Record<string, boolean>> | null | undefined;
|
|
1172
|
+
operationHashes?: string[] | null | undefined;
|
|
1159
1173
|
maxAge?: number | null | undefined;
|
|
1160
1174
|
swr?: number | null | undefined;
|
|
1161
1175
|
scope?: string | null | undefined;
|
|
@@ -1306,6 +1320,7 @@ declare const inputSchema: z.ZodObject<{
|
|
|
1306
1320
|
mode: "mask";
|
|
1307
1321
|
} | null | undefined;
|
|
1308
1322
|
} | null | undefined;
|
|
1323
|
+
removeCookies?: string[] | null | undefined;
|
|
1309
1324
|
}>;
|
|
1310
1325
|
type Input$1 = Readonly<z.infer<typeof inputSchema>>;
|
|
1311
1326
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stellate",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.1",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=16"
|
|
6
6
|
},
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vitest": "^1.3.0",
|
|
45
45
|
"ws": "8.11.0",
|
|
46
46
|
"yaml": "^1.10.2",
|
|
47
|
-
"@gcdn/configuration": "1.
|
|
47
|
+
"@gcdn/configuration": "1.32.0"
|
|
48
48
|
},
|
|
49
49
|
"bin": {
|
|
50
50
|
"stellate": "dist/bin.js",
|