@jd-data-limited/easy-fm 4.1.14 → 5.0.0-beta.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.
Files changed (43) hide show
  1. package/README.md +60 -197
  2. package/dist/bin/generateTypes.js +1 -1
  3. package/dist/bin/stressSearch.d.ts +2 -0
  4. package/dist/bin/stressSearch.js +243 -0
  5. package/dist/connection/CookieJar.d.ts +19 -0
  6. package/dist/connection/CookieJar.js +99 -0
  7. package/dist/connection/FMHost.d.ts +24 -8
  8. package/dist/connection/FMHost.js +28 -8
  9. package/dist/connection/HostBase.d.ts +4 -2
  10. package/dist/connection/Session.d.ts +34 -0
  11. package/dist/connection/Session.js +109 -0
  12. package/dist/connection/database.d.ts +34 -31
  13. package/dist/connection/database.js +72 -133
  14. package/dist/connection/databaseBase.d.ts +22 -10
  15. package/dist/connection/databaseConstantSession.d.ts +15 -0
  16. package/dist/connection/databaseConstantSession.js +70 -0
  17. package/dist/connection/databaseSessionPool.d.ts +14 -0
  18. package/dist/connection/databaseSessionPool.js +148 -0
  19. package/dist/index.d.ts +18 -1
  20. package/dist/index.js +12 -0
  21. package/dist/layouts/layout.d.ts +5 -3
  22. package/dist/layouts/layout.js +11 -15
  23. package/dist/layouts/layoutBase.d.ts +3 -2
  24. package/dist/layouts/layoutRecordManager.d.ts +6 -15
  25. package/dist/layouts/layoutRecordManager.js +6 -15
  26. package/dist/models/apiResults.d.ts +208 -93
  27. package/dist/models/apiResults.js +95 -25
  28. package/dist/records/field.d.ts +17 -2
  29. package/dist/records/field.js +161 -237
  30. package/dist/records/getOperations/recordGetOperation.d.ts +7 -4
  31. package/dist/records/getOperations/recordGetOperation.js +15 -18
  32. package/dist/records/layoutRecord.d.ts +24 -7
  33. package/dist/records/layoutRecord.js +68 -73
  34. package/dist/records/portal.d.ts +0 -4
  35. package/dist/records/portal.js +0 -4
  36. package/dist/records/recordBase.d.ts +3 -2
  37. package/dist/types.d.ts +41 -17
  38. package/dist/types.js +12 -0
  39. package/dist/utils/addHeaders.d.ts +5 -0
  40. package/dist/utils/addHeaders.js +24 -0
  41. package/dist/utils/query.d.ts +7 -0
  42. package/dist/utils/query.js +5 -0
  43. package/package.json +33 -26
