encore.dev 1.43.12 → 1.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api/error.ts CHANGED
@@ -105,17 +105,9 @@ export class APIError extends Error {
105
105
  configurable: true
106
106
  });
107
107
 
108
- // fix the prototype chain
109
- if ((Object as any).setPrototypeOf == undefined) {
110
- (this as any).__proto__ = APIError.prototype;
111
- } else {
112
- Object.setPrototypeOf(this, APIError.prototype);
113
- }
114
-
115
- // capture a stack trace
116
- if ((Error as any).captureStackTrace !== undefined) {
117
- (Error as any).captureStackTrace(this, this.constructor);
118
- }
108
+ // Fix the prototype chain, capture stack trace.
109
+ Object.setPrototypeOf(this, APIError.prototype);
110
+ Error.captureStackTrace(this, this.constructor);
119
111
  }
120
112
  }
121
113
 
package/dist/api/error.js CHANGED
@@ -85,17 +85,9 @@ export class APIError extends Error {
85
85
  enumerable: false,
86
86
  configurable: true
87
87
  });
88
- // fix the prototype chain
89
- if (Object.setPrototypeOf == undefined) {
90
- this.__proto__ = APIError.prototype;
91
- }
92
- else {
93
- Object.setPrototypeOf(this, APIError.prototype);
94
- }
95
- // capture a stack trace
96
- if (Error.captureStackTrace !== undefined) {
97
- Error.captureStackTrace(this, this.constructor);
98
- }
88
+ // Fix the prototype chain, capture stack trace.
89
+ Object.setPrototypeOf(this, APIError.prototype);
90
+ Error.captureStackTrace(this, this.constructor);
99
91
  }
100
92
  }
101
93
  export var ErrCode;
