@kubernetes-typescript/runtime 0.1.0-alpha.3 → 0.1.0-alpha.4

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/index.cjs ADDED
@@ -0,0 +1,319 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
+ KubernetesApiError: () => KubernetesApiError,
24
+ createClient: () => createClient,
25
+ createResourceClient: () => createResourceClient,
26
+ createSubresourceClient: () => createSubresourceClient
27
+ });
28
+ module.exports = __toCommonJS(index_exports);
29
+ var KubernetesApiError = class _KubernetesApiError extends Error {
30
+ status;
31
+ reason;
32
+ details;
33
+ body;
34
+ headers;
35
+ constructor(message, options) {
36
+ super(message);
37
+ this.name = "KubernetesApiError";
38
+ this.status = options.status;
39
+ this.reason = options.reason;
40
+ this.details = options.details;
41
+ this.body = options.body;
42
+ this.headers = options.headers ?? new Headers();
43
+ }
44
+ static isNotFound(error) {
45
+ return error instanceof _KubernetesApiError && error.status === 404;
46
+ }
47
+ };
48
+ function createClient(options) {
49
+ const fetchImpl = options.fetch ?? globalThis.fetch;
50
+ if (!fetchImpl) {
51
+ throw new Error("No fetch implementation is available.");
52
+ }
53
+ return {
54
+ async request(requestOptions) {
55
+ const headers = withJsonBodyHeader(
56
+ await resolveHeaders(options, requestOptions.headers),
57
+ requestOptions
58
+ );
59
+ const url = buildRequestUrl(options.baseUrl, requestOptions.path);
60
+ for (const [key, value] of Object.entries(requestOptions.query ?? {})) {
61
+ if (value !== void 0) {
62
+ url.searchParams.set(key, String(value));
63
+ }
64
+ }
65
+ const response = await fetchImpl(url, {
66
+ method: requestOptions.method ?? "GET",
67
+ headers,
68
+ body: requestOptions.body === void 0 ? void 0 : JSON.stringify(requestOptions.body),
69
+ signal: requestOptions.signal
70
+ });
71
+ const body = await parseJson(response);
72
+ if (!response.ok) {
73
+ throw new KubernetesApiError(getErrorMessage(body, response.status), {
74
+ status: response.status,
75
+ reason: getStringProperty(body, "reason"),
76
+ details: getObjectProperty(body, "details"),
77
+ body,
78
+ headers: new Headers(response.headers)
79
+ });
80
+ }
81
+ return requestOptions.schema ? requestOptions.schema.parse(body) : body;
82
+ }
83
+ };
84
+ }
85
+ function createResourceClient(client, definition, schema, listSchema, subresource, queryMapper) {
86
+ return {
87
+ get: (options) => client.request({
88
+ path: resourcePath(definition, options, options.name, subresource),
89
+ query: queryMapper?.get?.(options),
90
+ signal: options.signal,
91
+ schema
92
+ }),
93
+ list: (options) => client.request({
94
+ path: resourcePath(definition, options, void 0, subresource),
95
+ query: queryMapper?.list?.(options),
96
+ signal: options.signal,
97
+ schema: listSchema
98
+ }),
99
+ create: (options) => client.request({
100
+ method: "POST",
101
+ path: resourcePath(definition, options, void 0, subresource),
102
+ query: queryMapper?.create?.(options),
103
+ body: options.body,
104
+ headers: jsonHeaders(),
105
+ signal: options.signal,
106
+ schema
107
+ }),
108
+ update: (options) => client.request({
109
+ method: "PUT",
110
+ path: resourcePath(definition, options, options.name, subresource),
111
+ query: queryMapper?.update?.(options),
112
+ body: options.body,
113
+ headers: jsonHeaders(),
114
+ signal: options.signal,
115
+ schema
116
+ }),
117
+ patch: (options) => client.request({
118
+ method: "PATCH",
119
+ path: resourcePath(definition, options, options.name, subresource),
120
+ query: queryMapper?.patch?.(options),
121
+ body: options.body,
122
+ headers: {
123
+ "content-type": patchContentType(options.type)
124
+ },
125
+ signal: options.signal,
126
+ schema
127
+ }),
128
+ delete: (options) => client.request({
129
+ method: "DELETE",
130
+ path: resourcePath(definition, options, options.name, subresource),
131
+ query: queryMapper?.delete?.(options),
132
+ signal: options.signal,
133
+ schema
134
+ }),
135
+ subresource: (name) => createSubresourceClient(
136
+ client,
137
+ definition,
138
+ schema,
139
+ schema,
140
+ name,
141
+ queryMapper
142
+ )
143
+ };
144
+ }
145
+ function createSubresourceClient(client, definition, schema, listSchema, subresource, queryMapper) {
146
+ return {
147
+ get: (options) => client.request({
148
+ path: resourcePath(definition, options, options.name, subresource),
149
+ query: queryMapper?.get?.(options),
150
+ signal: options.signal,
151
+ schema
152
+ }),
153
+ list: (options) => client.request({
154
+ path: resourcePath(definition, options, options.name, subresource),
155
+ query: queryMapper?.list?.(options),
156
+ signal: options.signal,
157
+ schema: listSchema
158
+ }),
159
+ create: (options) => client.request({
160
+ method: "POST",
161
+ path: resourcePath(definition, options, options.name, subresource),
162
+ query: queryMapper?.create?.(options),
163
+ body: options.body,
164
+ headers: jsonHeaders(),
165
+ signal: options.signal,
166
+ schema
167
+ }),
168
+ update: (options) => client.request({
169
+ method: "PUT",
170
+ path: resourcePath(definition, options, options.name, subresource),
171
+ query: queryMapper?.update?.(options),
172
+ body: options.body,
173
+ headers: jsonHeaders(),
174
+ signal: options.signal,
175
+ schema
176
+ }),
177
+ patch: (options) => client.request({
178
+ method: "PATCH",
179
+ path: resourcePath(definition, options, options.name, subresource),
180
+ query: queryMapper?.patch?.(options),
181
+ body: options.body,
182
+ headers: {
183
+ "content-type": patchContentType(options.type)
184
+ },
185
+ signal: options.signal,
186
+ schema
187
+ }),
188
+ delete: (options) => client.request({
189
+ method: "DELETE",
190
+ path: resourcePath(definition, options, options.name, subresource),
191
+ query: queryMapper?.delete?.(options),
192
+ signal: options.signal,
193
+ schema
194
+ }),
195
+ subresource: (name) => createSubresourceClient(
196
+ client,
197
+ definition,
198
+ schema,
199
+ schema,
200
+ name,
201
+ queryMapper
202
+ )
203
+ };
204
+ }
205
+ async function resolveHeaders(options, requestHeaders) {
206
+ const headers = {
207
+ ...typeof options.headers === "function" ? await options.headers() : options.headers ?? {},
208
+ ...requestHeaders ?? {}
209
+ };
210
+ if (!options.auth) {
211
+ return headers;
212
+ }
213
+ const token = typeof options.auth.token === "function" ? await options.auth.token() : options.auth.token;
214
+ return {
215
+ ...headers,
216
+ authorization: `Bearer ${token}`
217
+ };
218
+ }
219
+ function withJsonBodyHeader(headers, options) {
220
+ if (options.body === void 0 || hasHeader(headers, "content-type")) {
221
+ return headers;
222
+ }
223
+ return {
224
+ ...headers,
225
+ "content-type": "application/json"
226
+ };
227
+ }
228
+ function hasHeader(headers, name) {
229
+ return Object.keys(headers).some(
230
+ (key) => key.toLowerCase() === name.toLowerCase()
231
+ );
232
+ }
233
+ function withTrailingSlash(value) {
234
+ return value.endsWith("/") ? value : `${value}/`;
235
+ }
236
+ function trimSlashes(value) {
237
+ return value.replace(/^\/+|\/+$/g, "");
238
+ }
239
+ function buildRequestUrl(baseUrl, path) {
240
+ const origin = typeof globalThis.location === "undefined" ? "http://localhost" : globalThis.location.origin;
241
+ const base = new URL(withTrailingSlash(baseUrl), origin);
242
+ const basePath = trimSlashes(base.pathname);
243
+ const requestPath = trimSlashes(path);
244
+ base.pathname = `/${[basePath, requestPath].filter(Boolean).join("/")}`;
245
+ return base;
246
+ }
247
+ function jsonHeaders() {
248
+ return {
249
+ "content-type": "application/json"
250
+ };
251
+ }
252
+ function patchContentType(type) {
253
+ switch (type) {
254
+ case "merge":
255
+ return "application/merge-patch+json";
256
+ case "json":
257
+ return "application/json-patch+json";
258
+ case "apply":
259
+ return "application/apply-patch+json";
260
+ }
261
+ }
262
+ function resourcePath(definition, options, name, subresource) {
263
+ const segments = [...apiVersionSegments(definition.apiVersion)];
264
+ if (definition.namespaced) {
265
+ if (!options.namespace) {
266
+ throw new Error(`Resource ${definition.plural} requires a namespace.`);
267
+ }
268
+ segments.push("namespaces", options.namespace);
269
+ }
270
+ segments.push(definition.plural);
271
+ if (name) {
272
+ segments.push(name);
273
+ }
274
+ if (subresource) {
275
+ segments.push(subresource);
276
+ }
277
+ return `/${segments.map(encodeURIComponent).join("/")}`;
278
+ }
279
+ function apiVersionSegments(apiVersion) {
280
+ if (apiVersion === "v1") {
281
+ return ["api", apiVersion];
282
+ }
283
+ const [group, version] = apiVersion.split("/");
284
+ if (!group || !version) {
285
+ throw new Error(`Invalid Kubernetes apiVersion: ${apiVersion}`);
286
+ }
287
+ return ["apis", group, version];
288
+ }
289
+ async function parseJson(response) {
290
+ if (response.status === 204) {
291
+ return void 0;
292
+ }
293
+ const text = await response.text();
294
+ if (!text) {
295
+ return void 0;
296
+ }
297
+ try {
298
+ return JSON.parse(text);
299
+ } catch {
300
+ return text;
301
+ }
302
+ }
303
+ function getErrorMessage(body, status) {
304
+ return getStringProperty(body, "message") ?? `Kubernetes API request failed with status ${status}.`;
305
+ }
306
+ function getStringProperty(value, key) {
307
+ return typeof value === "object" && value !== null && key in value && typeof value[key] === "string" ? value[key] : void 0;
308
+ }
309
+ function getObjectProperty(value, key) {
310
+ return typeof value === "object" && value !== null && key in value ? value[key] : void 0;
311
+ }
312
+ // Annotate the CommonJS export names for ESM import in node:
313
+ 0 && (module.exports = {
314
+ KubernetesApiError,
315
+ createClient,
316
+ createResourceClient,
317
+ createSubresourceClient
318
+ });
319
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export type ResourceScope = \"namespaced\" | \"cluster\";\n\nexport interface ResponseSchema<T> {\n parse(value: unknown): T;\n}\n\nexport type HeaderSource =\n | Record<string, string>\n | (() => Record<string, string> | Promise<Record<string, string>>);\n\nexport interface BearerAuth {\n type: \"bearer\";\n token: string | (() => string | Promise<string>);\n}\n\nexport interface ClientOptions {\n baseUrl: string;\n auth?: BearerAuth;\n headers?: HeaderSource;\n fetch?: typeof fetch;\n}\n\nexport interface RequestOptions<TResponse> {\n method?: string;\n path: string;\n query?: Record<string, string | number | boolean | undefined>;\n body?: unknown;\n headers?: Record<string, string>;\n signal?: AbortSignal;\n schema?: ResponseSchema<TResponse>;\n}\n\nexport interface KubernetesClient {\n request<TResponse>(options: RequestOptions<TResponse>): Promise<TResponse>;\n}\n\nexport type PatchType = \"merge\" | \"json\" | \"apply\";\n\nexport interface ResourceDefinition {\n apiVersion: string;\n plural: string;\n namespaced: boolean;\n}\n\nexport interface VerbOptions {\n get: unknown;\n list: unknown;\n create: unknown;\n update: unknown;\n patch: unknown;\n delete: unknown;\n}\n\nexport type DefaultVerbOptions = {\n [K in keyof VerbOptions]: {};\n};\n\nexport type NamespacedOptions = { namespace: string };\nexport type ClusterOptions = { namespace?: never };\n\nexport type ScopedOptions<TScope extends ResourceScope> =\n TScope extends \"namespaced\" ? NamespacedOptions : ClusterOptions;\n\nexport type GetOptions<\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> = ScopedOptions<TScope> & {\n name: string;\n signal?: AbortSignal;\n} & TVerbOptions[\"get\"];\n\nexport type ListResourceOptions<\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> = ScopedOptions<TScope> & { signal?: AbortSignal } & TVerbOptions[\"list\"];\n\nexport type SubresourceListOptions<\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> = ScopedOptions<TScope> & { name: string; signal?: AbortSignal } & TVerbOptions[\"list\"];\n\nexport type CreateOptions<\n TResource,\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> = ScopedOptions<TScope> & {\n body: TResource;\n signal?: AbortSignal;\n} & TVerbOptions[\"create\"];\n\nexport type SubresourceCreateOptions<\n TResource,\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> = ScopedOptions<TScope> & {\n name: string;\n body: TResource;\n signal?: AbortSignal;\n} & TVerbOptions[\"create\"];\n\nexport type UpdateOptions<\n TResource,\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> = ScopedOptions<TScope> & {\n name: string;\n body: TResource;\n signal?: AbortSignal;\n} & TVerbOptions[\"update\"];\n\nexport type PatchOptions<\n TPatch,\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> = ScopedOptions<TScope> & {\n name: string;\n type: PatchType;\n body: TPatch;\n signal?: AbortSignal;\n} & TVerbOptions[\"patch\"];\n\nexport type DeleteOptions<\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> = ScopedOptions<TScope> & {\n name: string;\n signal?: AbortSignal;\n} & TVerbOptions[\"delete\"];\n\ntype QueryParamValue = string | number | boolean | undefined;\n\nexport type QueryMapper<TVerbOptions extends VerbOptions> = {\n get?(options: TVerbOptions[\"get\"]): Record<string, QueryParamValue>;\n list?(options: TVerbOptions[\"list\"]): Record<string, QueryParamValue>;\n create?(options: TVerbOptions[\"create\"]): Record<string, QueryParamValue>;\n update?(options: TVerbOptions[\"update\"]): Record<string, QueryParamValue>;\n patch?(options: TVerbOptions[\"patch\"]): Record<string, QueryParamValue>;\n delete?(options: TVerbOptions[\"delete\"]): Record<string, QueryParamValue>;\n};\n\nexport interface ResourceClient<\n TResource,\n TList,\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> {\n get(options: GetOptions<TScope, TVerbOptions>): Promise<TResource>;\n list(options: ListResourceOptions<TScope, TVerbOptions>): Promise<TList>;\n create(\n options: CreateOptions<TResource, TScope, TVerbOptions>,\n ): Promise<TResource>;\n update(\n options: UpdateOptions<TResource, TScope, TVerbOptions>,\n ): Promise<TResource>;\n patch<TPatch = Partial<TResource>>(\n options: PatchOptions<TPatch, TScope, TVerbOptions>,\n ): Promise<TResource>;\n delete(options: DeleteOptions<TScope, TVerbOptions>): Promise<TResource>;\n subresource(\n name: string,\n ): SubresourceClient<TResource, TResource, TScope, TVerbOptions>;\n}\n\nexport interface SubresourceClient<\n TResource,\n TList,\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n> {\n get(options: GetOptions<TScope, TVerbOptions>): Promise<TResource>;\n list(options: SubresourceListOptions<TScope, TVerbOptions>): Promise<TList>;\n create(\n options: SubresourceCreateOptions<TResource, TScope, TVerbOptions>,\n ): Promise<TResource>;\n update(\n options: UpdateOptions<TResource, TScope, TVerbOptions>,\n ): Promise<TResource>;\n patch<TPatch = Partial<TResource>>(\n options: PatchOptions<TPatch, TScope, TVerbOptions>,\n ): Promise<TResource>;\n delete(options: DeleteOptions<TScope, TVerbOptions>): Promise<TResource>;\n subresource(\n name: string,\n ): SubresourceClient<TResource, TResource, TScope, TVerbOptions>;\n}\n\nexport class KubernetesApiError extends Error {\n readonly status: number;\n readonly reason?: string;\n readonly details?: unknown;\n readonly body?: unknown;\n readonly headers: Headers;\n\n constructor(\n message: string,\n options: {\n status: number;\n reason?: string;\n details?: unknown;\n body?: unknown;\n headers?: Headers;\n },\n ) {\n super(message);\n this.name = \"KubernetesApiError\";\n this.status = options.status;\n this.reason = options.reason;\n this.details = options.details;\n this.body = options.body;\n this.headers = options.headers ?? new Headers();\n }\n\n static isNotFound(error: unknown): error is KubernetesApiError {\n return error instanceof KubernetesApiError && error.status === 404;\n }\n}\n\nexport function createClient(options: ClientOptions): KubernetesClient {\n const fetchImpl = options.fetch ?? globalThis.fetch;\n\n if (!fetchImpl) {\n throw new Error(\"No fetch implementation is available.\");\n }\n\n return {\n async request<TResponse>(\n requestOptions: RequestOptions<TResponse>,\n ): Promise<TResponse> {\n const headers = withJsonBodyHeader(\n await resolveHeaders(options, requestOptions.headers),\n requestOptions,\n );\n const url = buildRequestUrl(options.baseUrl, requestOptions.path);\n\n for (const [key, value] of Object.entries(requestOptions.query ?? {})) {\n if (value !== undefined) {\n url.searchParams.set(key, String(value));\n }\n }\n\n const response = await fetchImpl(url, {\n method: requestOptions.method ?? \"GET\",\n headers,\n body:\n requestOptions.body === undefined\n ? undefined\n : JSON.stringify(requestOptions.body),\n signal: requestOptions.signal,\n });\n\n const body = await parseJson(response);\n\n if (!response.ok) {\n throw new KubernetesApiError(getErrorMessage(body, response.status), {\n status: response.status,\n reason: getStringProperty(body, \"reason\"),\n details: getObjectProperty(body, \"details\"),\n body,\n headers: new Headers(response.headers),\n });\n }\n\n return requestOptions.schema\n ? requestOptions.schema.parse(body)\n : (body as TResponse);\n },\n };\n}\n\nexport function createResourceClient<\n TResource,\n TList,\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n>(\n client: KubernetesClient,\n definition: ResourceDefinition,\n schema?: ResponseSchema<TResource>,\n listSchema?: ResponseSchema<TList>,\n subresource?: string,\n queryMapper?: QueryMapper<TVerbOptions>,\n): ResourceClient<TResource, TList, TScope, TVerbOptions> {\n return {\n get: (options) =>\n client.request<TResource>({\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.get?.(options),\n signal: options.signal,\n schema,\n }),\n list: (options) =>\n client.request<TList>({\n path: resourcePath(definition, options, undefined, subresource),\n query: queryMapper?.list?.(options),\n signal: options.signal,\n schema: listSchema,\n }),\n create: (options) =>\n client.request<TResource>({\n method: \"POST\",\n path: resourcePath(definition, options, undefined, subresource),\n query: queryMapper?.create?.(options),\n body: options.body,\n headers: jsonHeaders(),\n signal: options.signal,\n schema,\n }),\n update: (options) =>\n client.request<TResource>({\n method: \"PUT\",\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.update?.(options),\n body: options.body,\n headers: jsonHeaders(),\n signal: options.signal,\n schema,\n }),\n patch: (options) =>\n client.request<TResource>({\n method: \"PATCH\",\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.patch?.(options),\n body: options.body,\n headers: {\n \"content-type\": patchContentType(options.type),\n },\n signal: options.signal,\n schema,\n }),\n delete: (options) =>\n client.request<TResource>({\n method: \"DELETE\",\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.delete?.(options),\n signal: options.signal,\n schema,\n }),\n subresource: (name) =>\n createSubresourceClient(\n client,\n definition,\n schema,\n schema,\n name,\n queryMapper,\n ),\n };\n}\n\nexport function createSubresourceClient<\n TResource,\n TList,\n TScope extends ResourceScope,\n TVerbOptions extends VerbOptions = DefaultVerbOptions,\n>(\n client: KubernetesClient,\n definition: ResourceDefinition,\n schema?: ResponseSchema<TResource>,\n listSchema?: ResponseSchema<TList>,\n subresource?: string,\n queryMapper?: QueryMapper<TVerbOptions>,\n): SubresourceClient<TResource, TList, TScope, TVerbOptions> {\n return {\n get: (options) =>\n client.request<TResource>({\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.get?.(options),\n signal: options.signal,\n schema,\n }),\n list: (options) =>\n client.request<TList>({\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.list?.(options),\n signal: options.signal,\n schema: listSchema,\n }),\n create: (options) =>\n client.request<TResource>({\n method: \"POST\",\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.create?.(options),\n body: options.body,\n headers: jsonHeaders(),\n signal: options.signal,\n schema,\n }),\n update: (options) =>\n client.request<TResource>({\n method: \"PUT\",\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.update?.(options),\n body: options.body,\n headers: jsonHeaders(),\n signal: options.signal,\n schema,\n }),\n patch: (options) =>\n client.request<TResource>({\n method: \"PATCH\",\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.patch?.(options),\n body: options.body,\n headers: {\n \"content-type\": patchContentType(options.type),\n },\n signal: options.signal,\n schema,\n }),\n delete: (options) =>\n client.request<TResource>({\n method: \"DELETE\",\n path: resourcePath(definition, options, options.name, subresource),\n query: queryMapper?.delete?.(options),\n signal: options.signal,\n schema,\n }),\n subresource: (name) =>\n createSubresourceClient(\n client,\n definition,\n schema,\n schema,\n name,\n queryMapper,\n ),\n };\n}\n\nasync function resolveHeaders(\n options: ClientOptions,\n requestHeaders?: Record<string, string>,\n): Promise<Record<string, string>> {\n const headers = {\n ...(typeof options.headers === \"function\"\n ? await options.headers()\n : (options.headers ?? {})),\n ...(requestHeaders ?? {}),\n };\n\n if (!options.auth) {\n return headers;\n }\n\n const token =\n typeof options.auth.token === \"function\"\n ? await options.auth.token()\n : options.auth.token;\n return {\n ...headers,\n authorization: `Bearer ${token}`,\n };\n}\n\nfunction withJsonBodyHeader<TResponse>(\n headers: Record<string, string>,\n options: RequestOptions<TResponse>,\n): Record<string, string> {\n if (options.body === undefined || hasHeader(headers, \"content-type\")) {\n return headers;\n }\n\n return {\n ...headers,\n \"content-type\": \"application/json\",\n };\n}\n\nfunction hasHeader(headers: Record<string, string>, name: string): boolean {\n return Object.keys(headers).some(\n (key) => key.toLowerCase() === name.toLowerCase(),\n );\n}\n\nfunction withTrailingSlash(value: string): string {\n return value.endsWith(\"/\") ? value : `${value}/`;\n}\n\nfunction trimSlashes(value: string): string {\n return value.replace(/^\\/+|\\/+$/g, \"\");\n}\n\nfunction buildRequestUrl(baseUrl: string, path: string): URL {\n const origin =\n typeof globalThis.location === \"undefined\"\n ? \"http://localhost\"\n : globalThis.location.origin;\n const base = new URL(withTrailingSlash(baseUrl), origin);\n const basePath = trimSlashes(base.pathname);\n const requestPath = trimSlashes(path);\n\n base.pathname = `/${[basePath, requestPath].filter(Boolean).join(\"/\")}`;\n return base;\n}\n\nfunction jsonHeaders(): Record<string, string> {\n return {\n \"content-type\": \"application/json\",\n };\n}\n\nfunction patchContentType(type: PatchType): string {\n switch (type) {\n case \"merge\":\n return \"application/merge-patch+json\";\n case \"json\":\n return \"application/json-patch+json\";\n case \"apply\":\n return \"application/apply-patch+json\";\n }\n}\n\nfunction resourcePath(\n definition: ResourceDefinition,\n options: { namespace?: string },\n name?: string,\n subresource?: string,\n): string {\n const segments = [...apiVersionSegments(definition.apiVersion)];\n\n if (definition.namespaced) {\n if (!options.namespace) {\n throw new Error(`Resource ${definition.plural} requires a namespace.`);\n }\n segments.push(\"namespaces\", options.namespace);\n }\n\n segments.push(definition.plural);\n\n if (name) {\n segments.push(name);\n }\n\n if (subresource) {\n segments.push(subresource);\n }\n\n return `/${segments.map(encodeURIComponent).join(\"/\")}`;\n}\n\nfunction apiVersionSegments(apiVersion: string): string[] {\n if (apiVersion === \"v1\") {\n return [\"api\", apiVersion];\n }\n\n const [group, version] = apiVersion.split(\"/\");\n if (!group || !version) {\n throw new Error(`Invalid Kubernetes apiVersion: ${apiVersion}`);\n }\n\n return [\"apis\", group, version];\n}\n\nasync function parseJson(response: Response): Promise<unknown> {\n if (response.status === 204) {\n return undefined;\n }\n\n const text = await response.text();\n if (!text) {\n return undefined;\n }\n\n try {\n return JSON.parse(text);\n } catch {\n return text;\n }\n}\n\nfunction getErrorMessage(body: unknown, status: number): string {\n return (\n getStringProperty(body, \"message\") ??\n `Kubernetes API request failed with status ${status}.`\n );\n}\n\nfunction getStringProperty(value: unknown, key: string): string | undefined {\n return typeof value === \"object\" &&\n value !== null &&\n key in value &&\n typeof value[key as keyof typeof value] === \"string\"\n ? value[key as keyof typeof value]\n : undefined;\n}\n\nfunction getObjectProperty(value: unknown, key: string): unknown {\n return typeof value === \"object\" && value !== null && key in value\n ? value[key as keyof typeof value]\n : undefined;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA0LO,IAAM,qBAAN,MAAM,4BAA2B,MAAM;AAAA,EACnC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAET,YACE,SACA,SAOA;AACA,UAAM,OAAO;AACb,SAAK,OAAO;AACZ,SAAK,SAAS,QAAQ;AACtB,SAAK,SAAS,QAAQ;AACtB,SAAK,UAAU,QAAQ;AACvB,SAAK,OAAO,QAAQ;AACpB,SAAK,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AW;AAAA,EAC3B;AAEA,SAAO,IAAI,SAAS,IAAI,kBAAkB,EAAE,KAAK,GAAG,CAAC;AACvD;AAEA,SAAS,mBAAmB,YAA8B;AACxD,MAAI,eAAe,MAAM;AACvB,WAAO,CAAC,OAAO,UAAU;AAAA,EAC3B;AAEA,QAAM,CAAC,OAAO,OAAO,IAAI,WAAW,MAAM,GAAG;AAC7C,MAAI,CAAC,SAAS,CAAC,SAAS;AACtB,UAAM,IAAI,MAAM,kCAAkC,UAAU,EAAE;AAAA,EAChE;AAEA,SAAO,CAAC,QAAQ,OAAO,OAAO;AAChC;AAEA,eAAe,UAAU,UAAsC;AAC7D,MAAI,SAAS,WAAW,KAAK;AAC3B,WAAO;AAAA,EACT;AAEA,QAAM,OAAO,MAAM,SAAS,KAAK;AACjC,MAAI,CAAC,MAAM;AACT,WAAO;AAAA,EACT;AAEA,MAAI;AACF,WAAO,KAAK,MAAM,IAAI;AAAA,EACxB,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAEA,SAAS,gBAAgB,MAAe,QAAwB;AAC9D,SACE,kBAAkB,MAAM,SAAS,KACjC,6CAA6C,MAAM;AAEvD;AAEA,SAAS,kBAAkB,OAAgB,KAAiC;AAC1E,SAAO,OAAO,UAAU,YACtB,UAAU,QACV,OAAO,SACP,OAAO,MAAM,GAAyB,MAAM,WAC1C,MAAM,GAAyB,IAC/B;AACN;AAEA,SAAS,kBAAkB,OAAgB,KAAsB;AAC/D,SAAO,OAAO,UAAU,YAAY,UAAU,QAAQ,OAAO,QACzD,MAAM,GAAyB,IAC/B;AACN;","names":[]}
@@ -0,0 +1,133 @@
1
+ type ResourceScope = "namespaced" | "cluster";
2
+ interface ResponseSchema<T> {
3
+ parse(value: unknown): T;
4
+ }
5
+ type HeaderSource = Record<string, string> | (() => Record<string, string> | Promise<Record<string, string>>);
6
+ interface BearerAuth {
7
+ type: "bearer";
8
+ token: string | (() => string | Promise<string>);
9
+ }
10
+ interface ClientOptions {
11
+ baseUrl: string;
12
+ auth?: BearerAuth;
13
+ headers?: HeaderSource;
14
+ fetch?: typeof fetch;
15
+ }
16
+ interface RequestOptions<TResponse> {
17
+ method?: string;
18
+ path: string;
19
+ query?: Record<string, string | number | boolean | undefined>;
20
+ body?: unknown;
21
+ headers?: Record<string, string>;
22
+ signal?: AbortSignal;
23
+ schema?: ResponseSchema<TResponse>;
24
+ }
25
+ interface KubernetesClient {
26
+ request<TResponse>(options: RequestOptions<TResponse>): Promise<TResponse>;
27
+ }
28
+ type PatchType = "merge" | "json" | "apply";
29
+ interface ResourceDefinition {
30
+ apiVersion: string;
31
+ plural: string;
32
+ namespaced: boolean;
33
+ }
34
+ interface VerbOptions {
35
+ get: unknown;
36
+ list: unknown;
37
+ create: unknown;
38
+ update: unknown;
39
+ patch: unknown;
40
+ delete: unknown;
41
+ }
42
+ type DefaultVerbOptions = {
43
+ [K in keyof VerbOptions]: {};
44
+ };
45
+ type NamespacedOptions = {
46
+ namespace: string;
47
+ };
48
+ type ClusterOptions = {
49
+ namespace?: never;
50
+ };
51
+ type ScopedOptions<TScope extends ResourceScope> = TScope extends "namespaced" ? NamespacedOptions : ClusterOptions;
52
+ type GetOptions<TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
53
+ name: string;
54
+ signal?: AbortSignal;
55
+ } & TVerbOptions["get"];
56
+ type ListResourceOptions<TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
57
+ signal?: AbortSignal;
58
+ } & TVerbOptions["list"];
59
+ type SubresourceListOptions<TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
60
+ name: string;
61
+ signal?: AbortSignal;
62
+ } & TVerbOptions["list"];
63
+ type CreateOptions<TResource, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
64
+ body: TResource;
65
+ signal?: AbortSignal;
66
+ } & TVerbOptions["create"];
67
+ type SubresourceCreateOptions<TResource, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
68
+ name: string;
69
+ body: TResource;
70
+ signal?: AbortSignal;
71
+ } & TVerbOptions["create"];
72
+ type UpdateOptions<TResource, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
73
+ name: string;
74
+ body: TResource;
75
+ signal?: AbortSignal;
76
+ } & TVerbOptions["update"];
77
+ type PatchOptions<TPatch, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
78
+ name: string;
79
+ type: PatchType;
80
+ body: TPatch;
81
+ signal?: AbortSignal;
82
+ } & TVerbOptions["patch"];
83
+ type DeleteOptions<TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
84
+ name: string;
85
+ signal?: AbortSignal;
86
+ } & TVerbOptions["delete"];
87
+ type QueryParamValue = string | number | boolean | undefined;
88
+ type QueryMapper<TVerbOptions extends VerbOptions> = {
89
+ get?(options: TVerbOptions["get"]): Record<string, QueryParamValue>;
90
+ list?(options: TVerbOptions["list"]): Record<string, QueryParamValue>;
91
+ create?(options: TVerbOptions["create"]): Record<string, QueryParamValue>;
92
+ update?(options: TVerbOptions["update"]): Record<string, QueryParamValue>;
93
+ patch?(options: TVerbOptions["patch"]): Record<string, QueryParamValue>;
94
+ delete?(options: TVerbOptions["delete"]): Record<string, QueryParamValue>;
95
+ };
96
+ interface ResourceClient<TResource, TList, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> {
97
+ get(options: GetOptions<TScope, TVerbOptions>): Promise<TResource>;
98
+ list(options: ListResourceOptions<TScope, TVerbOptions>): Promise<TList>;
99
+ create(options: CreateOptions<TResource, TScope, TVerbOptions>): Promise<TResource>;
100
+ update(options: UpdateOptions<TResource, TScope, TVerbOptions>): Promise<TResource>;
101
+ patch<TPatch = Partial<TResource>>(options: PatchOptions<TPatch, TScope, TVerbOptions>): Promise<TResource>;
102
+ delete(options: DeleteOptions<TScope, TVerbOptions>): Promise<TResource>;
103
+ subresource(name: string): SubresourceClient<TResource, TResource, TScope, TVerbOptions>;
104
+ }
105
+ interface SubresourceClient<TResource, TList, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> {
106
+ get(options: GetOptions<TScope, TVerbOptions>): Promise<TResource>;
107
+ list(options: SubresourceListOptions<TScope, TVerbOptions>): Promise<TList>;
108
+ create(options: SubresourceCreateOptions<TResource, TScope, TVerbOptions>): Promise<TResource>;
109
+ update(options: UpdateOptions<TResource, TScope, TVerbOptions>): Promise<TResource>;
110
+ patch<TPatch = Partial<TResource>>(options: PatchOptions<TPatch, TScope, TVerbOptions>): Promise<TResource>;
111
+ delete(options: DeleteOptions<TScope, TVerbOptions>): Promise<TResource>;
112
+ subresource(name: string): SubresourceClient<TResource, TResource, TScope, TVerbOptions>;
113
+ }
114
+ declare class KubernetesApiError extends Error {
115
+ readonly status: number;
116
+ readonly reason?: string;
117
+ readonly details?: unknown;
118
+ readonly body?: unknown;
119
+ readonly headers: Headers;
120
+ constructor(message: string, options: {
121
+ status: number;
122
+ reason?: string;
123
+ details?: unknown;
124
+ body?: unknown;
125
+ headers?: Headers;
126
+ });
127
+ static isNotFound(error: unknown): error is KubernetesApiError;
128
+ }
129
+ declare function createClient(options: ClientOptions): KubernetesClient;
130
+ declare function createResourceClient<TResource, TList, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions>(client: KubernetesClient, definition: ResourceDefinition, schema?: ResponseSchema<TResource>, listSchema?: ResponseSchema<TList>, subresource?: string, queryMapper?: QueryMapper<TVerbOptions>): ResourceClient<TResource, TList, TScope, TVerbOptions>;
131
+ declare function createSubresourceClient<TResource, TList, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions>(client: KubernetesClient, definition: ResourceDefinition, schema?: ResponseSchema<TResource>, listSchema?: ResponseSchema<TList>, subresource?: string, queryMapper?: QueryMapper<TVerbOptions>): SubresourceClient<TResource, TList, TScope, TVerbOptions>;
132
+
133
+ export { type BearerAuth, type ClientOptions, type ClusterOptions, type CreateOptions, type DefaultVerbOptions, type DeleteOptions, type GetOptions, type HeaderSource, KubernetesApiError, type KubernetesClient, type ListResourceOptions, type NamespacedOptions, type PatchOptions, type PatchType, type QueryMapper, type RequestOptions, type ResourceClient, type ResourceDefinition, type ResourceScope, type ResponseSchema, type ScopedOptions, type SubresourceClient, type SubresourceCreateOptions, type SubresourceListOptions, type UpdateOptions, type VerbOptions, createClient, createResourceClient, createSubresourceClient };
package/dist/index.d.ts CHANGED
@@ -56,10 +56,19 @@ export type GetOptions<TScope extends ResourceScope, TVerbOptions extends VerbOp
56
56
  export type ListResourceOptions<TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