@@ -1,97 +1,212 @@
1
- export declare enum ApiFieldTypes {
2
- NORMAL = "normal",
3
- CALCULATION = "calculation",
4
- SUMMARY = "summary"
5
- }
6
- export declare enum ApiFieldDisplayTypes {
7
- EDIT_TEXT = "editText",
8
- POPUP_LIST = "popupList",
9
- CHECKBOX = "checkBox",
10
- RADIO_BUTTONS = "radioButtons",
11
- SELECTION_LIST = "selectionList",
12
- CALENDAR = "calendar",
13
- SECURE_TEXT = "secureText"
14
- }
15
- export declare enum ApiFieldResultTypes {
16
- TEXT = "text",
17
- NUMBER = "number",
18
- DATE = "date",
19
- TIME = "time",
20
- TIMESTAMP = "timeStamp",
21
- CONTAINER = "container"
22
- }
23
- export interface ApiMessage {
24
- code: string;
25
- message: string;
26
- }
27
- export interface ApiResults<T = unknown> {
28
- response?: null | T & {
29
- scriptError?: string;
30
- };
31
- messages: ApiMessage[];
32
- httpStatus: number;
33
- }
34
- export interface ApiLayout {
1
+ import { z } from 'zod';
2
+ export declare const ApiFieldTypes: {
3
+ readonly NORMAL: "normal";
4
+ readonly CALCULATION: "calculation";
5
+ readonly SUMMARY: "summary";
6
+ };
7
+ export declare const ApiFieldDisplayTypes: {
8
+ readonly EDIT_TEXT: "editText";
9
+ readonly POPUP_LIST: "popupList";
10
+ readonly CHECKBOX: "checkBox";
11
+ readonly RADIO_BUTTONS: "radioButtons";
12
+ readonly SELECTION_LIST: "selectionList";
13
+ readonly CALENDAR: "calendar";
14
+ readonly SECURE_TEXT: "secureText";
15
+ };
16
+ export declare const ApiFieldResultTypes: {
17
+ readonly TEXT: "text";
18
+ readonly NUMBER: "number";
19
+ readonly DATE: "date";
20
+ readonly TIME: "time";
21
+ readonly TIMESTAMP: "timeStamp";
22
+ readonly CONTAINER: "container";
23
+ };
24
+ export declare const ApiMessage: z.ZodObject<{
25
+ code: z.ZodCoercedNumber<unknown>;
26
+ message: z.ZodString;
27
+ }, z.core.$strip>;
28
+ export declare const ApiResults: z.ZodObject<{
29
+ messages: z.ZodArray<z.ZodObject<{
30
+ code: z.ZodCoercedNumber<unknown>;
31
+ message: z.ZodString;
32
+ }, z.core.$strip>>;
33
+ }, z.core.$strip>;
34
+ export declare const ApiLayout: z.ZodType<{
35
35
  name: string;
36
36
  isFolder?: boolean;
37
- folderLayoutNames?: ApiLayout[];
38
- }
39
- export interface ApiLayoutMetadata {
40
- fieldMetaData: ApiFieldMetadata[];
41
- portalMetaData: Record<string, ApiFieldMetadata[]>;
42
- valueLists: ApiValueList[];
43
- }
44
- export interface ApiFieldMetadata {
45
- name: string;
46
- type: ApiFieldTypes;
47
- displayType: ApiFieldDisplayTypes;
48
- result: ApiFieldResultTypes;
49
- global: boolean;
50
- autoEnter: boolean;
51
- fourDigitYear: boolean;
52
- maxRepeat: number;
53
- maxCharacters: number;
54
- notEmpty: boolean;
55
- numeric: boolean;
56
- repetitions: number;
57
- timeOfDay: boolean;
58
- valueList: string;
59
- }
60
- export interface ApiValueList {
61
- name: string;
62
- type: string;
63
- values: Array<{
64
- value: string;
65
- displayName: string;
37
+ folderLayoutNames?: Array<z.infer<typeof ApiLayout>>;
38
+ }>;
39
+ export declare const ApiFieldMetadata: z.ZodObject<{
40
+ name: z.ZodString;
41
+ type: z.ZodEnum<{
42
+ readonly NORMAL: "normal";
43
+ readonly CALCULATION: "calculation";
44
+ readonly SUMMARY: "summary";
45
+ }>;
46
+ displayType: z.ZodEnum<{
47
+ readonly EDIT_TEXT: "editText";
48
+ readonly POPUP_LIST: "popupList";
49
+ readonly CHECKBOX: "checkBox";
50
+ readonly RADIO_BUTTONS: "radioButtons";
51
+ readonly SELECTION_LIST: "selectionList";
52
+ readonly CALENDAR: "calendar";
53
+ readonly SECURE_TEXT: "secureText";
66
54
  }>;
67
- }
68
- export interface ApiScriptResult {
69
- scriptError: string;
70
- scriptResult?: string;
71
- }
72
- export interface ApiRecordResponseObj {
73
- data: ApiRowDataDef[];
74
- dataInfo: ApiResultSetObj;
75
- }
76
- export type ApiFieldData = Record<string, string | number>;
77
- export type ApiPortalData = Record<string, ApiFieldData[]>;
78
- export interface ApiResultSetObj {
79
- database: string;
80
- layout: string;
81
- table: string;
82
- totalRecordCount: number;
83
- foundCount: number;
84
- returnedCount: number;
85
- }
86
- export interface ApiRowDataDef {
87
- fieldData: ApiFieldData;
88
- portalData: ApiPortalData;
89
- modId: string;
90
- recordId: string;
91
- portalDataInfo?: Array<{
92
- database: string;
93
- table: string;
94
- foundCount: number;
95
- returnedCount: number;
55
+ result: z.ZodEnum<{
56
+ readonly TEXT: "text";
57
+ readonly NUMBER: "number";
58
+ readonly DATE: "date";
59
+ readonly TIME: "time";
60
+ readonly TIMESTAMP: "timeStamp";
61
+ readonly CONTAINER: "container";
96
62
  }>;
97
- }
63
+ global: z.ZodBoolean;
64
+ autoEnter: z.ZodBoolean;
65
+ fourDigitYear: z.ZodBoolean;
66
+ maxRepeat: z.ZodCoercedNumber<unknown>;
67
+ maxCharacters: z.ZodCoercedNumber<unknown>;
68
+ notEmpty: z.ZodBoolean;
69
+ numeric: z.ZodBoolean;
70
+ repetitionStart: z.ZodCoercedNumber<unknown>;
71
+ repetitionEnd: z.ZodCoercedNumber<unknown>;
72
+ timeOfDay: z.ZodBoolean;
73
+ valueList: z.ZodOptional<z.ZodString>;
74
+ }, z.core.$strip>;
75
+ export declare const ApiValueList: z.ZodObject<{
76
+ name: z.ZodString;
77
+ type: z.ZodString;
78
+ values: z.ZodArray<z.ZodObject<{
79
+ value: z.ZodString;
80
+ displayName: z.ZodString;
81
+ }, z.core.$strip>>;
82
+ }, z.core.$strip>;
83
+ export declare const ApiLayoutMetadata: z.ZodObject<{
84
+ fieldMetaData: z.ZodArray<z.ZodObject<{
85
+ name: z.ZodString;
86
+ type: z.ZodEnum<{
87
+ readonly NORMAL: "normal";
88
+ readonly CALCULATION: "calculation";
89
+ readonly SUMMARY: "summary";
90
+ }>;
91
+ displayType: z.ZodEnum<{
92
+ readonly EDIT_TEXT: "editText";
93
+ readonly POPUP_LIST: "popupList";
94
+ readonly CHECKBOX: "checkBox";
95
+ readonly RADIO_BUTTONS: "radioButtons";
96
+ readonly SELECTION_LIST: "selectionList";
97
+ readonly CALENDAR: "calendar";
98
+ readonly SECURE_TEXT: "secureText";
99
+ }>;
100
+ result: z.ZodEnum<{
101
+ readonly TEXT: "text";
102
+ readonly NUMBER: "number";
103
+ readonly DATE: "date";
104
+ readonly TIME: "time";
105
+ readonly TIMESTAMP: "timeStamp";
106
+ readonly CONTAINER: "container";
107
+ }>;
108
+ global: z.ZodBoolean;
109
+ autoEnter: z.ZodBoolean;
110
+ fourDigitYear: z.ZodBoolean;
111
+ maxRepeat: z.ZodCoercedNumber<unknown>;
112
+ maxCharacters: z.ZodCoercedNumber<unknown>;
113
+ notEmpty: z.ZodBoolean;
114
+ numeric: z.ZodBoolean;
115
+ repetitionStart: z.ZodCoercedNumber<unknown>;
116
+ repetitionEnd: z.ZodCoercedNumber<unknown>;
117
+ timeOfDay: z.ZodBoolean;
118
+ valueList: z.ZodOptional<z.ZodString>;
119
+ }, z.core.$strip>>;
120
+ portalMetaData: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
121
+ name: z.ZodString;
122
+ type: z.ZodEnum<{
123
+ readonly NORMAL: "normal";
124
+ readonly CALCULATION: "calculation";
125
+ readonly SUMMARY: "summary";
126
+ }>;
127
+ displayType: z.ZodEnum<{
128
+ readonly EDIT_TEXT: "editText";
129
+ readonly POPUP_LIST: "popupList";
130
+ readonly CHECKBOX: "checkBox";
131
+ readonly RADIO_BUTTONS: "radioButtons";
132
+ readonly SELECTION_LIST: "selectionList";
133
+ readonly CALENDAR: "calendar";
134
+ readonly SECURE_TEXT: "secureText";
135
+ }>;
136
+ result: z.ZodEnum<{
137
+ readonly TEXT: "text";
138
+ readonly NUMBER: "number";
139
+ readonly DATE: "date";
140
+ readonly TIME: "time";
141
+ readonly TIMESTAMP: "timeStamp";
142
+ readonly CONTAINER: "container";
143
+ }>;
144
+ global: z.ZodBoolean;
145
+ autoEnter: z.ZodBoolean;
146
+ fourDigitYear: z.ZodBoolean;
147
+ maxRepeat: z.ZodCoercedNumber<unknown>;
148
+ maxCharacters: z.ZodCoercedNumber<unknown>;
149
+ notEmpty: z.ZodBoolean;
150
+ numeric: z.ZodBoolean;
151
+ repetitionStart: z.ZodCoercedNumber<unknown>;
152
+ repetitionEnd: z.ZodCoercedNumber<unknown>;
153
+ timeOfDay: z.ZodBoolean;
154
+ valueList: z.ZodOptional<z.ZodString>;
155
+ }, z.core.$strip>>>;
156
+ valueLists: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
+ name: z.ZodString;
158
+ type: z.ZodString;
159
+ values: z.ZodArray<z.ZodObject<{
160
+ value: z.ZodString;
161
+ displayName: z.ZodString;
162
+ }, z.core.$strip>>;
163
+ }, z.core.$strip>>>;
164
+ }, z.core.$strip>;
165
+ export declare const ApiScriptResult: z.ZodObject<{
166
+ scriptError: z.ZodString;
167
+ scriptResult: z.ZodOptional<z.ZodString>;
168
+ }, z.core.$strip>;
169
+ export declare const ApiFieldData: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
170
+ export declare const ApiResultSetObj: z.ZodObject<{
171
+ database: z.ZodString;
172
+ layout: z.ZodString;
173
+ table: z.ZodString;
174
+ totalRecordCount: z.ZodNumber;
175
+ foundCount: z.ZodNumber;
176
+ returnedCount: z.ZodNumber;
177
+ }, z.core.$strip>;
178
+ export declare const ApiPortalData: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
179
+ export declare const ApiRowDataDef: z.ZodObject<{
180
+ fieldData: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
181
+ portalData: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
182
+ modId: z.ZodString;
183
+ recordId: z.ZodString;
184
+ portalDataInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
185
+ database: z.ZodString;
186
+ table: z.ZodString;
187
+ foundCount: z.ZodNumber;
188
+ returnedCount: z.ZodNumber;
189
+ }, z.core.$strip>>>;
190
+ }, z.core.$strip>;
191
+ export declare const ApiRecordResponseObj: z.ZodObject<{
192
+ data: z.ZodArray<z.ZodObject<{
193
+ fieldData: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
194
+ portalData: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
195
+ modId: z.ZodString;
196
+ recordId: z.ZodString;
197
+ portalDataInfo: z.ZodOptional<z.ZodArray<z.ZodObject<{
198
+ database: z.ZodString;
199
+ table: z.ZodString;
200
+ foundCount: z.ZodNumber;
201
+ returnedCount: z.ZodNumber;
202
+ }, z.core.$strip>>>;
203
+ }, z.core.$strip>>;
204
+ dataInfo: z.ZodObject<{
205
+ database: z.ZodString;
206
+ layout: z.ZodString;
207
+ table: z.ZodString;
208
+ totalRecordCount: z.ZodNumber;
209
+ foundCount: z.ZodNumber;
210
+ returnedCount: z.ZodNumber;
211
+ }, z.core.$strip>;
212
+ }, z.core.$strip>;
@@ -1,28 +1,98 @@
1
1
  /*
2
2
  * Copyright (c) 2023-2024. See LICENSE file for more information
3
3
  */