@@ -1 +1 @@
1
- {"version":3,"file":"error.js","sourceRoot":"","sources":["../../api/error.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,QAAS,SAAQ,KAAK;IACjC;;OAEG;IACa,IAAI,CAAU;IACd,OAAO,CAAc;IAErC,uDAAuD;IACvD,MAAM,CAAC,QAAQ,CAAC,GAAW,EAAE,KAAa;QACxC,OAAO,IAAI,QAAQ,CAAC,OAAO,CAAC,QAAQ,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;IACpD,CAA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H,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE;YAClC,KAAK,EAAE,UAAU;YACjB,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,IAAI;SACnB,CAAC,CAAC;QAEH,gDAAgD;QAChD,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;QAChD,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;CACF;AAID,MAAM,CAAN,IAAY,OAiMX;AAjMD,WAAY,OAAO;IACjB;;OAEG;IACH,oBAAS,CAAA;IAET;;;;OAIG;IACH,gCAAqB,CAAA;IAErB;;;;;;;;OAQG;IACH,8BAAmB,CAAA;IAEnB;;;;;;;OAOG;IACH,+CAAoC,CAAA;IAEpC;;;;;;;;;OASG;IACH,iDAAsC,CAAA;IAEtC;;;;;OAKG;IACH,iCAAsB,CAAA;IAEtB;;;;;OAKG;IACH,2CAAgC,CAAA;IAEhC;;;;;;;;;;OAUG;IACH,iDAAsC,CAAA;IAEtC;;;;;;;OAOG;IACH,mDAAwC,CAAA;IAExC;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,qDAA0C,CAAA;IAE1C;;;;;;;OAOG;IACH,8BAAmB,CAAA;IAEnB;;;;;;;;;;;;;;;;;;OAkBG;IACH,sCAA2B,CAAA;IAE3B;;;;;;;;;OASG;IACH,0CAA+B,CAAA;IAE/B;;;;;;;OAOG;IACH,gCAAqB,CAAA;IAErB;;;;;;;;;;;OAWG;IACH,sCAA2B,CAAA;IAE3B;;;;OAIG;IACH,iCAAsB,CAAA;IAEtB;;;;;;;OAOG;IACH,8CAAmC,CAAA;AACrC,CAAC,EAjMW,OAAO,KAAP,OAAO,QAiMlB"}
@@ -1,5 +1,5 @@
1
1
  // The version of the runtime this JS bundle was generated for.
2
- const version = "v1.43.12";
2
+ const version = "v1.44.1";
3
3
 
4
4
  // Load the native module.
5
5
  const nativeModulePath = process.env.ENCORE_RUNTIME_LIB;
@@ -15,12 +15,18 @@ const {
15
15
  APICallError,
16
16
  ApiCallError,
17
17
  BodyReader,
18
+ Bucket,
19
+ BucketObject,
18
20
  CloudProvider,
19
21
  Cursor,
20
22
  EnvironmentType,
21
23
  Gateway,
24
+ ListEntry,
25
+ ListIterator,
22
26
  LogLevel,
23
27
  Logger,
28
+ ObjectAttrs,
29
+ ObjectErrorKind,
24
30
  PubSubSubscription,
25
31
  PubSubTopic,
26
32
  QueryArgs,
@@ -36,6 +42,7 @@ const {
36
42
  SqlConn,
37
43
  SqlDatabase,
38
44
  Stream,
45
+ TypedObjectError,
39
46
  WebSocketClient,
40
47
  } = nativeModule;
41
48
 
@@ -44,12 +51,18 @@ module.exports = {
44
51
  APICallError,
45
52
  ApiCallError,
46
53
  BodyReader,
54
+ Bucket,
55
+ BucketObject,
47
56
  CloudProvider,
48
57
  Cursor,
49
58
  EnvironmentType,
50
59
  Gateway,
60
+ ListEntry,
61
+ ListIterator,
51
62
  LogLevel,
52
63
  Logger,
64
+ ObjectAttrs,
65
+ ObjectErrorKind,
53
66
  PubSubSubscription,
54
67
  PubSubTopic,
55
68
  QueryArgs,
@@ -65,6 +78,7 @@ module.exports = {
65
78
  SqlConn,
66
79
  SqlDatabase,
67
80
  Stream,
81
+ TypedObjectError,
68
82
  WebSocketClient,
69
83
  };
70
84
 
@@ -42,11 +42,28 @@ export interface AppMeta {
42
42
  deploy: DeployMeta
43
43
  }
44
44
 
45
+ export interface AttrsOptions {
46
+ version?: string
47
+ }
48
+
45
49
  export class BodyReader {
46
50
  start(push: (...args: any[]) => any, destroy: (...args: any[]) => any): void
47
51
  read(): void
48
52
  }
49
53
 
54
+ export class Bucket {
55
+ object(name: string): BucketObject
56
+ list(options?: ListOptions | undefined | null, source?: Request | undefined | null): Promise<ListIterator | TypedObjectError>
57
+ }
58
+
59
+ export class BucketObject {
60
+ attrs(options?: AttrsOptions | undefined | null, source?: Request | undefined | null): Promise<ObjectAttrs | TypedObjectError>
61
+ exists(options?: ExistsOptions | undefined | null, source?: Request | undefined | null): Promise<boolean | TypedObjectError>
62
+ upload(data: Buffer, opts?: UploadOptions | undefined | null, source?: Request | undefined | null): Promise<ObjectAttrs | TypedObjectError>
63
+ downloadAll(options?: DownloadOptions | undefined | null, source?: Request | undefined | null): Promise<Buffer | TypedObjectError>
64
+ delete(options?: DeleteOptions | undefined | null, source?: Request | undefined | null): Promise<TypedObjectError | null>
65
+ }
66
+
50
67
  export interface BuildMeta {
51
68
  revision: string
52
69
  uncommittedChanges: boolean
@@ -64,11 +81,19 @@ export class Cursor {
64
81
  next(): Promise<Row | null>
65
82
  }
66
83
 
84
+ export interface DeleteOptions {
85
+ version?: string
86
+ }
87
+
67
88
  export interface DeployMeta {
68
89
  id: string
69
90
  deployTime: string
70
91
  }
71
92
 
93
+ export interface DownloadOptions {
94
+ version?: string
95
+ }
96
+
72
97
  export interface EnvironmentMeta {
73
98
  name: string
74
99
  type: EnvironmentType
@@ -82,12 +107,32 @@ export enum EnvironmentType {
82
107
  Test = 3
83
108
  }
84
109
 
110
+ export interface ExistsOptions {
111
+ version?: string
112
+ }
113
+
85
114
  export class Gateway {}
86
115
 
87
116
  export interface GatewayConfig {
88
117
  auth?: (...args: any[]) => any
89
118
  }
90
119
 
120
+ export class ListEntry {
121
+ name: string
122
+ size: number
123
+ etag: string
124
+ }
125
+
126
+ export class ListIterator {
127
+ next(): Promise<ListEntry | null>
128
+ markDone(): void
129
+ }
130
+
131
+ export interface ListOptions {
132
+ prefix?: string
133
+ limit?: number
134
+ }
135
+
91
136
  export enum LogLevel {
92
137
  Trace = 1,
93
138
  Debug = 2,
@@ -109,6 +154,21 @@ export class Logger {
109
154
  with(fields: Record<string, unknown>): this
110
155
  }
111
156
 
157
+ export class ObjectAttrs {
158
+ name: string
159
+ version?: string
160
+ size: number
161
+ contentType?: string
162
+ etag: string
163
+ }
164
+
165
+ export enum ObjectErrorKind {
166
+ NotFound = 0,
167
+ PreconditionFailed = 1,
168
+ Other = 2,
169
+ Internal = 3
170
+ }
171
+
112
172
  export interface PubSubMessageData {
113
173
  service: string
114
174
  topic: string
@@ -166,6 +226,7 @@ export class Runtime {
166
226
  runForever(): Promise<void>
167
227
  sqlDatabase(encoreName: string): SQLDatabase
168
228
  pubsubTopic(encoreName: string): PubSubTopic
229
+ bucket(encoreName: string): Bucket
169
230
  gateway(encoreName: string, cfg: GatewayConfig): Gateway
170
231
  /** Gets the root logger from the runtime */
171
232
  logger(): Logger
@@ -232,6 +293,20 @@ export interface TraceData {
232
293
  extCorrelationId?: string
233
294
  }
234
295
 
296
+ export class TypedObjectError {
297
+ kind: ObjectErrorKind
298
+ message: string
299
+ }
300
+
301
+ export interface UploadOptions {
302
+ contentType?: string
303
+ preconditions?: UploadPreconditions
304
+ }
305
+
306
+ export interface UploadPreconditions {
307
+ notExists?: boolean
308
+ }
309
+
235
310
  export class WebSocketClient {
236
311
  send(msg: unknown): void
237
312
  recv(): Promise<Record<string, any>>
@@ -0,0 +1,113 @@
1
+ /// <reference types="node" />
2
+ import * as runtime from "../../internal/runtime/mod.js";
3
+ import { StringLiteral } from "../../internal/utils/constraints.js";
4
+ export interface BucketConfig {
5
+ /**
6
+ * Whether to enable versioning of the objects in the bucket.
7
+ * Defaults to false if unset.
8
+ */
9
+ versioned?: boolean;
10
+ }
11
+ /**
12
+ * Defines a new Object Storage bucket infrastructure resource.
13
+ */
14
+ export declare class Bucket {
15
+ impl: runtime.Bucket;
16
+ /**
17
+ * Creates a new bucket with the given name and configuration
18
+ */
19
+ constructor(name: string, cfg?: BucketConfig);
20
+ /**
21
+ * Reference an existing bucket by name.
22
+ * To create a new storage bucket, use `new StorageBucket(...)` instead.
23
+ */
24
+ static named<name extends string>(name: StringLiteral<name>): Bucket;
25
+ list(options: ListOptions): AsyncGenerator<ListEntry>;
26
+ /**
27
+ * Returns whether the object exists in the bucket.
28
+ * Throws an error on network failure.
29
+ */
30
+ exists(name: string, options?: ExistsOptions): Promise<boolean>;
31
+ /**
32
+ * Returns the object's attributes.
33
+ * Throws an error if the object does not exist.
34
+ */
35
+ attrs(name: string, options?: AttrsOptions): Promise<ObjectAttrs>;
36
+ /**
37
+ * Uploads an object to the bucket.
38
+ */
39
+ upload(name: string, data: Buffer, options?: UploadOptions): Promise<ObjectAttrs>;
40
+ /**
41
+ * Downloads an object from the bucket and returns its contents.
42
+ */
43
+ download(name: string, options?: DownloadOptions): Promise<Buffer>;
44
+ /**
45
+ * Removes an object from the bucket.
46
+ * Throws an error on network failure.
47
+ */
48
+ remove(name: string, options?: DeleteOptions): Promise<void>;
49
+ }
50
+ export interface ListOptions {
51
+ /**
52
+ * Only include objects with this prefix in the listing.
53
+ * If unset, all objects are included.
54
+ */
55
+ prefix?: string;
56
+ /** Maximum number of objects to return. Defaults to no limit. */
57
+ limit?: number;
58
+ }
59
+ export interface AttrsOptions {
60
+ /**
61
+ * The object version to retrieve attributes for.
62
+ * Defaults to the lastest version if unset.
63
+ *
64
+ * If bucket versioning is not enabled, this option is ignored.
65
+ */
66
+ version?: string;
67
+ }
68
+ export interface ExistsOptions {
69
+ /**
70
+ * The object version to check for existence.
71
+ * Defaults to the lastest version if unset.
72
+ *
73
+ * If bucket versioning is not enabled, this option is ignored.
74
+ */
75
+ version?: string;
76
+ }
77
+ export interface DeleteOptions {
78
+ /**
79
+ * The object version to delete.
80
+ * Defaults to the lastest version if unset.
81
+ *
82
+ * If bucket versioning is not enabled, this option is ignored.
83
+ */
84
+ version?: string;
85
+ }
86
+ export interface DownloadOptions {
87
+ /**
88
+ * The object version to download.
89
+ * Defaults to the lastest version if unset.
90
+ *
91
+ * If bucket versioning is not enabled, this option is ignored.
92
+ */
93
+ version?: string;
94
+ }
95
+ export interface ObjectAttrs {
96
+ name: string;
97
+ size: number;
98
+ /** The version of the object, if bucket versioning is enabled. */
99
+ version?: string;
100
+ etag: string;
101
+ contentType?: string;
102
+ }
103
+ export interface ListEntry {
104
+ name: string;
105
+ size: number;
106
+ etag: string;
107
+ }
108
+ export interface UploadOptions {
109
+ contentType?: string;
110
+ preconditions?: {
111
+ notExists?: boolean;
112
+ };
113
+ }
@@ -0,0 +1,86 @@
1
+ import { getCurrentRequest } from "../../internal/reqtrack/mod.js";
2
+ import * as runtime from "../../internal/runtime/mod.js";
3
+ import { unwrapErr } from "./error.js";
4
+ /**
5
+ * Defines a new Object Storage bucket infrastructure resource.
6
+ */
7
+ export class Bucket {
8
+ impl;
9
+ /**
10
+ * Creates a new bucket with the given name and configuration
11
+ */
12
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
13
+ constructor(name, cfg) {
14
+ this.impl = runtime.RT.bucket(name);
15
+ }
16
+ /**
17
+ * Reference an existing bucket by name.
18
+ * To create a new storage bucket, use `new StorageBucket(...)` instead.
19
+ */
20
+ static named(name) {
21
+ return new Bucket(name, {});
22
+ }
23
+ async *list(options) {
24
+ const source = getCurrentRequest();
25
+ const iter = unwrapErr(await this.impl.list(options, source));
26
+ while (true) {
27
+ const entry = await iter.next();
28
+ if (entry === null) {
29
+ iter.markDone();
30
+ break;
31
+ }
32
+ yield entry;
33
+ }
34
+ }
35
+ /**
36
+ * Returns whether the object exists in the bucket.
37
+ * Throws an error on network failure.
38
+ */
39
+ async exists(name, options) {
40
+ const source = getCurrentRequest();
41
+ const impl = this.impl.object(name);
42
+ const res = await impl.exists(options, source);
43
+ return unwrapErr(res);
44
+ }
45
+ /**
46
+ * Returns the object's attributes.
47
+ * Throws an error if the object does not exist.
48
+ */
49
+ async attrs(name, options) {
50
+ const source = getCurrentRequest();
51
+ const impl = this.impl.object(name);
52
+ const res = await impl.attrs(options, source);
53
+ return unwrapErr(res);
54
+ }
55
+ /**
56
+ * Uploads an object to the bucket.
57
+ */
58
+ async upload(name, data, options) {
59
+ const source = getCurrentRequest();
60
+ const impl = this.impl.object(name);
61
+ const res = await impl.upload(data, options, source);
62
+ return unwrapErr(res);
63
+ }
64
+ /**
65
+ * Downloads an object from the bucket and returns its contents.
66
+ */
67
+ async download(name, options) {
68
+ const source = getCurrentRequest();
69
+ const impl = this.impl.object(name);
70
+ const res = await impl.downloadAll(options, source);
71
+ return unwrapErr(res);
72
+ }
73
+ /**
74
+ * Removes an object from the bucket.
75
+ * Throws an error on network failure.
76
+ */
77
+ async remove(name, options) {
78
+ const source = getCurrentRequest();
79
+ const impl = this.impl.object(name);
80
+ const err = await impl.delete(options, source);
81
+ if (err) {
82
+ unwrapErr(err);
83
+ }
84
+ }
85
+ }
86
+ //# sourceMappingURL=bucket.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bucket.js","sourceRoot":"","sources":["../../../storage/objects/bucket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAUpC;;GAEG;AACH,MAAM,OAAO,MAAM;IACjB,IAAI,CAAiB;IAErB;;OAEG;IACH,6DAA6D;IAC7D,YAAY,IAAY,EAAE,GAAkB;QAC1C,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACtC,CAAC;IAED;;;OAGG;IACH,MAAM,CAAC,KAAK,CAAsB,IAAyB;QACzD,OAAO,IAAI,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IAC9B,CAAC;IAED,KAAK,CAAC,CAAC,IAAI,CAAC,OAAoB;QAC9B,MAAM,MAAM,GAAG,iBAAiB,EAAE,CAAC;QACnC,MAAM,IAAI,GAAG,SAAS,CAAC,MAAM,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;QAC9D,OAAO,IAAI,EAAE,CAAC;YACZ,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;YAChC,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;g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AAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACpC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QACpD,OAAO,SAAS,CAAC,GAAG,CAAC,CAAC;IACxB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,MAAM,CAAC,IAAY,EAAE,OAAuB;QAChD,MAAM,MAAM,GAAG,iBAAiB,EAAE,CAAC;QACnC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACpC,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;QAC/C,IAAI,GAAG,EAAE,CAAC;YACR,SAAS,CAAC,GAAG,CAAC,CAAC;QACjB,CAAC;IACH,CAAC;CACF"}
@@ -0,0 +1,11 @@
1
+ import * as runtime from "../../internal/runtime/mod.js";
2
+ export declare class ObjectsError extends Error {
3
+ constructor(msg: string);
4
+ }
5
+ export declare class ObjectNotFound extends ObjectsError {
6
+ constructor(msg: string);
7
+ }
8
+ export declare class PreconditionFailed extends ObjectsError {
9
+ constructor(msg: string);
10
+ }
11
+ export declare function unwrapErr<T>(val: T | runtime.TypedObjectError): T;
@@ -0,0 +1,63 @@
1
+ import * as runtime from "../../internal/runtime/mod.js";
2
+ export class ObjectsError extends Error {
3
+ constructor(msg) {
4
+ // extending errors causes issues after you construct them, unless you apply the following fixes
5
+ super(msg);
6
+ // set error name as constructor name, make it not enumerable to keep native Error behavior
7
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new.target#new.target_in_constructors
8
+ Object.defineProperty(this, "name", {
9
+ value: "ObjectsError",
10
+ enumerable: false,
11
+ configurable: true
12
+ });
13
+ // Fix the prototype chain, capture stack trace.
14
+ Object.setPrototypeOf(this, ObjectsError.prototype);
15
+ Error.captureStackTrace(this, this.constructor);
16
+ }
17
+ }
18
+ export class ObjectNotFound extends ObjectsError {
19
+ constructor(msg) {
20
+ // extending errors causes issues after you construct them, unless you apply the following fixes
21
+ super(msg);
22
+ // set error name as constructor name, make it not enumerable to keep native Error behavior
23
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new.target#new.target_in_constructors
24
+ Object.defineProperty(this, "name", {
25
+ value: "ObjectNotFound",
26
+ enumerable: false,
27
+ configurable: true
28
+ });
29
+ // Fix the prototype chain, capture stack trace.
30
+ Object.setPrototypeOf(this, ObjectNotFound.prototype);
31
+ Error.captureStackTrace(this, this.constructor);
32
+ }
33
+ }
34
+ export class PreconditionFailed extends ObjectsError {
35
+ constructor(msg) {
36
+ // extending errors causes issues after you construct them, unless you apply the following fixes
37
+ super(msg);
38
+ // set error name as constructor name, make it not enumerable to keep native Error behavior
39
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new.target#new.target_in_constructors
40
+ Object.defineProperty(this, "name", {
41
+ value: "PrecondionFailed",
42
+ enumerable: false,
43
+ configurable: true
44
+ });
45
+ // Fix the prototype chain, capture stack trace.
46
+ Object.setPrototypeOf(this, PreconditionFailed.prototype);
47
+ Error.captureStackTrace(this, this.constructor);
48
+ }
49
+ }
50
+ export function unwrapErr(val) {
51
+ if (val instanceof runtime.TypedObjectError) {
52
+ switch (val.kind) {
53
+ case runtime.ObjectErrorKind.NotFound:
54
+ throw new ObjectNotFound(val.message);
55
+ case runtime.ObjectErrorKind.PreconditionFailed:
56
+ throw new PreconditionFailed(val.message);
57
+ default:
58
+ throw new ObjectsError(val.message);
59
+ }
60
+ }
61
+ return val;
62
+ }
63
+ //# sourceMappingURL=error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.js","sourceRoot":"","sources":["../../../storage/objects/error.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,4BAA4B,CAAC;AAEtD,MAAM,OAAO,YAAa,SAAQ,KAAK;IACrC,YAAY,GAAW;QACrB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QAC1D,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IAClD,CAAC;CACF;AAED,MAAM,UAAU,SAAS,CAAI,GAAiC;IAC5D,IAAI,GAAG,YAAY,OAAO,CAAC,gBAAgB,EAAE,CAAC;QAC5C,QAAQ,GAAG,CAAC,IAAI,EAAE,CAAC;YACjB,KAAK,OAAO,CAAC,eAAe,CAAC,QAAQ;gBACnC,MAAM,IAAI,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YACxC,KAAK,OAAO,CAAC,eAAe,CAAC,kBAAkB;gBAC7C,MAAM,IAAI,kBAAkB,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;YAC5C;gBACE,MAAM,IAAI,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;IACH,CAAC;IAED,OAAO,GAAG,CAAC;AACb,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { Bucket } from "./bucket.js";
2
+ export type { BucketConfig, ObjectAttrs, UploadOptions } from "./bucket.js";
3
+ export { ObjectsError, ObjectNotFound, PreconditionFailed } from "./error.js";
@@ -0,0 +1,3 @@
1
+ export { Bucket } from "./bucket.js";
2
+ export { ObjectsError, ObjectNotFound, PreconditionFailed } from "./error.js";
3
+ //# sourceMappingURL=mod.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mod.js","sourceRoot":"","sources":["../../../storage/objects/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../internal/runtime/napi/napi.d.cts","../internal/runtime/mod.ts","../app_meta.ts","../internal/reqtrack/mod.ts","../req_meta.ts","../mod.ts","../api/error.ts","../auth/mod.ts","../api/gateway.ts","../internal/api/node_http.ts","../api/mod.ts","../internal/utils/constraints.ts","../config/secrets.ts","../config/mod.ts","../internal/types/mod.ts","../cron/mod.ts","../internal/api/mod.ts","../internal/appinit/mod.ts","../internal/auth/mod.ts","../internal/codegen/api.ts","../internal/codegen/appinit.ts","../internal/codegen/auth.ts","../log/mod.ts","../pubsub/attributes.ts","../pubsub/topic.ts","../pubsub/subscription.ts","../pubsub/mod.ts","../service/mod.ts","../storage/sqldb/database.ts","../storage/sqldb/mod.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc",{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"7144d34b7e49ab4b0154884063a141a3d851fb5ee67df50a6f77c5730641a00f",{"version":"e11fa6d10e4091c1e8c499253c80f2d162f493990c0f1a35db564a02affb7b56","signature":"cbdc3c62359f81de1fbfb1baf2f699990f36fe76dc3cf5e1defca9436cc09324"},{"version":"22c41cd969a3f3e8792047767157fd978e5bebf3d5edfe28263a60f094ea8960","signature":"f7a13afa5e66557c8b6fec4b7740e45c9ee0d0a3bdfc2419eeb21c9a214ab9b9"},{"version":"2f9d6c356517121fffa5c54a200fb8fd9b35a3a4339ec3a69ada6b90087c4479","signature":"0755afeffaa749b0a9d242ad328b06c1aa243dd7b10a5d38e13419150792c362"},{"version":"50fa1290cbd266a2e90aed612b1d42508eba49a7ebf83895b5eecc6bfee80af7","signature":"7185ad4db4d9fef477e3ea884784ba55bd44a6dec4923531779059e70e799f3f"},{"version":"76a8bc704b721e967c752b55bebb16f3a2922cdb86e652c0c82759f5cb3771da","signature":"6167410fcb897c61d6300d81d28f4fee3a1fc8e6ebbcd5c7fe9512fc5f061807"},{"version":"4c2dd345e457d8272b0914657865a78561785a505d47c3ffa29598056419d064","signature":"733cbad424aa2dc04c2834d17a1e224182f9abcf355bf06f84972aa71e7cf88c"},{"version":"a9cb80f47f8ce54e616d903da3861ed87b4cc2db54369f3229305923a8d01e9e","signature":"e8b08e8437d7f449a1020c78f523c80edca47d2a7bec765cf8adee01b1b9f4b9"},{"version":"13f690099f433bbd91d6e5af8df80005df0ac3e0c96dc632898ba11bdeef49ba","signature":"b462e4f1ebcae75c287fe499122527a25b1f04c5349f842158c005d758bde646"},{"version":"483cbcd6c7ab7d449e6e130bbd314af689d893c28421bc6f4005d72fbea8ba1e","signature":"b44e1fa2517dcd005974748e4dc03c6be792f3566b794b9262e3da72062b0d74"},{"version":"693e812b5d1f7232f21924c42b81495ab8d2d503af22daa2fc6084828c284844","signature":"8146c610e33de447bbc9184b49b343f509a06c3b62c2d130f573ff3884327910"},{"version":"dac2ecb2e2edf2f279c46f49b05e7dab73fb427a72f662cb24d7e06556087db7","signature":"89c544a3aa54a88d90bb7db6e318542d661fc79035b98700d2b7fe5d87bf7edb"},{"version":"c2358758c15d37b0f88a8ecf8cf38deb1fa45995871d2ecda2219ce8e365d2e2","signature":"d6557e5b8c49c27f990d378acb3a64cbd6291d1c97984d9d14510df1038f5d5b"},"68fe5d7ce4b0073cb450767c70847f6bd7ef0e6b099b26effd7651410fcc6206",{"version":"00018aadf3bf8aac3b94d086c07d837b006af7389fab4f52bba73083bdd02c51","signature":"15b3437374aea37541f405e45622294bc2e2631b749920676ae90a8a38ee0bce"},{"version":"d236effd859fb8663d2802ac5b16a8675645585380448c35a2b9297011db0186","signature":"f2582ae9e2b63ad8a9615655f2c136e1652436f177885cbf874d82a8c74f1d29"},{"version":"0144a40fd18f8ec246f120c1cc7e769ece97212a97b718e15e7f643d16c10fe8","signature":"5a51e785a9a472cad391424aef04ff8c1b68c965f5ee7574ab8cb2eed826e09f"},{"version":"18f426770e585ed3637119a141c4290cabb523dd0a19ffe29273b48d42988692","signature":"2d7c6bc7a710b4b44da95cd1c207ad1f25e51981d9c144c4d130099981f4a9d9"},{"version":"65067ae33d9b54a877897cf19c04d11bbc642d23d5f9bddaacb6145b12b47252","signature":"484d6b91ba6f61784cbe40df3a8d4c894a8a6d9322147565c397c161d8b5e547"},"330fec351a0c9604ceaa9b098f5524875fae13b26e92a1f44555e67d12f87d35",{"version":"0410aaefea35354c17aab7e1d8daea6b78b609a0ac1c2db4c0418bb005eeeda2","signature":"017c1fe5d55daa40564b838ab60cea5e3981e494c20233bb1acc67276d1fb325"},{"version":"e8bf991b3662116671e3430bf519baaace5f6fff3da3fd8d0172ad28a31bc004","signature":"0bb4ce4d165639c83303131ec16c347188ae475335e48a4f0f0c5b09e19bebc7"},{"version":"99a7a53582f2a44381cfbd285fd0457e18116e4185fe93a8679b31a7253ae445","signature":"702197a1307efc488d7c2eed452627d3bfb63810e69e4dd7cecac4e289049e45"},{"version":"7752070ba7feb1db9554d53d98a6a88c7a33c8887d39e9fdcb0717f11efc3f55","signature":"8d4915d71b6ade8d068774cf77299cc76e597a63fb4ba7e055edde453edbf1eb"},{"version":"d73f514e65026f8431e3765a977f3ce2bd100b52a865677f28644972e200cafc","signature":"e470537b83f7ea9796f4088c419e5b95023b979b191030d1aefa742f3fbb1672"},{"version":"cb3393ffd4b953e1cb0fb2864e10c9dad9fb5a6343934ab0d1d034d0a8c09b0e","signature":"0c85004226ac441a92d4362392ee26d2de029799313b538cd7fab4304deae5f0"},{"version":"884eb991175ce17f8419fd6d4c380e8f1f3d1da8877d3820cddeecc2bfbc8c91","signature":"8605b99a002c3a7bbdf60d90193f3a1c62a5bdba0a940c812250a815162fbbb9"},{"version":"bf3807c4266809b2b7d8d907aea7d28cdbd7ddb52815c368ca9576f3439cd671","signature":"616c7a387f1bce3f6ede7a48c15de166f18054b41ed1ed23a460a19c3ac699d7"},{"version":"b595e020726c7c05967c5af385321e4ffd7225b2aab771d4c848a4c28659010b","signature":"ed19ca2f543ba5494817dbfd4462218637f435b03a1b5eb8747e829abf901cab"},"21a0fc92666d4ffe9628ad155124bdcbafc6bef107dff77349604ec9fd8c178b","efc7d584a33fe3422847783d228f315c4cd1afe74bd7cf8e3f0e4c1125129fef","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"16d74fe4d8e183344d3beb15d48b123c5980ff32ff0cc8c3b96614ddcdf9b239","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"41fb2a1c108fbf46609ce5a451b7ec78eb9b5ada95fd5b94643e4b26397de0b3","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"a1d2988ad9d2aef7b9915a22b5e52c165c83a878f2851c35621409046bbe3c05","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","8806ae97308ef26363bd7ec8071bca4d07fb575f905ee3d8a91aff226df6d618","af5bf1db6f1804fb0069039ae77a05d60133c77a2158d9635ea27b6bb2828a8f","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"674168aa3db414ea0a19b2a31d901b2d49705c7a495e43ffdc96928543010f8c","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","313a0b063f5188037db113509de1b934a0e286f14e9479af24fada241435e707","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","87ef1a23caa071b07157c72077fa42b86d30568f9dc9e31eed24d5d14fc30ba8","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"0666f4c99b8688c7be5956df8fecf5d1779d3b22f8f2a88258ae7072c7b6026f","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7424817d5eb498771e6d1808d726ec38f75d2eaf3fa359edd5c0c540c52725c1","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","37dc027f781c75f0f546e329cfac7cf92a6b289f42458f47a9adc25e516b6839",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447"],"root":[[58,87]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"module":7,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"fileIdsList":[[59,61,65],[64,66,67,139],[59],[70],[59,69],[72],[59,61,64],[59,139,144,154],[59,61,66,67],[61],[74],[75],[76],[59,123],[58,170],[59,61],[60,62],[88],[123],[124,129,157],[125,136,137,144,154,165],[125,126,136,144],[127,166],[128,129,137,145],[129,154,162],[130,132,136,144],[123,131],[132,133],[136],[134,136],[123,136],[136,137,138,154,165],[136,137,138,151,154,157],[121,124,170],[132,136,139,144,154,165],[136,137,139,140,144,154,162,165],[139,141,154,162,165],[88,89,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,164,165,166,167,168,169,170,171,172],[136,142],[143,165,170],[132,136,144,154],[145],[146],[123,147],[148,164,170],[149],[150],[136,151,152],[151,153,166,168],[124,136,154,155,156,157],[124,154,156],[154,155],[157],[158],[123,154],[136,160,161],[160,161],[129,144,154,162],[163],[144,164],[124,139,150,165],[129,166],[154,167],[143,168],[169],[124,129,136,138,147,154,165,168,170],[154,171],[98,102,165],[98,154,165],[93],[95,98,162,165],[144,162],[173],[93,173],[95,98,144,165],[90,91,94,97,124,136,154,165],[90,96],[94,98,124,157,165,173],[124,173],[114,124,173],[92,93,173],[98],[92,93,94,95,96,97,98,99,100,102,103,104,105,106,107,108,109,110,111,112,113,115,116,117,118,119,120],[98,105,106],[96,98,106,107],[97],[90,93,98],[98,102,106,107],[102],[96,98,101,165],[90,95,96,98,102,105],[124,154],[93,98,114,124,170,173],[81,82,83],[59,61,72,82],[59,61,81],[59,61,69],[86],[65],[69],[59,66],[58],[72,82],[81]],"referencedMap":[[66,1],[68,2],[60,3],[71,4],[70,5],[73,6],[74,7],[67,8],[75,9],[76,10],[77,11],[78,12],[79,13],[61,14],[59,15],[80,16],[63,17],[88,18],[89,18],[123,19],[124,20],[125,21],[126,22],[127,23],[128,24],[129,25],[130,26],[131,27],[132,28],[133,28],[135,29],[134,30],[136,31],[137,32],[138,33],[122,34],[139,35],[140,36],[141,37],[173,38],[142,39],[143,40],[144,41],[145,42],[146,43],[147,44],[148,45],[149,46],[150,47],[151,48],[152,48],[153,49],[154,50],[156,51],[155,52],[157,53],[158,54],[159,55],[160,56],[161,57],[162,58],[163,59],[164,60],[165,61],[166,62],[167,63],[168,64],[169,65],[170,66],[171,67],[105,68],[112,69],[104,68],[119,70],[96,71],[95,72],[118,73],[113,74],[116,75],[98,76],[97,77],[93,78],[92,79],[115,80],[94,81],[99,82],[103,82],[121,83],[120,82],[107,84],[108,85],[110,86],[106,87],[109,88],[114,73],[101,89],[102,90],[111,91],[91,92],[117,93],[84,94],[83,95],[82,96],[62,10],[86,97],[87,98]],"exportedModulesMap":[[66,99],[68,2],[71,4],[70,100],[73,6],[67,8],[75,101],[77,11],[78,12],[79,13],[61,3],[59,102],[80,3],[63,17],[88,18],[89,18],[123,19],[124,20],[125,21],[126,22],[127,23],[128,24],[129,25],[130,26],[131,27],[132,28],[133,28],[135,29],[134,30],[136,31],[137,32],[138,33],[122,34],[139,35],[140,36],[141,37],[173,38],[142,39],[143,40],[144,41],[145,42],[146,43],[147,44],[148,45],[149,46],[150,47],[151,48],[152,48],[153,49],[154,50],[156,51],[155,52],[157,53],[158,54],[159,55],[160,56],[161,57],[162,58],[163,59],[164,60],[165,61],[166,62],[167,63],[168,64],[169,65],[170,66],[171,67],[105,68],[112,69],[104,68],[119,70],[96,71],[95,72],[118,73],[113,74],[116,75],[98,76],[97,77],[93,78],[92,79],[115,80],[94,81],[99,82],[103,82],[121,83],[120,82],[107,84],[108,85],[110,86],[106,87],[109,88],[114,73],[101,89],[102,90],[111,91],[91,92],[117,93],[84,94],[83,103],[82,104],[86,5],[87,98]],"semanticDiagnosticsPerFile":[64,66,68,60,65,71,70,73,74,67,75,76,77,78,79,61,59,58,72,69,80,63,88,89,123,124,125,126,127,128,129,130,131,132,133,135,134,136,137,138,122,172,139,140,141,173,142,143,144,145,146,147,148,149,150,151,152,153,154,156,155,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,56,57,11,10,2,12,13,14,15,16,17,18,19,3,4,20,24,21,22,23,25,26,27,5,28,29,30,31,6,35,32,33,34,36,7,37,42,43,38,39,40,41,8,47,44,45,46,48,9,49,50,51,54,52,53,1,55,105,112,104,119,96,95,118,113,116,98,97,93,92,115,94,99,100,103,90,121,120,107,108,110,106,109,114,101,102,111,91,117,81,84,83,82,62,85,86,87],"latestChangedDtsFile":"./storage/sqldb/mod.d.ts"},"version":"5.3.3"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.es2021.d.ts","../node_modules/typescript/lib/lib.es2022.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.date.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.es2021.promise.d.ts","../node_modules/typescript/lib/lib.es2021.string.d.ts","../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../node_modules/typescript/lib/lib.es2021.intl.d.ts","../node_modules/typescript/lib/lib.es2022.array.d.ts","../node_modules/typescript/lib/lib.es2022.error.d.ts","../node_modules/typescript/lib/lib.es2022.intl.d.ts","../node_modules/typescript/lib/lib.es2022.object.d.ts","../node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2022.string.d.ts","../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.decorators.d.ts","../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../internal/runtime/napi/napi.d.cts","../internal/runtime/mod.ts","../app_meta.ts","../internal/reqtrack/mod.ts","../req_meta.ts","../mod.ts","../api/error.ts","../auth/mod.ts","../api/gateway.ts","../internal/api/node_http.ts","../api/mod.ts","../internal/utils/constraints.ts","../config/secrets.ts","../config/mod.ts","../internal/types/mod.ts","../cron/mod.ts","../internal/api/mod.ts","../internal/appinit/mod.ts","../internal/auth/mod.ts","../internal/codegen/api.ts","../internal/codegen/appinit.ts","../internal/codegen/auth.ts","../log/mod.ts","../pubsub/attributes.ts","../pubsub/topic.ts","../pubsub/subscription.ts","../pubsub/mod.ts","../service/mod.ts","../storage/objects/error.ts","../storage/objects/bucket.ts","../storage/objects/mod.ts","../storage/sqldb/database.ts","../storage/sqldb/mod.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/undici-types/header.d.ts","../node_modules/undici-types/readable.d.ts","../node_modules/undici-types/file.d.ts","../node_modules/undici-types/fetch.d.ts","../node_modules/undici-types/formdata.d.ts","../node_modules/undici-types/connector.d.ts","../node_modules/undici-types/client.d.ts","../node_modules/undici-types/errors.d.ts","../node_modules/undici-types/dispatcher.d.ts","../node_modules/undici-types/global-dispatcher.d.ts","../node_modules/undici-types/global-origin.d.ts","../node_modules/undici-types/pool-stats.d.ts","../node_modules/undici-types/pool.d.ts","../node_modules/undici-types/handlers.d.ts","../node_modules/undici-types/balanced-pool.d.ts","../node_modules/undici-types/agent.d.ts","../node_modules/undici-types/mock-interceptor.d.ts","../node_modules/undici-types/mock-agent.d.ts","../node_modules/undici-types/mock-client.d.ts","../node_modules/undici-types/mock-pool.d.ts","../node_modules/undici-types/mock-errors.d.ts","../node_modules/undici-types/proxy-agent.d.ts","../node_modules/undici-types/api.d.ts","../node_modules/undici-types/cookies.d.ts","../node_modules/undici-types/patch.d.ts","../node_modules/undici-types/filereader.d.ts","../node_modules/undici-types/diagnostics-channel.d.ts","../node_modules/undici-types/websocket.d.ts","../node_modules/undici-types/content-type.d.ts","../node_modules/undici-types/cache.d.ts","../node_modules/undici-types/interceptors.d.ts","../node_modules/undici-types/index.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"f33e5332b24c3773e930e212cbb8b6867c8ba3ec4492064ea78e55a524d57450","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","26f2f787e82c4222710f3b676b4d83eb5ad0a72fa7b746f03449e7a026ce5073","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc",{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"e0275cd0e42990dc3a16f0b7c8bca3efe87f1c8ad404f80c6db1c7c0b828c59f","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"acae90d417bee324b1372813b5a00829d31c7eb670d299cd7f8f9a648ac05688","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"51e547984877a62227042850456de71a5c45e7fe86b7c975c6e68896c86fa23b","affectsGlobalScope":true},{"version":"62a4966981264d1f04c44eb0f4b5bdc3d81c1a54725608861e44755aa24ad6a5","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"e6633e05da3ff36e6da2ec170d0d03ccf33de50ca4dc6f5aeecb572cedd162fb","affectsGlobalScope":true},{"version":"86a34c7a13de9cabc43161348f663624b56871ed80986e41d214932ddd8d6719","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"caccc56c72713969e1cfe5c3d44e5bab151544d9d2b373d7dbe5a1e4166652be","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"b9b9daeb7cc04d156be5d715eb75e459ff5c31b7333aa287dd709827b2a89e04",{"version":"e11fa6d10e4091c1e8c499253c80f2d162f493990c0f1a35db564a02affb7b56","signature":"cbdc3c62359f81de1fbfb1baf2f699990f36fe76dc3cf5e1defca9436cc09324"},{"version":"22c41cd969a3f3e8792047767157fd978e5bebf3d5edfe28263a60f094ea8960","signature":"f7a13afa5e66557c8b6fec4b7740e45c9ee0d0a3bdfc2419eeb21c9a214ab9b9"},{"version":"2f9d6c356517121fffa5c54a200fb8fd9b35a3a4339ec3a69ada6b90087c4479","signature":"0755afeffaa749b0a9d242ad328b06c1aa243dd7b10a5d38e13419150792c362"},{"version":"50fa1290cbd266a2e90aed612b1d42508eba49a7ebf83895b5eecc6bfee80af7","signature":"7185ad4db4d9fef477e3ea884784ba55bd44a6dec4923531779059e70e799f3f"},{"version":"76a8bc704b721e967c752b55bebb16f3a2922cdb86e652c0c82759f5cb3771da","signature":"6167410fcb897c61d6300d81d28f4fee3a1fc8e6ebbcd5c7fe9512fc5f061807"},{"version":"617f1365fe604e85dbee1041c4934d88784dcbfd8777dbcd0e347d7839a58270","signature":"733cbad424aa2dc04c2834d17a1e224182f9abcf355bf06f84972aa71e7cf88c"},{"version":"a9cb80f47f8ce54e616d903da3861ed87b4cc2db54369f3229305923a8d01e9e","signature":"e8b08e8437d7f449a1020c78f523c80edca47d2a7bec765cf8adee01b1b9f4b9"},{"version":"13f690099f433bbd91d6e5af8df80005df0ac3e0c96dc632898ba11bdeef49ba","signature":"b462e4f1ebcae75c287fe499122527a25b1f04c5349f842158c005d758bde646"},{"version":"483cbcd6c7ab7d449e6e130bbd314af689d893c28421bc6f4005d72fbea8ba1e","signature":"b44e1fa2517dcd005974748e4dc03c6be792f3566b794b9262e3da72062b0d74"},{"version":"693e812b5d1f7232f21924c42b81495ab8d2d503af22daa2fc6084828c284844","signature":"8146c610e33de447bbc9184b49b343f509a06c3b62c2d130f573ff3884327910"},{"version":"dac2ecb2e2edf2f279c46f49b05e7dab73fb427a72f662cb24d7e06556087db7","signature":"89c544a3aa54a88d90bb7db6e318542d661fc79035b98700d2b7fe5d87bf7edb"},{"version":"c2358758c15d37b0f88a8ecf8cf38deb1fa45995871d2ecda2219ce8e365d2e2","signature":"d6557e5b8c49c27f990d378acb3a64cbd6291d1c97984d9d14510df1038f5d5b"},"68fe5d7ce4b0073cb450767c70847f6bd7ef0e6b099b26effd7651410fcc6206",{"version":"00018aadf3bf8aac3b94d086c07d837b006af7389fab4f52bba73083bdd02c51","signature":"15b3437374aea37541f405e45622294bc2e2631b749920676ae90a8a38ee0bce"},{"version":"d236effd859fb8663d2802ac5b16a8675645585380448c35a2b9297011db0186","signature":"f2582ae9e2b63ad8a9615655f2c136e1652436f177885cbf874d82a8c74f1d29"},{"version":"0144a40fd18f8ec246f120c1cc7e769ece97212a97b718e15e7f643d16c10fe8","signature":"5a51e785a9a472cad391424aef04ff8c1b68c965f5ee7574ab8cb2eed826e09f"},{"version":"18f426770e585ed3637119a141c4290cabb523dd0a19ffe29273b48d42988692","signature":"2d7c6bc7a710b4b44da95cd1c207ad1f25e51981d9c144c4d130099981f4a9d9"},{"version":"65067ae33d9b54a877897cf19c04d11bbc642d23d5f9bddaacb6145b12b47252","signature":"484d6b91ba6f61784cbe40df3a8d4c894a8a6d9322147565c397c161d8b5e547"},"330fec351a0c9604ceaa9b098f5524875fae13b26e92a1f44555e67d12f87d35",{"version":"21c37ec4d5400f8d087cf808bc3fbeef1a332aa04a9ef3f6eff4de5addb9835b","signature":"017c1fe5d55daa40564b838ab60cea5e3981e494c20233bb1acc67276d1fb325"},{"version":"e8bf991b3662116671e3430bf519baaace5f6fff3da3fd8d0172ad28a31bc004","signature":"0bb4ce4d165639c83303131ec16c347188ae475335e48a4f0f0c5b09e19bebc7"},{"version":"99a7a53582f2a44381cfbd285fd0457e18116e4185fe93a8679b31a7253ae445","signature":"702197a1307efc488d7c2eed452627d3bfb63810e69e4dd7cecac4e289049e45"},{"version":"7752070ba7feb1db9554d53d98a6a88c7a33c8887d39e9fdcb0717f11efc3f55","signature":"8d4915d71b6ade8d068774cf77299cc76e597a63fb4ba7e055edde453edbf1eb"},{"version":"d73f514e65026f8431e3765a977f3ce2bd100b52a865677f28644972e200cafc","signature":"e470537b83f7ea9796f4088c419e5b95023b979b191030d1aefa742f3fbb1672"},{"version":"cb3393ffd4b953e1cb0fb2864e10c9dad9fb5a6343934ab0d1d034d0a8c09b0e","signature":"0c85004226ac441a92d4362392ee26d2de029799313b538cd7fab4304deae5f0"},{"version":"884eb991175ce17f8419fd6d4c380e8f1f3d1da8877d3820cddeecc2bfbc8c91","signature":"8605b99a002c3a7bbdf60d90193f3a1c62a5bdba0a940c812250a815162fbbb9"},{"version":"bf3807c4266809b2b7d8d907aea7d28cdbd7ddb52815c368ca9576f3439cd671","signature":"616c7a387f1bce3f6ede7a48c15de166f18054b41ed1ed23a460a19c3ac699d7"},{"version":"2e3ef79a9f913d0dd0c4e735ce917cc5e7b5f53b872642b6edc95d7c5fd4a436","signature":"d98413de84e40984b80541bd5f0444620fbf904859de5c06d5a0ea1540d5b741"},{"version":"4938b7704e9e1cb6b036c4d457ebff086555af148ca9ebb0b7857d0d7f0b4eeb","signature":"c6bfeaef63e007353b8de3049b1abd62793b2bf628ab52b67aef5beafd743d2f"},"d1ba3eb4257a99035ea3303e988292404f675318f425282a38958f729ff5717e",{"version":"b595e020726c7c05967c5af385321e4ffd7225b2aab771d4c848a4c28659010b","signature":"ed19ca2f543ba5494817dbfd4462218637f435b03a1b5eb8747e829abf901cab"},"21a0fc92666d4ffe9628ad155124bdcbafc6bef107dff77349604ec9fd8c178b","efc7d584a33fe3422847783d228f315c4cd1afe74bd7cf8e3f0e4c1125129fef","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true},"16d74fe4d8e183344d3beb15d48b123c5980ff32ff0cc8c3b96614ddcdf9b239","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"41fb2a1c108fbf46609ce5a451b7ec78eb9b5ada95fd5b94643e4b26397de0b3","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"a1d2988ad9d2aef7b9915a22b5e52c165c83a878f2851c35621409046bbe3c05","affectsGlobalScope":true},"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","8806ae97308ef26363bd7ec8071bca4d07fb575f905ee3d8a91aff226df6d618","af5bf1db6f1804fb0069039ae77a05d60133c77a2158d9635ea27b6bb2828a8f","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"674168aa3db414ea0a19b2a31d901b2d49705c7a495e43ffdc96928543010f8c","affectsGlobalScope":true},"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","313a0b063f5188037db113509de1b934a0e286f14e9479af24fada241435e707","afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","87ef1a23caa071b07157c72077fa42b86d30568f9dc9e31eed24d5d14fc30ba8","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","21773f5ac69ddf5a05636ba1f50b5239f4f2d27e4420db147fc2f76a5ae598ac",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true},{"version":"0666f4c99b8688c7be5956df8fecf5d1779d3b22f8f2a88258ae7072c7b6026f","affectsGlobalScope":true},"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","7424817d5eb498771e6d1808d726ec38f75d2eaf3fa359edd5c0c540c52725c1","9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024",{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true},"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","37dc027f781c75f0f546e329cfac7cf92a6b289f42458f47a9adc25e516b6839",{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"b510d0a18e3db42ac9765d26711083ec1e8b4e21caaca6dc4d25ae6e8623f447"],"root":[[58,90]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"module":7,"outDir":"./","rootDir":"..","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"fileIdsList":[[59,61,65],[64,66,67,142],[59],[70],[59,69],[72],[59,61,64],[59,142,147,157],[59,61,66,67],[61],[74],[75],[76],[59,126],[58,173],[59,61],[60,62],[91],[126],[127,132,160],[128,139,140,147,157,168],[128,129,139,147],[130,169],[131,132,140,148],[132,157,165],[133,135,139,147],[126,134],[135,136],[139],[137,139],[126,139],[139,140,141,157,168],[139,140,141,154,157,160],[124,127,173],[135,139,142,147,157,168],[139,140,142,143,147,157,165,168],[142,144,157,165,168],[91,92,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,164,165,166,167,168,169,170,171,172,173,174,175],[139,145],[146,168,173],[135,139,147,157],[148],[149],[126,150],[151,167,173],[152],[153],[139,154,155],[154,156,169,171],[127,139,157,158,159,160],[127,157,159],[157,158],[160],[161],[126,157],[139,163,164],[163,164],[132,147,157,165],[166],[147,167],[127,142,153,168],[132,169],[157,170],[146,171],[172],[127,132,139,141,150,157,168,171,173],[157,174],[101,105,168],[101,157,168],[96],[98,101,165,168],[147,165],[176],[96,176],[98,101,147,168],[93,94,97,100,127,139,157,168],[93,99],[97,101,127,160,168,176],[127,176],[117,127,176],[95,96,176],[101],[95,96,97,98,99,100,101,102,103,105,106,107,108,109,110,111,112,113,114,115,116,118,119,120,121,122,123],[101,108,109],[99,101,109,110],[100],[93,96,101],[101,105,109,110],[105],[99,101,104,168],[93,98,99,101,105,108],[127,157],[96,101,117,127,173,176],[81,82,83],[59,61,72,82],[59,61,81],[59,61,69,86],[86,87],[59,61,69],[89],[65],[69],[59,66],[58],[72,82],[81]],"referencedMap":[[66,1],[68,2],[60,3],[71,4],[70,5],[73,6],[74,7],[67,8],[75,9],[76,10],[77,11],[78,12],[79,13],[61,14],[59,15],[80,16],[63,17],[91,18],[92,18],[126,19],[127,20],[128,21],[129,22],[130,23],[131,24],[132,25],[133,26],[134,27],[135,28],[136,28],[138,29],[137,30],[139,31],[140,32],[141,33],[125,34],[142,35],[143,36],[144,37],[176,38],[145,39],[146,40],[147,41],[148,42],[149,43],[150,44],[151,45],[152,46],[153,47],[154,48],[155,48],[156,49],[157,50],[159,51],[158,52],[160,53],[161,54],[162,55],[163,56],[164,57],[165,58],[166,59],[167,60],[168,61],[169,62],[170,63],[171,64],[172,65],[173,66],[174,67],[108,68],[115,69],[107,68],[122,70],[99,71],[98,72],[121,73],[116,74],[119,75],[101,76],[100,77],[96,78],[95,79],[118,80],[97,81],[102,82],[106,82],[124,83],[123,82],[110,84],[111,85],[113,86],[109,87],[112,88],[117,73],[104,89],[105,90],[114,91],[94,92],[120,93],[84,94],[83,95],[82,96],[62,10],[87,97],[86,3],[88,98],[89,99],[90,100]],"exportedModulesMap":[[66,101],[68,2],[71,4],[70,102],[73,6],[67,8],[75,103],[77,11],[78,12],[79,13],[61,3],[59,104],[80,3],[63,17],[91,18],[92,18],[126,19],[127,20],[128,21],[129,22],[130,23],[131,24],[132,25],[133,26],[134,27],[135,28],[136,28],[138,29],[137,30],[139,31],[140,32],[141,33],[125,34],[142,35],[143,36],[144,37],[176,38],[145,39],[146,40],[147,41],[148,42],[149,43],[150,44],[151,45],[152,46],[153,47],[154,48],[155,48],[156,49],[157,50],[159,51],[158,52],[160,53],[161,54],[162,55],[163,56],[164,57],[165,58],[166,59],[167,60],[168,61],[169,62],[170,63],[171,64],[172,65],[173,66],[174,67],[108,68],[115,69],[107,68],[122,70],[99,71],[98,72],[121,73],[116,74],[119,75],[101,76],[100,77],[96,78],[95,79],[118,80],[97,81],[102,82],[106,82],[124,83],[123,82],[110,84],[111,85],[113,86],[109,87],[112,88],[117,73],[104,89],[105,90],[114,91],[94,92],[120,93],[84,94],[83,105],[82,106],[87,5],[86,3],[88,98],[89,5],[90,100]],"semanticDiagnosticsPerFile":[64,66,68,60,65,71,70,73,74,67,75,76,77,78,79,61,59,58,72,69,80,63,91,92,126,127,128,129,130,131,132,133,134,135,136,138,137,139,140,141,125,175,142,143,144,176,145,146,147,148,149,150,151,152,153,154,155,156,157,159,158,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,56,57,11,10,2,12,13,14,15,16,17,18,19,3,4,20,24,21,22,23,25,26,27,5,28,29,30,31,6,35,32,33,34,36,7,37,42,43,38,39,40,41,8,47,44,45,46,48,9,49,50,51,54,52,53,1,55,108,115,107,122,99,98,121,116,119,101,100,96,95,118,97,102,103,106,93,124,123,110,111,113,109,112,117,104,105,114,94,120,81,84,83,82,62,85,87,86,88,89,90],"latestChangedDtsFile":"./storage/sqldb/mod.d.ts"},"version":"5.3.3"}
@@ -1 +1 @@
1
- export {registerGateways, registerHandlers, registerTestHandler, run, type Handler} from "../appinit/mod";
1
+ export {registerGateways, registerHandlers, registerTestHandler, run, type Handler} from "../appinit/mod";
@@ -1,5 +1,5 @@
1
1
  // The version of the runtime this JS bundle was generated for.
2
- const version = "v1.43.12";
2
+ const version = "v1.44.1";
3
3
 
4
4
  // Load the native module.
5
5
  const nativeModulePath = process.env.ENCORE_RUNTIME_LIB;
@@ -15,12 +15,18 @@ const {
15
15
  APICallError,
16
16
  ApiCallError,
17
17
  BodyReader,
18
+ Bucket,
19
+ BucketObject,
18
20
  CloudProvider,
19
21
  Cursor,
20
22
  EnvironmentType,
21
23
  Gateway,
24
+ ListEntry,
25
+ ListIterator,
22
26
  LogLevel,
23
27
  Logger,
28
+ ObjectAttrs,
29
+ ObjectErrorKind,
24
30
  PubSubSubscription,
25
31
  PubSubTopic,
26
32
  QueryArgs,
@@ -36,6 +42,7 @@ const {
36
42
  SqlConn,
37
43
  SqlDatabase,
38
44
  Stream,
45
+ TypedObjectError,
39
46
  WebSocketClient,
40
47
  } = nativeModule;
41
48
 
@@ -44,12 +51,18 @@ module.exports = {
44
51
  APICallError,
45
52
  ApiCallError,
46
53
  BodyReader,
54
+ Bucket,
55
+ BucketObject,
47
56
  CloudProvider,
48
57
  Cursor,
49
58
  EnvironmentType,
50
59
  Gateway,
60
+ ListEntry,
61
+ ListIterator,
51
62
  LogLevel,
52
63
  Logger,
64
+ ObjectAttrs,
65
+ ObjectErrorKind,
53
66
  PubSubSubscription,
54
67
  PubSubTopic,
55
68
  QueryArgs,
@@ -65,6 +78,7 @@ module.exports = {
65
78
  SqlConn,
66
79
  SqlDatabase,
67
80
  Stream,
81
+ TypedObjectError,
68
82
  WebSocketClient,
69
83
  };
70
84
 
@@ -42,11 +42,28 @@ export interface AppMeta {
42
42
  deploy: DeployMeta
43
43
  }
44
44
 
45
+ export interface AttrsOptions {
46
+ version?: string
47
+ }
48
+
45
49
  export class BodyReader {
46
50
  start(push: (...args: any[]) => any, destroy: (...args: any[]) => any): void
47
51
  read(): void
48
52
  }
49
53
 
54
+ export class Bucket {
55
+ object(name: string): BucketObject
56
+ list(options?: ListOptions | undefined | null, source?: Request | undefined | null): Promise<ListIterator | TypedObjectError>
57
+ }
58
+
59
+ export class BucketObject {
60
+ attrs(options?: AttrsOptions | undefined | null, source?: Request | undefined | null): Promise<ObjectAttrs | TypedObjectError>
61
+ exists(options?: ExistsOptions | undefined | null, source?: Request | undefined | null): Promise<boolean | TypedObjectError>
62
+ upload(data: Buffer, opts?: UploadOptions | undefined | null, source?: Request | undefined | null): Promise<ObjectAttrs | TypedObjectError>
63
+ downloadAll(options?: DownloadOptions | undefined | null, source?: Request | undefined | null): Promise<Buffer | TypedObjectError>
64
+ delete(options?: DeleteOptions | undefined | null, source?: Request | undefined | null): Promise<TypedObjectError | null>
65
+ }
66
+
50
67
  export interface BuildMeta {
51
68
  revision: string
52
69
  uncommittedChanges: boolean
@@ -64,11 +81,19 @@ export class Cursor {
64
81
  next(): Promise<Row | null>
65
82
  }
66
83
 
84
+ export interface DeleteOptions {
85
+ version?: string
86
+ }
87
+
67
88
  export interface DeployMeta {
68
89
  id: string
69
90
  deployTime: string
70
91
  }
71
92
 
93
+ export interface DownloadOptions {
94
+ version?: string
95
+ }
96
+
72
97
  export interface EnvironmentMeta {
73
98
  name: string
74
99
  type: EnvironmentType
@@ -82,12 +107,32 @@ export enum EnvironmentType {
82
107
  Test = 3
83
108
  }
84
109
 
110
+ export interface ExistsOptions {
111
+ version?: string
112
+ }
113
+
85
114
  export class Gateway {}
86
115
 
87
116
  export interface GatewayConfig {
88
117
  auth?: (...args: any[]) => any
89
118
  }
90
119
 
120
+ export class ListEntry {
121
+ name: string
122
+ size: number
123
+ etag: string
124
+ }
125
+
126
+ export class ListIterator {
127
+ next(): Promise<ListEntry | null>
128
+ markDone(): void
129
+ }
130
+
131
+ export interface ListOptions {
132
+ prefix?: string
133
+ limit?: number
134
+ }
135
+
91
136
  export enum LogLevel {
92
137
  Trace = 1,
93
138
  Debug = 2,
@@ -109,6 +154,21 @@ export class Logger {
109
154
  with(fields: Record<string, unknown>): this
110
155
  }
111
156
 
157
+ export class ObjectAttrs {
158
+ name: string
159
+ version?: string
160
+ size: number
161
+ contentType?: string
162
+ etag: string
163
+ }
164
+
165
+ export enum ObjectErrorKind {
166
+ NotFound = 0,
167
+ PreconditionFailed = 1,
168
+ Other = 2,
169
+ Internal = 3
170
+ }
171
+
112
172
  export interface PubSubMessageData {
113
173
  service: string
114
174
  topic: string
@@ -166,6 +226,7 @@ export class Runtime {
166
226
  runForever(): Promise<void>
167
227
  sqlDatabase(encoreName: string): SQLDatabase
168
228
  pubsubTopic(encoreName: string): PubSubTopic
229
+ bucket(encoreName: string): Bucket
169
230
  gateway(encoreName: string, cfg: GatewayConfig): Gateway
170
231
  /** Gets the root logger from the runtime */
171
232
  logger(): Logger
@@ -232,6 +293,20 @@ export interface TraceData {
232
293
  extCorrelationId?: string
233
294
  }
234
295
 
296
+ export class TypedObjectError {
297
+ kind: ObjectErrorKind
298
+ message: string
299
+ }
300
+
301
+ export interface UploadOptions {
302
+ contentType?: string
303
+ preconditions?: UploadPreconditions
304
+ }
305
+
306
+ export interface UploadPreconditions {
307
+ notExists?: boolean
308
+ }
309
+
235
310
  export class WebSocketClient {
236
311
  send(msg: unknown): void
237
312
  recv(): Promise<Record<string, any>>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "encore.dev",
3
3
  "description": "Encore's JavaScript/TypeScript SDK",
4
- "version": "1.43.12",
4
+ "version": "1.44.1",
5
5
  "license": "MPL-2.0",
6
6
  "bugs": {
7
7
  "url": "https://github.com/encoredev/encore/issues"
@@ -64,6 +64,11 @@
64
64
  "bun": "./storage/sqldb/mod.ts",
65
65
  "default": "./dist/storage/sqldb/mod.js"
66
66
  },
67
+ "./storage/objects": {
68
+ "types": "./storage/objects/mod.ts",
69
+ "bun": "./storage/objects/mod.ts",
70
+ "default": "./dist/storage/objects/mod.js"
71
+ },
67
72
  "./internal/codegen/*": {
68
73
  "types": "./internal/codegen/*.ts",
69
74
  "bun": "./internal/codegen/*.ts",
@@ -0,0 +1,176 @@
1
+ import { getCurrentRequest } from "../../internal/reqtrack/mod";
2
+ import * as runtime from "../../internal/runtime/mod";
3
+ import { StringLiteral } from "../../internal/utils/constraints";
4
+ import { unwrapErr } from "./error";
5
+
6
+ export interface BucketConfig {
7
+ /**
8
+ * Whether to enable versioning of the objects in the bucket.
9
+ * Defaults to false if unset.
10
+ */
11
+ versioned?: boolean;
12
+ }
13
+
14
+ /**
15
+ * Defines a new Object Storage bucket infrastructure resource.
16
+ */
17
+ export class Bucket {
18
+ impl: runtime.Bucket;
19
+
20
+ /**
21
+ * Creates a new bucket with the given name and configuration
22
+ */
23
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
24
+ constructor(name: string, cfg?: BucketConfig) {
25
+ this.impl = runtime.RT.bucket(name);
26
+ }
27
+
28
+ /**
29
+ * Reference an existing bucket by name.
30
+ * To create a new storage bucket, use `new StorageBucket(...)` instead.
31
+ */
32
+ static named<name extends string>(name: StringLiteral<name>): Bucket {
33
+ return new Bucket(name, {});
34
+ }
35
+
36
+ async *list(options: ListOptions): AsyncGenerator<ListEntry> {
37
+ const source = getCurrentRequest();
38
+ const iter = unwrapErr(await this.impl.list(options, source));
39
+ while (true) {
40
+ const entry = await iter.next();
41
+ if (entry === null) {
42
+ iter.markDone();
43
+ break;
44
+ }
45
+ yield entry;
46
+ }
47
+ }
48
+
49
+ /**
50
+ * Returns whether the object exists in the bucket.
51
+ * Throws an error on network failure.
52
+ */
53
+ async exists(name: string, options?: ExistsOptions): Promise<boolean> {
54
+ const source = getCurrentRequest();
55
+ const impl = this.impl.object(name);
56
+ const res = await impl.exists(options, source);
57
+ return unwrapErr(res);
58
+ }
59
+
60
+ /**
61
+ * Returns the object's attributes.
62
+ * Throws an error if the object does not exist.
63
+ */
64
+ async attrs(name: string, options?: AttrsOptions): Promise<ObjectAttrs> {
65
+ const source = getCurrentRequest();
66
+ const impl = this.impl.object(name);
67
+ const res = await impl.attrs(options, source);
68
+ return unwrapErr(res);
69
+ }
70
+
71
+ /**
72
+ * Uploads an object to the bucket.
73
+ */
74
+ async upload(name: string, data: Buffer, options?: UploadOptions): Promise<ObjectAttrs> {
75
+ const source = getCurrentRequest();
76
+ const impl = this.impl.object(name);
77
+ const res = await impl.upload(data, options, source);
78
+ return unwrapErr(res);
79
+ }
80
+
81
+ /**
82
+ * Downloads an object from the bucket and returns its contents.
83
+ */
84
+ async download(name: string, options?: DownloadOptions): Promise<Buffer> {
85
+ const source = getCurrentRequest();
86
+ const impl = this.impl.object(name);
87
+ const res = await impl.downloadAll(options, source);
88
+ return unwrapErr(res);
89
+ }
90
+
91
+ /**
92
+ * Removes an object from the bucket.
93
+ * Throws an error on network failure.
94
+ */
95
+ async remove(name: string, options?: DeleteOptions): Promise<void> {
96
+ const source = getCurrentRequest();
97
+ const impl = this.impl.object(name);
98
+ const err = await impl.delete(options, source);
99
+ if (err) {
100
+ unwrapErr(err);
101
+ }
102
+ }
103
+ }
104
+
105
+ export interface ListOptions {
106
+ /**
107
+ * Only include objects with this prefix in the listing.
108
+ * If unset, all objects are included.
109
+ */
110
+ prefix?: string;
111
+
112
+ /** Maximum number of objects to return. Defaults to no limit. */
113
+ limit?: number;
114
+ }
115
+
116
+ export interface AttrsOptions {
117
+ /**
118
+ * The object version to retrieve attributes for.
119
+ * Defaults to the lastest version if unset.
120
+ *
121
+ * If bucket versioning is not enabled, this option is ignored.
122
+ */
123
+ version?: string;
124
+ }
125
+
126
+ export interface ExistsOptions {
127
+ /**
128
+ * The object version to check for existence.
129
+ * Defaults to the lastest version if unset.
130
+ *
131
+ * If bucket versioning is not enabled, this option is ignored.
132
+ */
133
+ version?: string;
134
+ }
135
+
136
+ export interface DeleteOptions {
137
+ /**
138
+ * The object version to delete.
139
+ * Defaults to the lastest version if unset.
140
+ *
141
+ * If bucket versioning is not enabled, this option is ignored.
142
+ */
143
+ version?: string;
144
+ }
145
+
146
+ export interface DownloadOptions {
147
+ /**
148
+ * The object version to download.
149
+ * Defaults to the lastest version if unset.
150
+ *
151
+ * If bucket versioning is not enabled, this option is ignored.
152
+ */
153
+ version?: string;
154
+ }
155
+
156
+ export interface ObjectAttrs {
157
+ name: string;
158
+ size: number;
159
+ /** The version of the object, if bucket versioning is enabled. */
160
+ version?: string;
161
+ etag: string;
162
+ contentType?: string;
163
+ }
164
+
165
+ export interface ListEntry {
166
+ name: string;
167
+ size: number;
168
+ etag: string;
169
+ }
170
+
171
+ export interface UploadOptions {
172
+ contentType?: string;
173
+ preconditions?: {
174
+ notExists?: boolean;
175
+ },
176
+ }
@@ -0,0 +1,73 @@
1
+ import * as runtime from "../../internal/runtime/mod";
2
+
3
+ export class ObjectsError extends Error {
4
+ constructor(msg: string) {
5
+ // extending errors causes issues after you construct them, unless you apply the following fixes
6
+ super(msg);
7
+
8
+ // set error name as constructor name, make it not enumerable to keep native Error behavior
9
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new.target#new.target_in_constructors
10
+ Object.defineProperty(this, "name", {
11
+ value: "ObjectsError",
12
+ enumerable: false,
13
+ configurable: true
14
+ });
15
+
16
+ // Fix the prototype chain, capture stack trace.
17
+ Object.setPrototypeOf(this, ObjectsError.prototype);
18
+ Error.captureStackTrace(this, this.constructor);
19
+ }
20
+ }
21
+
22
+ export class ObjectNotFound extends ObjectsError {
23
+ constructor(msg: string) {
24
+ // extending errors causes issues after you construct them, unless you apply the following fixes
25
+ super(msg);
26
+
27
+ // set error name as constructor name, make it not enumerable to keep native Error behavior
28
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new.target#new.target_in_constructors
29
+ Object.defineProperty(this, "name", {
30
+ value: "ObjectNotFound",
31
+ enumerable: false,
32
+ configurable: true
33
+ });
34
+
35
+ // Fix the prototype chain, capture stack trace.
36
+ Object.setPrototypeOf(this, ObjectNotFound.prototype);
37
+ Error.captureStackTrace(this, this.constructor);
38
+ }
39
+ }
40
+
41
+ export class PreconditionFailed extends ObjectsError {
42
+ constructor(msg: string) {
43
+ // extending errors causes issues after you construct them, unless you apply the following fixes
44
+ super(msg);
45
+
46
+ // set error name as constructor name, make it not enumerable to keep native Error behavior
47
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new.target#new.target_in_constructors
48
+ Object.defineProperty(this, "name", {
49
+ value: "PrecondionFailed",
50
+ enumerable: false,
51
+ configurable: true
52
+ });
53
+
54
+ // Fix the prototype chain, capture stack trace.
55
+ Object.setPrototypeOf(this, PreconditionFailed.prototype);
56
+ Error.captureStackTrace(this, this.constructor);
57
+ }
58
+ }
59
+
60
+ export function unwrapErr<T>(val: T | runtime.TypedObjectError): T {
61
+ if (val instanceof runtime.TypedObjectError) {
62
+ switch (val.kind) {
63
+ case runtime.ObjectErrorKind.NotFound:
64
+ throw new ObjectNotFound(val.message);
65
+ case runtime.ObjectErrorKind.PreconditionFailed:
66
+ throw new PreconditionFailed(val.message);
67
+ default:
68
+ throw new ObjectsError(val.message);
69
+ }
70
+ }
71
+
72
+ return val;
73
+ }
@@ -0,0 +1,3 @@
1
+ export { Bucket } from "./bucket";
2
+ export type { BucketConfig, ObjectAttrs, UploadOptions } from "./bucket";
3
+ export { ObjectsError, ObjectNotFound, PreconditionFailed } from "./error";