57
57
  signal?: AbortSignal;
58
58
  } & TVerbOptions["list"];
59
+ export type SubresourceListOptions<TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
60
+ name: string;
61
+ signal?: AbortSignal;
62
+ } & TVerbOptions["list"];
59
63
  export type CreateOptions<TResource, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
60
64
  body: TResource;
61
65
  signal?: AbortSignal;
62
66
  } & TVerbOptions["create"];
67
+ export type SubresourceCreateOptions<TResource, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
68
+ name: string;
69
+ body: TResource;
70
+ signal?: AbortSignal;
71
+ } & TVerbOptions["create"];
63
72
  export type UpdateOptions<TResource, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> = ScopedOptions<TScope> & {
64
73
  name: string;
65
74
  body: TResource;
@@ -91,7 +100,16 @@ export interface ResourceClient<TResource, TList, TScope extends ResourceScope,
91
100
  update(options: UpdateOptions<TResource, TScope, TVerbOptions>): Promise<TResource>;
92
101
  patch<TPatch = Partial<TResource>>(options: PatchOptions<TPatch, TScope, TVerbOptions>): Promise<TResource>;
93
102
  delete(options: DeleteOptions<TScope, TVerbOptions>): Promise<TResource>;
94
- subresource(name: string): ResourceClient<TResource, TResource, TScope, TVerbOptions>;
103
+ subresource(name: string): SubresourceClient<TResource, TResource, TScope, TVerbOptions>;
104
+ }
105
+ export interface SubresourceClient<TResource, TList, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions> {
106
+ get(options: GetOptions<TScope, TVerbOptions>): Promise<TResource>;
107
+ list(options: SubresourceListOptions<TScope, TVerbOptions>): Promise<TList>;
108
+ create(options: SubresourceCreateOptions<TResource, TScope, TVerbOptions>): Promise<TResource>;
109
+ update(options: UpdateOptions<TResource, TScope, TVerbOptions>): Promise<TResource>;
110
+ patch<TPatch = Partial<TResource>>(options: PatchOptions<TPatch, TScope, TVerbOptions>): Promise<TResource>;
111
+ delete(options: DeleteOptions<TScope, TVerbOptions>): Promise<TResource>;
112
+ subresource(name: string): SubresourceClient<TResource, TResource, TScope, TVerbOptions>;
95
113
  }
