@api-client/core 0.7.6 → 0.7.7
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.
|
@@ -262,6 +262,10 @@ export interface ContextListOptions {
|
|
|
262
262
|
* A string that should be used with the pagination.
|
|
263
263
|
*/
|
|
264
264
|
nextPageToken?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Optional parent for the query.
|
|
267
|
+
*/
|
|
268
|
+
parent?: string;
|
|
265
269
|
}
|
|
266
270
|
export declare class ContextListEvent<T> extends ContextEvent<ContextListOptions, ContextListResult<T>> {
|
|
267
271
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseEvents.js","sourceRoot":"","sources":["../../../src/events/BaseEvents.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,kBAAkB,CAAC;AAe3C;;GAEG;AACH,MAAM,OAAO,YAAkC,SAAQ,WAAgD;IACrG;;;OAGG;IACH,YAAY,IAAY,EAAE,MAAS;QACjC,KAAK,CAAC,IAAI,EAAE;YACV,OAAO,EAAE,IAAI;YACb,QAAQ,EAAE,IAAI;YACd,UAAU,EAAE,IAAI;YAChB,MAAM,EAAE;gBACN,MAAM,EAAE,SAAS;gBACjB,GAAG,MAAM;aACV;SACF,CAAC,CAAC;IACL,CAAC;CACF;AAaD;;GAEG;AACH,MAAM,OAAO,gBAAoB,SAAQ,YAAuC;IAC9E;;;;OAIG;IACH,YAAY,IAAY,EAAE,GAAW,EAAE,MAAe;QACpD,KAAK,CAAC,IAAI,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/B,CAAC;CACF;AASD;;GAEG;AACH,MAAM,OAAO,oBAAwB,SAAQ,YAA6C;IACxF;;;OAGG;IACH,YAAY,IAAY,EAAE,IAAc;QACtC,KAAK,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IACxB,CAAC;CACF;AAgDD;;GAEG;AACH,MAAM,OAAO,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;;OAGG;IACH,YAAY,IAAY,EAAE,OAA2B,EAAE;QACrD,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACpB,CAAC;CACF;AA2BD;;;;;;;GAOG;AACH,MAAM,OAAO,iBAA+B,SAAQ,YAA6C;IAC/F;;;;;;;;;;OAUG;IACH,YAAY,IAAY,EAAE,IAAkB;QAC1C,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACpB,CAAC;CACF"}
|
|
@@ -123,6 +123,21 @@ export interface EncryptionOptions {
|
|
|
123
123
|
*/
|
|
124
124
|
passphrase?: string;
|
|
125
125
|
}
|
|
126
|
+
export interface ProviderOptions {
|
|
127
|
+
/**
|
|
128
|
+
* Export file name or path to render in the save dialog or file name
|
|
129
|
+
* in the cloud provider.
|
|
130
|
+
*/
|
|
131
|
+
file: string;
|
|
132
|
+
/**
|
|
133
|
+
* The folder where to put the file.
|
|
134
|
+
*/
|
|
135
|
+
parent?: string;
|
|
136
|
+
/**
|
|
137
|
+
* Content's mime type
|
|
138
|
+
*/
|
|
139
|
+
contentType?: string;
|
|
140
|
+
}
|
|
126
141
|
/**
|
|
127
142
|
* @deprecated
|
|
128
143
|
*/
|
|
@@ -151,14 +166,23 @@ export interface ExportOptionsInternal extends ExportOptions {
|
|
|
151
166
|
*/
|
|
152
167
|
appVersion: string;
|
|
153
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* @deprecated
|
|
171
|
+
*/
|
|
154
172
|
export interface ArcExportProcessedData {
|
|
155
173
|
key: keyof ArcNativeDataExport;
|
|
156
174
|
data: any[];
|
|
157
175
|
}
|
|
176
|
+
/**
|
|
177
|
+
* @deprecated
|
|
178
|
+
*/
|
|
158
179
|
export interface ArcExportClientCertificateData {
|
|
159
180
|
item: ARCCertificateIndex;
|
|
160
181
|
data: ARCRequestCertificate;
|
|
161
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* @deprecated
|
|
185
|
+
*/
|
|
162
186
|
export interface ArcNativeDataExport {
|
|
163
187
|
authdata?: boolean | ARCAuthData[];
|
|
164
188
|
clientcertificates?: boolean;
|
|
@@ -171,3 +195,48 @@ export interface ArcNativeDataExport {
|
|
|
171
195
|
websocketurlhistory?: boolean | ARCWebsocketUrlHistory[];
|
|
172
196
|
urlhistory?: boolean | ARCUrlHistory[];
|
|
173
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* @deprecated
|
|
200
|
+
*/
|
|
201
|
+
export declare const ExportKey: keyof ArcNativeDataExport;
|
|
202
|
+
/**
|
|
203
|
+
* @deprecated
|
|
204
|
+
*/
|
|
205
|
+
export interface ArcLegacyNativeDataExport extends ArcNativeDataExport {
|
|
206
|
+
'websocket-url-history': boolean | ARCWebsocketUrlHistory[];
|
|
207
|
+
'auth-data': boolean | ARCAuthData[];
|
|
208
|
+
'url-history': boolean | ARCUrlHistory[];
|
|
209
|
+
'host-rules': boolean | ARCHostRule[];
|
|
210
|
+
'client-certificates': boolean | ARCVariable[];
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* @deprecated
|
|
214
|
+
*/
|
|
215
|
+
export interface ArcExportResult {
|
|
216
|
+
/**
|
|
217
|
+
* Whether an export operation was a success
|
|
218
|
+
*/
|
|
219
|
+
success: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Whether the operation was interrupted by the user.
|
|
222
|
+
*/
|
|
223
|
+
interrupted: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* With the cloud based export this is the ID of parent folder.
|
|
226
|
+
* For file export it is the path of the file.
|
|
227
|
+
*/
|
|
228
|
+
parentId: string;
|
|
229
|
+
/**
|
|
230
|
+
* The generated file id.
|
|
231
|
+
* With the cloud based export this is the ID of created file entry.
|
|
232
|
+
* For file export it is the file name that the user provided in the save dialog.
|
|
233
|
+
*/
|
|
234
|
+
fileId: string;
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* Options interface for file import
|
|
238
|
+
* @deprecated
|
|
239
|
+
*/
|
|
240
|
+
export interface FileImportOptions {
|
|
241
|
+
driveId?: string;
|
|
242
|
+
}
|
package/package.json
CHANGED
package/src/events/BaseEvents.ts
CHANGED
|
@@ -319,6 +319,10 @@ export interface ContextListOptions {
|
|
|
319
319
|
* A string that should be used with the pagination.
|
|
320
320
|
*/
|
|
321
321
|
nextPageToken?: string;
|
|
322
|
+
/**
|
|
323
|
+
* Optional parent for the query.
|
|
324
|
+
*/
|
|
325
|
+
parent?: string;
|
|
322
326
|
}
|
|
323
327
|
|
|
324
328
|
export class ContextListEvent<T> extends ContextEvent<ContextListOptions, ContextListResult<T>> {
|
|
@@ -122,6 +122,24 @@ export interface EncryptionOptions {
|
|
|
122
122
|
passphrase?: string;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
export interface ProviderOptions {
|
|
126
|
+
/**
|
|
127
|
+
* Export file name or path to render in the save dialog or file name
|
|
128
|
+
* in the cloud provider.
|
|
129
|
+
*/
|
|
130
|
+
file: string;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* The folder where to put the file.
|
|
134
|
+
*/
|
|
135
|
+
parent?: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Content's mime type
|
|
139
|
+
*/
|
|
140
|
+
contentType?: string;
|
|
141
|
+
}
|
|
142
|
+
|
|
125
143
|
/**
|
|
126
144
|
* @deprecated
|
|
127
145
|
*/
|
|
@@ -154,15 +172,25 @@ export interface ExportOptionsInternal extends ExportOptions {
|
|
|
154
172
|
appVersion: string;
|
|
155
173
|
}
|
|
156
174
|
|
|
175
|
+
/**
|
|
176
|
+
* @deprecated
|
|
177
|
+
*/
|
|
157
178
|
export interface ArcExportProcessedData {
|
|
158
179
|
key: keyof ArcNativeDataExport;
|
|
159
180
|
data: any[];
|
|
160
181
|
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* @deprecated
|
|
185
|
+
*/
|
|
161
186
|
export interface ArcExportClientCertificateData {
|
|
162
187
|
item: ARCCertificateIndex;
|
|
163
188
|
data: ARCRequestCertificate;
|
|
164
189
|
}
|
|
165
190
|
|
|
191
|
+
/**
|
|
192
|
+
* @deprecated
|
|
193
|
+
*/
|
|
166
194
|
export interface ArcNativeDataExport {
|
|
167
195
|
authdata?: boolean | ARCAuthData[];
|
|
168
196
|
clientcertificates?: boolean;
|
|
@@ -175,3 +203,52 @@ export interface ArcNativeDataExport {
|
|
|
175
203
|
websocketurlhistory?: boolean | ARCWebsocketUrlHistory[];
|
|
176
204
|
urlhistory?: boolean | ARCUrlHistory[];
|
|
177
205
|
}
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @deprecated
|
|
209
|
+
*/
|
|
210
|
+
export declare const ExportKey: keyof ArcNativeDataExport;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @deprecated
|
|
214
|
+
*/
|
|
215
|
+
export interface ArcLegacyNativeDataExport extends ArcNativeDataExport {
|
|
216
|
+
'websocket-url-history': boolean | ARCWebsocketUrlHistory[];
|
|
217
|
+
'auth-data': boolean | ARCAuthData[];
|
|
218
|
+
'url-history': boolean | ARCUrlHistory[];
|
|
219
|
+
'host-rules': boolean | ARCHostRule[];
|
|
220
|
+
'client-certificates': boolean | ARCVariable[];
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @deprecated
|
|
225
|
+
*/
|
|
226
|
+
export interface ArcExportResult {
|
|
227
|
+
/**
|
|
228
|
+
* Whether an export operation was a success
|
|
229
|
+
*/
|
|
230
|
+
success: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Whether the operation was interrupted by the user.
|
|
233
|
+
*/
|
|
234
|
+
interrupted: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* With the cloud based export this is the ID of parent folder.
|
|
237
|
+
* For file export it is the path of the file.
|
|
238
|
+
*/
|
|
239
|
+
parentId: string;
|
|
240
|
+
/**
|
|
241
|
+
* The generated file id.
|
|
242
|
+
* With the cloud based export this is the ID of created file entry.
|
|
243
|
+
* For file export it is the file name that the user provided in the save dialog.
|
|
244
|
+
*/
|
|
245
|
+
fileId: string;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Options interface for file import
|
|
250
|
+
* @deprecated
|
|
251
|
+
*/
|
|
252
|
+
export interface FileImportOptions {
|
|
253
|
+
driveId?: string;
|
|
254
|
+
}
|