@voltro/api-client 0.83.1 → 0.85.0
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/CHANGELOG.md +1191 -0
- package/dist/index.d.ts +4 -3
- package/dist/index.js +245 -181
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -46,8 +46,9 @@ export declare class ApiHttpError extends ApiClientError {
|
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Apply a patch to `prev`: `add`/`replace` set the id's row, `mergeCells`
|
|
49
|
-
* folds columns into it, and
|
|
50
|
-
*
|
|
49
|
+
* folds columns into it, and null order preserves the previous ID sequence.
|
|
50
|
+
* An array materialises the result in that order; a removed id is absent.
|
|
51
|
+
* An id in `order` that
|
|
51
52
|
* resolves to no row (a desync) is skipped rather than thrown.
|
|
52
53
|
*/
|
|
53
54
|
export declare const applyRowPatch: (prev: ReadonlyArray<PatchRow>, patch: RowPatch, options?: ApplyRowPatchOptions) => ReadonlyArray<PatchRow>;
|
|
@@ -412,7 +413,7 @@ export declare type RowId = string | number;
|
|
|
412
413
|
|
|
413
414
|
export declare interface RowPatch {
|
|
414
415
|
readonly ops: ReadonlyArray<RowPatchOp>;
|
|
415
|
-
readonly order: ReadonlyArray<RowId
|
|
416
|
+
readonly order: ReadonlyArray<RowId> | null;
|
|
416
417
|
}
|
|
417
418
|
|
|
418
419
|
export declare type RowPatchOp = {
|