96
114
  export declare class KubernetesApiError extends Error {
97
115
  readonly status: number;
@@ -110,5 +128,6 @@ export declare class KubernetesApiError extends Error {
110
128
  }
111
129
  export declare function createClient(options: ClientOptions): KubernetesClient;
112
130
  export declare function createResourceClient<TResource, TList, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions>(client: KubernetesClient, definition: ResourceDefinition, schema?: ResponseSchema<TResource>, listSchema?: ResponseSchema<TList>, subresource?: string, queryMapper?: QueryMapper<TVerbOptions>): ResourceClient<TResource, TList, TScope, TVerbOptions>;
131
+ export declare function createSubresourceClient<TResource, TList, TScope extends ResourceScope, TVerbOptions extends VerbOptions = DefaultVerbOptions>(client: KubernetesClient, definition: ResourceDefinition, schema?: ResponseSchema<TResource>, listSchema?: ResponseSchema<TList>, subresource?: string, queryMapper?: QueryMapper<TVerbOptions>): SubresourceClient<TResource, TList, TScope, TVerbOptions>;
113
132
  export {};
114
133
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,YAAY,GAAG,SAAS,CAAC;AAErD,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,CAAC,CAAC;CAC1B;AAED,MAAM,MAAM,YAAY,GACpB,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACtB,CAAC,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;AAErE,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC;CAClD;AAED,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,KAAK,CAAC;CACtB;AAED,MAAM,WAAW,cAAc,CAAC,SAAS;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc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O,CAAC;KACnB;IAWH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,kBAAkB;CAG/D;AAED,wBAAgB,YAAY,CAAC,OAAO,EAAE,aAAa,GAAG,gBAAgB,CAkDrE;AAED,wBAAgB,oBAAoB,CAClC,SAAS,EACT,KAAK,EACL,MAAM,SAAS,aAAa,EAC5B,YAAY,SAAS,WAAW,GAAG,kBAAkB,EAErD,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,kBAAkB,EAC9B,MAAM,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,EAClC,UAAU,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,EAClC,WAAW,CAAC,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,GACtC,cAAc,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,CAkExD;AAED,wBAAgB,uBAAuB,CACrC,SAAS,EACT,KAAK,EACL,MAAM,SAAS,aAAa,EAC5B,YAAY,SAAS,WAAW,GAAG,kBAAkB,EAErD,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,kBAAkB,EAC9B,MAAM,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,EAClC,UAAU,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,EAClC,WAAW,CAAC,EAAE,MAAM,EACpB,WAAW,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,GACtC,iBAAiB,CAAC,SAAS,EAAE,KAAK,EAAE,MAAM,EAAE,YAAY,CAAC,CAkE3D"}
package/dist/index.js CHANGED
@@ -105,7 +105,60 @@ export function createResourceClient(client, definition, schema, listSchema, sub
105
105
  signal: options.signal,
106
106
  schema,
107
107
  }),