4
- export var ApiFieldTypes;
5
- (function (ApiFieldTypes) {
6
- ApiFieldTypes["NORMAL"] = "normal";
7
- ApiFieldTypes["CALCULATION"] = "calculation";
8
- ApiFieldTypes["SUMMARY"] = "summary";
9
- })(ApiFieldTypes || (ApiFieldTypes = {}));
10
- export var ApiFieldDisplayTypes;
11
- (function (ApiFieldDisplayTypes) {
12
- ApiFieldDisplayTypes["EDIT_TEXT"] = "editText";
13
- ApiFieldDisplayTypes["POPUP_LIST"] = "popupList";
14
- ApiFieldDisplayTypes["CHECKBOX"] = "checkBox";
15
- ApiFieldDisplayTypes["RADIO_BUTTONS"] = "radioButtons";
16
- ApiFieldDisplayTypes["SELECTION_LIST"] = "selectionList";
17
- ApiFieldDisplayTypes["CALENDAR"] = "calendar";
18
- ApiFieldDisplayTypes["SECURE_TEXT"] = "secureText";
19
- })(ApiFieldDisplayTypes || (ApiFieldDisplayTypes = {}));
20
- export var ApiFieldResultTypes;
21
- (function (ApiFieldResultTypes) {
22
- ApiFieldResultTypes["TEXT"] = "text";
23
- ApiFieldResultTypes["NUMBER"] = "number";
24
- ApiFieldResultTypes["DATE"] = "date";
25
- ApiFieldResultTypes["TIME"] = "time";
26
- ApiFieldResultTypes["TIMESTAMP"] = "timeStamp";
27
- ApiFieldResultTypes["CONTAINER"] = "container";
28
- })(ApiFieldResultTypes || (ApiFieldResultTypes = {}));
4
+ import { z } from 'zod';
5
+ export const ApiFieldTypes = {
6
+ NORMAL: 'normal',
7
+ CALCULATION: 'calculation',
8
+ SUMMARY: 'summary'
9
+ };
10
+ export const ApiFieldDisplayTypes = {
11
+ EDIT_TEXT: 'editText',
12
+ POPUP_LIST: 'popupList',
13
+ CHECKBOX: 'checkBox',
14
+ RADIO_BUTTONS: 'radioButtons',
15
+ SELECTION_LIST: 'selectionList',
16
+ CALENDAR: 'calendar',
17
+ SECURE_TEXT: 'secureText'
18
+ };
19
+ export const ApiFieldResultTypes = {
20
+ TEXT: 'text',
21
+ NUMBER: 'number',
22
+ DATE: 'date',
23
+ TIME: 'time',
24
+ TIMESTAMP: 'timeStamp',
25
+ CONTAINER: 'container'
26
+ };
27
+ export const ApiMessage = z.object({
28
+ code: z.coerce.number(),
29
+ message: z.string()
30
+ });
31
+ export const ApiResults = z.object({
32
+ messages: z.array(ApiMessage)
33
+ });
34
+ export const ApiLayout = z.lazy(() => z.object({
35
+ name: z.string(),
36
+ isFolder: z.boolean().optional(),
37
+ folderLayoutNames: z.array(ApiLayout).optional(),
38
+ }));
39
+ export const ApiFieldMetadata = z.object({
40
+ name: z.string(),
41
+ type: z.enum(ApiFieldTypes),
42
+ displayType: z.enum(ApiFieldDisplayTypes),
43
+ result: z.enum(ApiFieldResultTypes),
44
+ global: z.boolean(),
45
+ autoEnter: z.boolean(),
46
+ fourDigitYear: z.boolean(),
47
+ maxRepeat: z.coerce.number(),
48
+ maxCharacters: z.coerce.number(),
49
+ notEmpty: z.boolean(),
50
+ numeric: z.boolean(),
51
+ repetitionStart: z.coerce.number(),
52
+ repetitionEnd: z.coerce.number(),
53
+ timeOfDay: z.boolean(),
54
+ valueList: z.string().optional()
55
+ });
56
+ export const ApiValueList = z.object({
57
+ name: z.string(),
58
+ type: z.string(),
59
+ values: z.array(z.object({
60
+ value: z.string(),
61
+ displayName: z.string()
62
+ }))
63
+ });
64
+ export const ApiLayoutMetadata = z.object({
65
+ fieldMetaData: z.array(ApiFieldMetadata),
66
+ portalMetaData: z.record(z.string(), z.array(ApiFieldMetadata)),
67
+ valueLists: z.array(ApiValueList).optional()
68
+ });
69
+ export const ApiScriptResult = z.object({
70
+ scriptError: z.string(),
71
+ scriptResult: z.string().optional()
72
+ });
73
+ export const ApiFieldData = z.record(z.string(), z.union([z.string(), z.number()]));
74
+ export const ApiResultSetObj = z.object({
75
+ database: z.string(),
76
+ layout: z.string(),
77
+ table: z.string(),
78
+ totalRecordCount: z.number(),
79
+ foundCount: z.number(),
80
+ returnedCount: z.number()
81
+ });
82
+ export const ApiPortalData = z.record(z.string(), z.array(ApiFieldData));
83
+ export const ApiRowDataDef = z.object({
84
+ fieldData: ApiFieldData,
85
+ portalData: ApiPortalData,
86
+ modId: z.string(),
87
+ recordId: z.string(),
88
+ portalDataInfo: z.array(z.object({
89
+ database: z.string(),
90
+ table: z.string(),
91
+ foundCount: z.number(),
92
+ returnedCount: z.number()
93
+ })).optional()
94
+ });
95
+ export const ApiRecordResponseObj = z.object({
96
+ data: z.array(ApiRowDataDef),
97
+ dataInfo: ApiResultSetObj
98
+ });
@@ -2,6 +2,8 @@ import { RecordTypes } from '../types.js';
2
2
  import { type ApiFieldMetadata } from '../models/apiResults.js';
