@anuma/sdk 11.3.2 → 11.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react/index.cjs +7 -2
- package/dist/react/index.d.mts +3 -1
- package/dist/react/index.d.ts +3 -1
- package/dist/react/index.mjs +7 -2
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -37333,12 +37333,17 @@ async function listICloudFiles() {
|
|
|
37333
37333
|
recordType: RECORD_TYPE
|
|
37334
37334
|
};
|
|
37335
37335
|
const allRecords = [];
|
|
37336
|
-
|
|
37336
|
+
let response = await database.performQuery(query);
|
|
37337
37337
|
if (response.records) {
|
|
37338
37338
|
allRecords.push(...response.records);
|
|
37339
37339
|
}
|
|
37340
37340
|
while (response.continuationMarker) {
|
|
37341
|
-
|
|
37341
|
+
response = await database.performQuery(query, {
|
|
37342
|
+
continuationMarker: response.continuationMarker
|
|
37343
|
+
});
|
|
37344
|
+
if (response.records) {
|
|
37345
|
+
allRecords.push(...response.records);
|
|
37346
|
+
}
|
|
37342
37347
|
}
|
|
37343
37348
|
const files = allRecords.map((record3) => ({
|
|
37344
37349
|
recordName: record3.recordName,
|
package/dist/react/index.d.mts
CHANGED
|
@@ -174,7 +174,9 @@ interface CloudKitDatabase {
|
|
|
174
174
|
}[], options?: {
|
|
175
175
|
zoneName?: string;
|
|
176
176
|
}) => Promise<CloudKitResponse>;
|
|
177
|
-
performQuery: (query: CloudKitQuery
|
|
177
|
+
performQuery: (query: CloudKitQuery, options?: {
|
|
178
|
+
continuationMarker?: string;
|
|
179
|
+
}) => Promise<CloudKitResponse>;
|
|
178
180
|
fetchRecords: (recordNames: Array<{
|
|
179
181
|
recordName: string;
|
|
180
182
|
}>, options?: {
|
package/dist/react/index.d.ts
CHANGED
|
@@ -174,7 +174,9 @@ interface CloudKitDatabase {
|
|
|
174
174
|
}[], options?: {
|
|
175
175
|
zoneName?: string;
|
|
176
176
|
}) => Promise<CloudKitResponse>;
|
|
177
|
-
performQuery: (query: CloudKitQuery
|
|
177
|
+
performQuery: (query: CloudKitQuery, options?: {
|
|
178
|
+
continuationMarker?: string;
|
|
179
|
+
}) => Promise<CloudKitResponse>;
|
|
178
180
|
fetchRecords: (recordNames: Array<{
|
|
179
181
|
recordName: string;
|
|
180
182
|
}>, options?: {
|
package/dist/react/index.mjs
CHANGED
|
@@ -35386,12 +35386,17 @@ async function listICloudFiles() {
|
|
|
35386
35386
|
recordType: RECORD_TYPE
|
|
35387
35387
|
};
|
|
35388
35388
|
const allRecords = [];
|
|
35389
|
-
|
|
35389
|
+
let response = await database.performQuery(query);
|
|
35390
35390
|
if (response.records) {
|
|
35391
35391
|
allRecords.push(...response.records);
|
|
35392
35392
|
}
|
|
35393
35393
|
while (response.continuationMarker) {
|
|
35394
|
-
|
|
35394
|
+
response = await database.performQuery(query, {
|
|
35395
|
+
continuationMarker: response.continuationMarker
|
|
35396
|
+
});
|
|
35397
|
+
if (response.records) {
|
|
35398
|
+
allRecords.push(...response.records);
|
|
35399
|
+
}
|
|
35395
35400
|
}
|
|
35396
35401
|
const files = allRecords.map((record3) => ({
|
|
35397
35402
|
recordName: record3.recordName,
|