108
- subresource: (name) => createResourceClient(client, definition, schema, schema, name, queryMapper),
108
+ subresource: (name) => createSubresourceClient(client, definition, schema, schema, name, queryMapper),
109
+ };
110
+ }
111
+ export function createSubresourceClient(client, definition, schema, listSchema, subresource, queryMapper) {
112
+ return {
113
+ get: (options) => client.request({
114
+ path: resourcePath(definition, options, options.name, subresource),
115
+ query: queryMapper?.get?.(options),
116
+ signal: options.signal,
117
+ schema,
118
+ }),
119
+ list: (options) => client.request({
120
+ path: resourcePath(definition, options, options.name, subresource),
121
+ query: queryMapper?.list?.(options),
122
+ signal: options.signal,
123
+ schema: listSchema,
124
+ }),
125
+ create: (options) => client.request({
126
+ method: "POST",
127
+ path: resourcePath(definition, options, options.name, subresource),
128
+ query: queryMapper?.create?.(options),
129
+ body: options.body,
130
+ headers: jsonHeaders(),
131
+ signal: options.signal,
132
+ schema,
133
+ }),
134
+ update: (options) => client.request({
135
+ method: "PUT",
136
+ path: resourcePath(definition, options, options.name, subresource),
137
+ query: queryMapper?.update?.(options),
138
+ body: options.body,
139
+ headers: jsonHeaders(),
140
+ signal: options.signal,
141
+ schema,
142
+ }),
143
+ patch: (options) => client.request({
144
+ method: "PATCH",
145
+ path: resourcePath(definition, options, options.name, subresource),
146
+ query: queryMapper?.patch?.(options),
147
+ body: options.body,
148
+ headers: {
149
+ "content-type": patchContentType(options.type),
150
+ },
151
+ signal: options.signal,
152
+ schema,
153
+ }),
154
+ delete: (options) => client.request({
155
+ method: "DELETE",
156
+ path: resourcePath(definition, options, options.name, subresource),
157
+ query: queryMapper?.delete?.(options),
158
+ signal: options.signal,
159
+ schema,
160
+ }),
161
+ subresource: (name) => createSubresourceClient(client, definition, schema, schema, name, queryMapper),
109
162
  };
110
163
  }