3
3
  import { type LayoutBase } from '../layouts/layoutBase.js';
4
4
  import { type Moment } from 'moment';
5
+ import { Readable } from 'node:stream';
6
+ import { type z } from 'zod';
5
7
  export type FieldValue = string | number | Moment | Container;
6
8
  export type Container = null;
7
9
  export interface Parentable {
@@ -12,6 +14,9 @@ export interface Parentable {
12
14
  name: string;
13
15
  };
14
16
  }
17
+ interface StreamOptions {
18
+ abortSignal?: AbortSignal;
19
+ }
15
20
  /**
16
21
  * A class representing a field in a record.
17
22
  *
@@ -24,6 +29,7 @@ export declare class Field<T extends FieldValue> {
24
29
  protected _value: T | null;
25
30
  static firstContainerDownload: Promise<any> | null;
26
31
  constructor(record: Parentable, id: string, originalContents: T);
32
+ /** `true` if this field has changed since it was last loaded or saved. */
27
33
  get edited(): boolean;
28
34
  /**
29
35
  * Resets the 'edited' state of this field, without changing its value
@@ -36,9 +42,12 @@ export declare class Field<T extends FieldValue> {
36
42
  * @throws {Error} Cannot set container value using set(). Use upload() instead, if the result is a 'container'.
37
43
  */
38
44
  set(content: T | null): void;
39
- get metadata(): ApiFieldMetadata;
45
+ /** Returns the FileMaker metadata for this field. */
46
+ get metadata(): z.infer<typeof ApiFieldMetadata>;
47
+ /** Gets or sets the current field value. */
40
48
  get value(): T | null;
41
49
  set value(value: T);
50
+ /** Returns this field value as a string. Throws if the value is not a string. */
42
51
  get string(): string;
43
52
  /**
44
53
  * Uploads a file to the container field.
@@ -52,11 +61,17 @@ export declare class Field<T extends FieldValue> {
52
61
  */
53
62
  upload(file: File): Promise<void>;
54
63
  stream(): Promise<{
55
- data: NodeJS.ReadableStream;
64
+ data: Readable;
56
65
  mime: string;
57
66
  }>;
67
+ /**
68
+ * Returns the container download as a Web `Response`.
69
+ */
70
+ webStream(options: StreamOptions): Promise<Response>;
71
+ /** Downloads the full container contents into memory. */
58
72
  arrayBuffer(): Promise<{
59
73
  data: ArrayBuffer;
60
74
  mime: string;
61
75
  }>;
62
76
  }
77
+ export {};