111
164
  async function resolveHeaders(options, requestHeaders) {
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAoJA,MAAM,OAAO,kBAAmB,SAAQ,KAAK;IAClC,MAAM,CAAS;IACf,MAAM,CAAU;IAChB,OAAO,CAAW;IAClB,IAAI,CAAW;IACf,OAAO,CAAU;IAE1B,YACE,OAAe,EACf,OAMC;QAED,KAAK,CAAC,OAAO,C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CAAC;QACV,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,CAAC;IACd,CAAC;AACH,CAAC;AAED,SAAS,eAAe,CAAC,IAAa,EAAE,MAAc;IACpD,OAAO,CACL,iBAAiB,CAAC,IAAI,EAAE,SAAS,CAAC;QAClC,6CAA6C,MAAM,GAAG,CACvD,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAc,EAAE,GAAW;IACpD,OAAO,OAAO,KAAK,KAAK,QAAQ;QAC9B,KAAK,KAAK,IAAI;QACd,GAAG,IAAI,KAAK;QACZ,OAAO,KAAK,CAAC,GAAyB,CAAC,KAAK,QAAQ;QACpD,CAAC,CAAC,KAAK,CAAC,GAAyB,CAAC;QAClC,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAc,EAAE,GAAW;IACpD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,GAAG,IAAI,KAAK;QAChE,CAAC,CAAC,KAAK,CAAC,GAAyB,CAAC;QAClC,CAAC,CAAC,SAAS,CAAC;AAChB,CAAC"}
@@ -1 +1 @@
1
- {"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/index.d.ts"],"fileIdsList":[[66,111,112,114,131,132],[66,113,114,131,132],[114,131,132],[66,114,119,131,132,149],[66,114,115,120,125,131,132,134,146,157],[66,114,115,116,125,131,132,134],[66,114,131,132],[61,62,63,66,114,131,132],[66,114,117,131,132,158],[66,114,118,119,126,131,132,135],[66,114,119,131,132,146,154],[66,114,120,122,125,131,132,134],[66,113,114,121,131,132],[66,114,122,123,131,132],[66,114,124,125,131,132],[66,113,114,125,131,132],[66,114,125,126,127,131,132,146,157],[66,114,125,126,127,131,132,141,146,149],[66,107,114,122,125,128,131,132,134,146,157],[66,114,125,126,128,129,131,132,134,146,154,157],[66,114,128,130,131,132,146,154,157],[64,65,66,67,68,69,70,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],[66,114,125,131,132],[66,114,131,132,133,157],[66,114,122,125,131,132,134,146],[66,114,131,132,135],[66,114,131,132,136],[66,113,114,131,132,137],[66,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],[66,114,131,132,139],[66,114,131,132,140],[66,114,125,131,132,141,142],[66,114,131,132,141,143,158,160],[66,114,126,131,132],[66,114,125,131,132,146,147,149],[66,114,131,132,148,149],[66,114,131,132,146,147],[66,114,131,132,149],[66,114,131,132,150],[66,111,114,131,132,146,151,157],[66,114,125,131,132,152,153],[66,114,131,132,152,153],[66,114,119,131,132,134,146,154],[66,114,131,132,155],[66,114,131,132,134,156],[66,114,128,131,132,140,157],[66,114,119,131,132,158],[66,114,131,132,146,159],[66,114,131,132,133,160],[66,114,131,132,161],[66,107,114,131,132],[66,107,114,125,127,131,132,137,146,149,157,159,160,162],[66,114,131,132,146,163],[66,79,83,114,131,132,157],[66,79,114,131,132,146,157],[66,74,114,131,132],[66,76,79,114,131,132,154,157],[66,114,131,132,134,154],[66,114,131,132,164],[66,74,114,131,132,164],[66,76,79,114,131,132,134,157],[66,71,72,75,78,114,125,131,132,146,157],[66,79,86,114,131,132],[66,71,77,114,131,132],[66,79,100,101,114,131,132],[66,75,79,114,131,132,149,157,164],[66,100,114,131,132,164],[66,73,74,114,131,132,164],[66,79,114,131,132],[66,73,74,75,76,77,78,79,80,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,101,102,103,104,105,106,114,131,132],[66,79,94,114,131,132],[66,79,86,87,114,131,132],[66,77,79,87,88,114,131,132],[66,78,114,131,132],[66,71,74,79,114,131,132],[66,79,83,87,88,114,131,132],[66,83,114,131,132],[66,77,79,82,114,131,132,157],[66,71,76,79,86,114,131,132],[66,114,131,132,146],[66,74,79,100,114,131,132,162,164]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"27615d2ee8902cd8c8633a0448050e1a751f72ca449f2c10e57688c432a4591c","signature":"4e6885f6d82a19dbac875229f387f96b8c44fe4c8aa1c45c19466ad591913771","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c906fb15bd2aabc9ed1e3f44eb6a8661199d6c320b3aa196b826121552cb3695","impliedFormat":1},{"version":"22295e8103f1d6d8ea4b5d6211e43421fe4564e34d0dd8e09e520e452d89e659","impliedFormat":1},{"version":"58647d85d0f722a1ce9de50955df60a7489f0593bf1a7015521efe901c06d770","impliedFormat":1},{"version":"6b4e081d55ac24fc8a4631d5dd77fe249fa25900abd7d046abb87d90e3b45645","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"a3fc63c0d7b031693f665f5494412ba4b551fe644ededccc0ab5922401079c95","impliedFormat":1},{"version":"80523c00b8544a2000ae0143e4a90a00b47f99823eb7926c1e03c494216fc363","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"746911b62b329587939560deb5c036aca48aece03147b021fa680223255d5183","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"c8d3e5a18ba35629954e48c4cc8f11dc88224650067a172685c736b27a34a4dc","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2b55d426ff2b9087485e52ac4bc7cfafe1dc420fc76dad926cd46526567c501a","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"47613031a5a31510831304405af561b0ffaedb734437c595256bb61a90f9311b","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"8a1a0d0a4a06a8d278947fcb66bf684f117bf147f89b06e50662d79a53be3e9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"358765d5ea8afd285d4fd1532e78b88273f18cb3f87403a9b16fef61ac9fdcfe","impliedFormat":1},{"version":"9f55299850d4f0921e79b6bf344b47c420ce0f507b9dcf593e532b09ea7eeea1","impliedFormat":1}],"root":[60],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[111,1],[112,1],[113,2],[66,3],[114,4],[115,5],[116,6],[61,7],[64,8],[62,7],[63,7],[117,9],[118,10],[119,11],[120,12],[121,13],[122,14],[123,14],[124,15],[125,16],[126,17],[127,18],[67,7],[65,7],[128,19],[129,20],[130,21],[164,22],[131,23],[132,7],[133,24],[134,25],[135,26],[136,27],[137,28],[138,29],[139,30],[140,31],[141,32],[142,32],[143,33],[144,7],[145,34],[146,35],[148,36],[147,37],[149,38],[150,39],[151,40],[152,41],[153,42],[154,43],[155,44],[156,45],[157,46],[158,47],[159,48],[160,49],[161,50],[68,7],[69,7],[70,7],[108,51],[109,7],[110,7],[162,52],[163,53],[58,7],[59,7],[10,7],[11,7],[13,7],[12,7],[2,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[20,7],[21,7],[3,7],[22,7],[23,7],[4,7],[24,7],[28,7],[25,7],[26,7],[27,7],[29,7],[30,7],[31,7],[5,7],[32,7],[33,7],[34,7],[35,7],[6,7],[39,7],[36,7],[37,7],[38,7],[40,7],[7,7],[41,7],[46,7],[47,7],[42,7],[43,7],[44,7],[45,7],[8,7],[51,7],[48,7],[49,7],[50,7],[52,7],[9,7],[53,7],[54,7],[55,7],[57,7],[56,7],[1,7],[86,54],[96,55],[85,54],[106,56],[77,57],[76,58],[105,59],[99,60],[104,61],[79,62],[93,63],[78,64],[102,65],[74,66],[73,59],[103,67],[75,68],[80,69],[81,7],[84,69],[71,7],[107,70],[97,71],[88,72],[89,73],[91,74],[87,75],[90,76],[100,59],[82,77],[83,78],[92,79],[72,80],[95,71],[94,69],[98,7],[101,81],[60,7]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/index.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/disposable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/indexable.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/iterators.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/compatibility/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/globals.typedarray.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/buffer.buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/domexception.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/events.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/fetch.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/navigator.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/web-globals/storage.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/inspector.generated.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/sqlite.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@22.19.17/node_modules/@types/node/index.d.ts"],"fileIdsList":[[66,111,112,114,131,132],[66,113,114,131,132],[114,131,132],[66,114,119,131,132,149],[66,114,115,120,125,131,132,134,146,157],[66,114,115,116,125,131,132,134],[66,114,131,132],[61,62,63,66,114,131,132],[66,114,117,131,132,158],[66,114,118,119,126,131,132,135],[66,114,119,131,132,146,154],[66,114,120,122,125,131,132,134],[66,113,114,121,131,132],[66,114,122,123,131,132],[66,114,124,125,131,132],[66,113,114,125,131,132],[66,114,125,126,127,131,132,146,157],[66,114,125,126,127,131,132,141,146,149],[66,107,114,122,125,128,131,132,134,146,157],[66,114,125,126,128,129,131,132,134,146,154,157],[66,114,128,130,131,132,146,154,157],[64,65,66,67,68,69,70,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],[66,114,125,131,132],[66,114,131,132,133,157],[66,114,122,125,131,132,134,146],[66,114,131,132,135],[66,114,131,132,136],[66,113,114,131,132,137],[66,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],[66,114,131,132,139],[66,114,131,132,140],[66,114,125,131,132,141,142],[66,114,131,132,141,143,158,160],[66,114,126,131,132],[66,114,125,131,132,146,147,149],[66,114,131,132,148,149],[66,114,131,132,146,147],[66,114,131,132,149],[66,114,131,132,150],[66,111,114,131,132,146,151,157],[66,114,125,131,132,152,153],[66,114,131,132,152,153],[66,114,119,131,132,134,146,154],[66,114,131,132,155],[66,114,131,132,134,156],[66,114,128,131,132,140,157],[66,114,119,131,132,158],[66,114,131,132,146,159],[66,114,131,132,133,160],[66,114,131,132,161],[66,107,114,131,132],[66,107,114,125,127,131,132,137,146,149,157,159,160,162],[66,114,131,132,146,163],[66,79,83,114,131,132,157],[66,79,114,131,132,146,157],[66,74,114,131,132],[66,76,79,114,131,132,154,157],[66,114,131,132,134,154],[66,114,131,132,164],[66,74,114,131,132,164],[66,76,79,114,131,132,134,157],[66,71,72,75,78,114,125,131,132,146,157],[66,79,86,114,131,132],[66,71,77,114,131,132],[66,79,100,101,114,131,132],[66,75,79,114,131,132,149,157,164],[66,100,114,131,132,164],[66,73,74,114,131,132,164],[66,79,114,131,132],[66,73,74,75,76,77,78,79,80,81,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,101,102,103,104,105,106,114,131,132],[66,79,94,114,131,132],[66,79,86,87,114,131,132],[66,77,79,87,88,114,131,132],[66,78,114,131,132],[66,71,74,79,114,131,132],[66,79,83,87,88,114,131,132],[66,83,114,131,132],[66,77,79,82,114,131,132,157],[66,71,76,79,86,114,131,132],[66,114,131,132,146],[66,74,79,100,114,131,132,162,164]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"d60cd216644883b4d9e652bf628d4d7bd6bd849d5482608f2e61da78060b5283","signature":"fd69d597b7b978816fdedaa5b3e94813221d20d0866c360960d5cedfca3d8181","impliedFormat":99},{"version":"6c7176368037af28cb72f2392010fa1cef295d6d6744bca8cfb54985f3a18c3e","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true,"impliedFormat":1},{"version":"437e20f2ba32abaeb7985e0afe0002de1917bc74e949ba585e49feba65da6ca1","affectsGlobalScope":true,"impliedFormat":1},{"version":"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a","impliedFormat":1},{"version":"98cffbf06d6bab333473c70a893770dbe990783904002c4f1a960447b4b53dca","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"808069bba06b6768b62fd22429b53362e7af342da4a236ed2d2e1c89fcca3b4a","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","impliedFormat":1},{"version":"78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","impliedFormat":1},{"version":"5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","impliedFormat":1},{"version":"7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","impliedFormat":1},{"version":"11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","impliedFormat":1},{"version":"ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","impliedFormat":1},{"version":"24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","impliedFormat":1},{"version":"dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","impliedFormat":1},{"version":"405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","impliedFormat":1},{"version":"bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","impliedFormat":1},{"version":"a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","impliedFormat":1},{"version":"8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","impliedFormat":1},{"version":"317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","impliedFormat":1},{"version":"4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107","impliedFormat":1},{"version":"b52476feb4a0cbcb25e5931b930fc73cb6643fb1a5060bf8a3dda0eeae5b4b68","affectsGlobalScope":true,"impliedFormat":1},{"version":"f9501cc13ce624c72b61f12b3963e84fad210fbdf0ffbc4590e08460a3f04eba","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"0fa06ada475b910e2106c98c68b10483dc8811d0c14a8a8dd36efb2672485b29","impliedFormat":1},{"version":"33e5e9aba62c3193d10d1d33ae1fa75c46a1171cf76fef750777377d53b0303f","impliedFormat":1},{"version":"2b06b93fd01bcd49d1a6bd1f9b65ddcae6480b9a86e9061634d6f8e354c1468f","impliedFormat":1},{"version":"6a0cd27e5dc2cfbe039e731cf879d12b0e2dded06d1b1dedad07f7712de0d7f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f5c844119c43e51ce777c509267f14d6aaf31eafb2c2b002ca35584cd13b29","impliedFormat":1},{"version":"e60477649d6ad21542bd2dc7e3d9ff6853d0797ba9f689ba2f6653818999c264","impliedFormat":1},{"version":"c2510f124c0293ab80b1777c44d80f812b75612f297b9857406468c0f4dafe29","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"4c829ab315f57c5442c6667b53769975acbf92003a66aef19bce151987675bd1","affectsGlobalScope":true,"impliedFormat":1},{"version":"b2ade7657e2db96d18315694789eff2ddd3d8aea7215b181f8a0b303277cc579","impliedFormat":1},{"version":"9855e02d837744303391e5623a531734443a5f8e6e8755e018c41d63ad797db2","impliedFormat":1},{"version":"4d631b81fa2f07a0e63a9a143d6a82c25c5f051298651a9b69176ba28930756d","impliedFormat":1},{"version":"836a356aae992ff3c28a0212e3eabcb76dd4b0cc06bcb9607aeef560661b860d","impliedFormat":1},{"version":"1e0d1f8b0adfa0b0330e028c7941b5a98c08b600efe7f14d2d2a00854fb2f393","impliedFormat":1},{"version":"41670ee38943d9cbb4924e436f56fc19ee94232bc96108562de1a734af20dc2c","affectsGlobalScope":true,"impliedFormat":1},{"version":"c906fb15bd2aabc9ed1e3f44eb6a8661199d6c320b3aa196b826121552cb3695","impliedFormat":1},{"version":"22295e8103f1d6d8ea4b5d6211e43421fe4564e34d0dd8e09e520e452d89e659","impliedFormat":1},{"version":"58647d85d0f722a1ce9de50955df60a7489f0593bf1a7015521efe901c06d770","impliedFormat":1},{"version":"6b4e081d55ac24fc8a4631d5dd77fe249fa25900abd7d046abb87d90e3b45645","impliedFormat":1},{"version":"a10f0e1854f3316d7ee437b79649e5a6ae3ae14ffe6322b02d4987071a95362e","impliedFormat":1},{"version":"e208f73ef6a980104304b0d2ca5f6bf1b85de6009d2c7e404028b875020fa8f2","impliedFormat":1},{"version":"d163b6bc2372b4f07260747cbc6c0a6405ab3fbcea3852305e98ac43ca59f5bc","impliedFormat":1},{"version":"e6fa9ad47c5f71ff733744a029d1dc472c618de53804eae08ffc243b936f87ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"a6f137d651076822d4fe884287e68fd61785a0d3d1fdb250a5059b691fa897db","impliedFormat":1},{"version":"24826ed94a78d5c64bd857570fdbd96229ad41b5cb654c08d75a9845e3ab7dde","impliedFormat":1},{"version":"8b479a130ccb62e98f11f136d3ac80f2984fdc07616516d29881f3061f2dd472","impliedFormat":1},{"version":"928af3d90454bf656a52a48679f199f64c1435247d6189d1caf4c68f2eaf921f","affectsGlobalScope":true,"impliedFormat":1},{"version":"bceb58df66ab8fb00170df20cd813978c5ab84be1d285710c4eb005d8e9d8efb","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f16a7e4deafa527ed9995a772bb380eb7d3c2c0fd4ae178c5263ed18394db2c","impliedFormat":1},{"version":"933921f0bb0ec12ef45d1062a1fc0f27635318f4d294e4d99de9a5493e618ca2","impliedFormat":1},{"version":"71a0f3ad612c123b57239a7749770017ecfe6b66411488000aba83e4546fde25","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"4f9d8ca0c417b67b69eeb54c7ca1bedd7b56034bb9bfd27c5d4f3bc4692daca7","impliedFormat":1},{"version":"814118df420c4e38fe5ae1b9a3bafb6e9c2aa40838e528cde908381867be6466","impliedFormat":1},{"version":"a3fc63c0d7b031693f665f5494412ba4b551fe644ededccc0ab5922401079c95","impliedFormat":1},{"version":"80523c00b8544a2000ae0143e4a90a00b47f99823eb7926c1e03c494216fc363","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"746911b62b329587939560deb5c036aca48aece03147b021fa680223255d5183","affectsGlobalScope":true,"impliedFormat":1},{"version":"18fd40412d102c5564136f29735e5d1c3b455b8a37f920da79561f1fde068208","impliedFormat":1},{"version":"c8d3e5a18ba35629954e48c4cc8f11dc88224650067a172685c736b27a34a4dc","impliedFormat":1},{"version":"f0be1b8078cd549d91f37c30c222c2a187ac1cf981d994fb476a1adc61387b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"0aaed1d72199b01234152f7a60046bc947f1f37d78d182e9ae09c4289e06a592","impliedFormat":1},{"version":"2b55d426ff2b9087485e52ac4bc7cfafe1dc420fc76dad926cd46526567c501a","impliedFormat":1},{"version":"66ba1b2c3e3a3644a1011cd530fb444a96b1b2dfe2f5e837a002d41a1a799e60","impliedFormat":1},{"version":"7e514f5b852fdbc166b539fdd1f4e9114f29911592a5eb10a94bb3a13ccac3c4","impliedFormat":1},{"version":"5b7aa3c4c1a5d81b411e8cb302b45507fea9358d3569196b27eb1a27ae3a90ef","affectsGlobalScope":true,"impliedFormat":1},{"version":"5987a903da92c7462e0b35704ce7da94d7fdc4b89a984871c0e2b87a8aae9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea08a0345023ade2b47fbff5a76d0d0ed8bff10bc9d22b83f40858a8e941501c","impliedFormat":1},{"version":"47613031a5a31510831304405af561b0ffaedb734437c595256bb61a90f9311b","impliedFormat":1},{"version":"ae062ce7d9510060c5d7e7952ae379224fb3f8f2dd74e88959878af2057c143b","impliedFormat":1},{"version":"8a1a0d0a4a06a8d278947fcb66bf684f117bf147f89b06e50662d79a53be3e9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"358765d5ea8afd285d4fd1532e78b88273f18cb3f87403a9b16fef61ac9fdcfe","impliedFormat":1},{"version":"9f55299850d4f0921e79b6bf344b47c420ce0f507b9dcf593e532b09ea7eeea1","impliedFormat":1}],"root":[60],"options":{"composite":true,"declaration":true,"declarationMap":true,"module":199,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./tsconfig.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[111,1],[112,1],[113,2],[66,3],[114,4],[115,5],[116,6],[61,7],[64,8],[62,7],[63,7],[117,9],[118,10],[119,11],[120,12],[121,13],[122,14],[123,14],[124,15],[125,16],[126,17],[127,18],[67,7],[65,7],[128,19],[129,20],[130,21],[164,22],[131,23],[132,7],[133,24],[134,25],[135,26],[136,27],[137,28],[138,29],[139,30],[140,31],[141,32],[142,32],[143,33],[144,7],[145,34],[146,35],[148,36],[147,37],[149,38],[150,39],[151,40],[152,41],[153,42],[154,43],[155,44],[156,45],[157,46],[158,47],[159,48],[160,49],[161,50],[68,7],[69,7],[70,7],[108,51],[109,7],[110,7],[162,52],[163,53],[58,7],[59,7],[10,7],[11,7],[13,7],[12,7],[2,7],[14,7],[15,7],[16,7],[17,7],[18,7],[19,7],[20,7],[21,7],[3,7],[22,7],[23,7],[4,7],[24,7],[28,7],[25,7],[26,7],[27,7],[29,7],[30,7],[31,7],[5,7],[32,7],[33,7],[34,7],[35,7],[6,7],[39,7],[36,7],[37,7],[38,7],[40,7],[7,7],[41,7],[46,7],[47,7],[42,7],[43,7],[44,7],[45,7],[8,7],[51,7],[48,7],[49,7],[50,7],[52,7],[9,7],[53,7],[54,7],[55,7],[57,7],[56,7],[1,7],[86,54],[96,55],[85,54],[106,56],[77,57],[76,58],[105,59],[99,60],[104,61],[79,62],[93,63],[78,64],[102,65],[74,66],[73,59],[103,67],[75,68],[80,69],[81,7],[84,69],[71,7],[107,70],[97,71],[88,72],[89,73],[91,74],[87,75],[90,76],[100,59],[82,77],[83,78],[92,79],[72,80],[95,71],[94,69],[98,7],[101,81],[60,7]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
package/package.json CHANGED
@@ -5,21 +5,25 @@
5
5
  "url": "https://github.com/RedbackThomson/kubernetes-client-typescript",
6
6
  "directory": "packages/runtime"
7
7
  },
8
- "version": "0.1.0-alpha.3",
8
+ "version": "0.1.0-alpha.4",
9
9
  "type": "module",
10
+ "main": "./dist/index.cjs",
11
+ "module": "./dist/index.js",
12
+ "types": "./dist/index.d.ts",
10
13
  "exports": {
11
14
  ".": {
12
15
  "types": "./dist/index.d.ts",
13
- "default": "./dist/index.js"
16
+ "import": "./dist/index.js",
17
+ "require": "./dist/index.cjs"
14
18
  }
15
19
  },
16
20
  "files": [
17
21
  "dist"
18
22
  ],
19
23
  "scripts": {
20
- "build": "tsc -b",
24
+ "build": "tsup",
21
25
  "check": "tsc -b --pretty false",
22
- "clean": "tsc -b --clean",
26
+ "clean": "rm -rf dist",
23
27
  "test": "vitest run --passWithNoTests"
24
28
  }
25
29
  }