@fluidframework/tree 2.102.0 → 2.103.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 +4 -0
- package/dist/codec/versioned/format.d.ts +5 -4
- package/dist/codec/versioned/format.d.ts.map +1 -1
- package/dist/codec/versioned/format.js +26 -3
- package/dist/codec/versioned/format.js.map +1 -1
- package/dist/core/rebase/types.d.ts +4 -3
- package/dist/core/rebase/types.d.ts.map +1 -1
- package/dist/core/rebase/types.js +27 -4
- package/dist/core/rebase/types.js.map +1 -1
- package/dist/core/schema-stored/formatV1.d.ts +16 -15
- package/dist/core/schema-stored/formatV1.d.ts.map +1 -1
- package/dist/core/schema-stored/formatV1.js +31 -8
- package/dist/core/schema-stored/formatV1.js.map +1 -1
- package/dist/core/schema-stored/formatV2.d.ts +29 -28
- package/dist/core/schema-stored/formatV2.d.ts.map +1 -1
- package/dist/core/schema-stored/formatV2.js +33 -10
- package/dist/core/schema-stored/formatV2.js.map +1 -1
- package/dist/core/tree/detachedFieldIndexFormatCommon.d.ts +11 -10
- package/dist/core/tree/detachedFieldIndexFormatCommon.d.ts.map +1 -1
- package/dist/core/tree/detachedFieldIndexFormatCommon.js +33 -10
- package/dist/core/tree/detachedFieldIndexFormatCommon.js.map +1 -1
- package/dist/core/tree/detachedFieldIndexFormatV2.d.ts +7 -6
- package/dist/core/tree/detachedFieldIndexFormatV2.d.ts.map +1 -1
- package/dist/core/tree/detachedFieldIndexFormatV2.js +25 -2
- package/dist/core/tree/detachedFieldIndexFormatV2.js.map +1 -1
- package/dist/core/tree/persistedTreeTextFormat.d.ts +19 -18
- package/dist/core/tree/persistedTreeTextFormat.d.ts.map +1 -1
- package/dist/core/tree/persistedTreeTextFormat.js +33 -10
- package/dist/core/tree/persistedTreeTextFormat.js.map +1 -1
- package/dist/feature-libraries/chunked-forest/chunkTree.d.ts.map +1 -1
- package/dist/feature-libraries/chunked-forest/chunkTree.js +1 -1
- package/dist/feature-libraries/chunked-forest/chunkTree.js.map +1 -1
- package/dist/feature-libraries/chunked-forest/codec/format/formatGeneric.d.ts +13 -12
- package/dist/feature-libraries/chunked-forest/codec/format/formatGeneric.d.ts.map +1 -1
- package/dist/feature-libraries/chunked-forest/codec/format/formatGeneric.js +36 -13
- package/dist/feature-libraries/chunked-forest/codec/format/formatGeneric.js.map +1 -1
- package/dist/feature-libraries/chunked-forest/codec/format/formatV1.d.ts +36 -35
- package/dist/feature-libraries/chunked-forest/codec/format/formatV1.d.ts.map +1 -1
- package/dist/feature-libraries/chunked-forest/codec/format/formatV1.js +41 -18
- package/dist/feature-libraries/chunked-forest/codec/format/formatV1.js.map +1 -1
- package/dist/feature-libraries/chunked-forest/codec/format/formatV2.d.ts +26 -25
- package/dist/feature-libraries/chunked-forest/codec/format/formatV2.d.ts.map +1 -1
- package/dist/feature-libraries/chunked-forest/codec/format/formatV2.js +27 -4
- package/dist/feature-libraries/chunked-forest/codec/format/formatV2.js.map +1 -1
- package/dist/feature-libraries/chunked-forest/codec/format/formatVText.d.ts +24 -23
- package/dist/feature-libraries/chunked-forest/codec/format/formatVText.d.ts.map +1 -1
- package/dist/feature-libraries/chunked-forest/codec/format/formatVText.js +30 -7
- package/dist/feature-libraries/chunked-forest/codec/format/formatVText.js.map +1 -1
- package/dist/feature-libraries/chunked-forest/uniformChunk.d.ts +66 -14
- package/dist/feature-libraries/chunked-forest/uniformChunk.d.ts.map +1 -1
- package/dist/feature-libraries/chunked-forest/uniformChunk.js +101 -36
- package/dist/feature-libraries/chunked-forest/uniformChunk.js.map +1 -1
- package/dist/feature-libraries/default-schema/defaultEditBuilder.d.ts.map +1 -1
- package/dist/feature-libraries/default-schema/defaultEditBuilder.js +36 -14
- package/dist/feature-libraries/default-schema/defaultEditBuilder.js.map +1 -1
- package/dist/feature-libraries/forest-summary/formatCommon.d.ts +6 -5
- package/dist/feature-libraries/forest-summary/formatCommon.d.ts.map +1 -1
- package/dist/feature-libraries/forest-summary/formatCommon.js +26 -3
- package/dist/feature-libraries/forest-summary/formatCommon.js.map +1 -1
- package/dist/feature-libraries/modular-schema/genericFieldKindFormat.d.ts +4 -3
- package/dist/feature-libraries/modular-schema/genericFieldKindFormat.d.ts.map +1 -1
- package/dist/feature-libraries/modular-schema/genericFieldKindFormat.js +26 -3
- package/dist/feature-libraries/modular-schema/genericFieldKindFormat.js.map +1 -1
- package/dist/feature-libraries/modular-schema/modularChangeFormatV1.d.ts +45 -44
- package/dist/feature-libraries/modular-schema/modularChangeFormatV1.d.ts.map +1 -1
- package/dist/feature-libraries/modular-schema/modularChangeFormatV1.js +48 -25
- package/dist/feature-libraries/modular-schema/modularChangeFormatV1.js.map +1 -1
- package/dist/feature-libraries/modular-schema/modularChangeFormatV2.d.ts +23 -22
- package/dist/feature-libraries/modular-schema/modularChangeFormatV2.d.ts.map +1 -1
- package/dist/feature-libraries/modular-schema/modularChangeFormatV2.js +29 -6
- package/dist/feature-libraries/modular-schema/modularChangeFormatV2.js.map +1 -1
- package/dist/feature-libraries/optional-field/optionalFieldChangeFormatV1.d.ts +9 -8
- package/dist/feature-libraries/optional-field/optionalFieldChangeFormatV1.d.ts.map +1 -1
- package/dist/feature-libraries/optional-field/optionalFieldChangeFormatV1.js +31 -8
- package/dist/feature-libraries/optional-field/optionalFieldChangeFormatV1.js.map +1 -1
- package/dist/feature-libraries/optional-field/optionalFieldChangeFormatV2.d.ts +14 -13
- package/dist/feature-libraries/optional-field/optionalFieldChangeFormatV2.d.ts.map +1 -1
- package/dist/feature-libraries/optional-field/optionalFieldChangeFormatV2.js +34 -11
- package/dist/feature-libraries/optional-field/optionalFieldChangeFormatV2.js.map +1 -1
- package/dist/feature-libraries/schema-edits/schemaChangeFormat.d.ts +5 -4
- package/dist/feature-libraries/schema-edits/schemaChangeFormat.d.ts.map +1 -1
- package/dist/feature-libraries/schema-edits/schemaChangeFormat.js +25 -2
- package/dist/feature-libraries/schema-edits/schemaChangeFormat.js.map +1 -1
- package/dist/feature-libraries/schema-index/formatV1.d.ts +15 -14
- package/dist/feature-libraries/schema-index/formatV1.d.ts.map +1 -1
- package/dist/feature-libraries/schema-index/formatV1.js +27 -4
- package/dist/feature-libraries/schema-index/formatV1.js.map +1 -1
- package/dist/feature-libraries/schema-index/formatV2.d.ts +20 -19
- package/dist/feature-libraries/schema-index/formatV2.d.ts.map +1 -1
- package/dist/feature-libraries/schema-index/formatV2.js +27 -4
- package/dist/feature-libraries/schema-index/formatV2.js.map +1 -1
- package/dist/feature-libraries/sequence-field/compose.d.ts.map +1 -1
- package/dist/feature-libraries/sequence-field/compose.js +1 -3
- package/dist/feature-libraries/sequence-field/compose.js.map +1 -1
- package/dist/feature-libraries/sequence-field/formatV1.d.ts +283 -282
- package/dist/feature-libraries/sequence-field/formatV1.d.ts.map +1 -1
- package/dist/feature-libraries/sequence-field/formatV1.js +63 -40
- package/dist/feature-libraries/sequence-field/formatV1.js.map +1 -1
- package/dist/feature-libraries/sequence-field/formatV2.d.ts +180 -179
- package/dist/feature-libraries/sequence-field/formatV2.d.ts.map +1 -1
- package/dist/feature-libraries/sequence-field/formatV2.js +55 -32
- package/dist/feature-libraries/sequence-field/formatV2.js.map +1 -1
- package/dist/feature-libraries/sequence-field/formatV3.d.ts +126 -125
- package/dist/feature-libraries/sequence-field/formatV3.d.ts.map +1 -1
- package/dist/feature-libraries/sequence-field/formatV3.js +27 -4
- package/dist/feature-libraries/sequence-field/formatV3.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/shared-tree/sharedTree.d.ts +2 -2
- package/dist/shared-tree/sharedTree.d.ts.map +1 -1
- package/dist/shared-tree/sharedTree.js.map +1 -1
- package/dist/shared-tree/sharedTreeChangeFormat.d.ts +8 -7
- package/dist/shared-tree/sharedTreeChangeFormat.d.ts.map +1 -1
- package/dist/shared-tree/sharedTreeChangeFormat.js +28 -5
- package/dist/shared-tree/sharedTreeChangeFormat.js.map +1 -1
- package/dist/shared-tree/treeCheckout.d.ts +3 -3
- package/dist/shared-tree/treeCheckout.d.ts.map +1 -1
- package/dist/shared-tree/treeCheckout.js.map +1 -1
- package/dist/shared-tree-core/editManager.d.ts +2 -2
- package/dist/shared-tree-core/editManager.d.ts.map +1 -1
- package/dist/shared-tree-core/editManager.js.map +1 -1
- package/dist/shared-tree-core/editManagerFormatCommons.d.ts +35 -34
- package/dist/shared-tree-core/editManagerFormatCommons.d.ts.map +1 -1
- package/dist/shared-tree-core/editManagerFormatCommons.js +39 -16
- package/dist/shared-tree-core/editManagerFormatCommons.js.map +1 -1
- package/dist/shared-tree-core/editManagerFormatV1toV4.d.ts +15 -15
- package/dist/shared-tree-core/editManagerFormatV1toV4.d.ts.map +1 -1
- package/dist/shared-tree-core/editManagerFormatV1toV4.js +33 -10
- package/dist/shared-tree-core/editManagerFormatV1toV4.js.map +1 -1
- package/dist/shared-tree-core/editManagerFormatVSharedBranches.d.ts +40 -40
- package/dist/shared-tree-core/editManagerFormatVSharedBranches.d.ts.map +1 -1
- package/dist/shared-tree-core/editManagerFormatVSharedBranches.js +27 -4
- package/dist/shared-tree-core/editManagerFormatVSharedBranches.js.map +1 -1
- package/dist/shared-tree-core/messageCodecVSharedBranches.d.ts.map +1 -1
- package/dist/shared-tree-core/messageCodecVSharedBranches.js +25 -2
- package/dist/shared-tree-core/messageCodecVSharedBranches.js.map +1 -1
- package/dist/shared-tree-core/messageFormatV1ToV4.d.ts +5 -5
- package/dist/shared-tree-core/messageFormatV1ToV4.d.ts.map +1 -1
- package/dist/shared-tree-core/messageFormatV1ToV4.js +31 -8
- package/dist/shared-tree-core/messageFormatV1ToV4.js.map +1 -1
- package/dist/shared-tree-core/messageFormatVSharedBranches.d.ts +7 -7
- package/dist/shared-tree-core/messageFormatVSharedBranches.d.ts.map +1 -1
- package/dist/shared-tree-core/messageFormatVSharedBranches.js +29 -6
- package/dist/shared-tree-core/messageFormatVSharedBranches.js.map +1 -1
- package/dist/simple-tree/core/treeNodeKernel.d.ts +5 -0
- package/dist/simple-tree/core/treeNodeKernel.d.ts.map +1 -1
- package/dist/simple-tree/core/treeNodeKernel.js +37 -13
- package/dist/simple-tree/core/treeNodeKernel.js.map +1 -1
- package/dist/simple-tree/simpleSchemaFormatV1.d.ts +121 -120
- package/dist/simple-tree/simpleSchemaFormatV1.d.ts.map +1 -1
- package/dist/simple-tree/simpleSchemaFormatV1.js +54 -31
- package/dist/simple-tree/simpleSchemaFormatV1.js.map +1 -1
- package/dist/util/typeboxBrand.d.ts +1 -1
- package/dist/util/typeboxBrand.d.ts.map +1 -1
- package/dist/util/typeboxBrand.js +26 -3
- package/dist/util/typeboxBrand.js.map +1 -1
- package/dist/util/utils.d.ts +2 -2
- package/dist/util/utils.d.ts.map +1 -1
- package/dist/util/utils.js +25 -2
- package/dist/util/utils.js.map +1 -1
- package/eslint.config.mts +44 -0
- package/lib/codec/versioned/format.d.ts +5 -4
- package/lib/codec/versioned/format.d.ts.map +1 -1
- package/lib/codec/versioned/format.js +1 -1
- package/lib/codec/versioned/format.js.map +1 -1
- package/lib/core/rebase/types.d.ts +4 -3
- package/lib/core/rebase/types.d.ts.map +1 -1
- package/lib/core/rebase/types.js +1 -1
- package/lib/core/rebase/types.js.map +1 -1
- package/lib/core/schema-stored/formatV1.d.ts +16 -15
- package/lib/core/schema-stored/formatV1.d.ts.map +1 -1
- package/lib/core/schema-stored/formatV1.js +1 -1
- package/lib/core/schema-stored/formatV1.js.map +1 -1
- package/lib/core/schema-stored/formatV2.d.ts +29 -28
- package/lib/core/schema-stored/formatV2.d.ts.map +1 -1
- package/lib/core/schema-stored/formatV2.js +1 -1
- package/lib/core/schema-stored/formatV2.js.map +1 -1
- package/lib/core/tree/detachedFieldIndexFormatCommon.d.ts +11 -10
- package/lib/core/tree/detachedFieldIndexFormatCommon.d.ts.map +1 -1
- package/lib/core/tree/detachedFieldIndexFormatCommon.js +1 -1
- package/lib/core/tree/detachedFieldIndexFormatCommon.js.map +1 -1
- package/lib/core/tree/detachedFieldIndexFormatV2.d.ts +7 -6
- package/lib/core/tree/detachedFieldIndexFormatV2.d.ts.map +1 -1
- package/lib/core/tree/detachedFieldIndexFormatV2.js +1 -1
- package/lib/core/tree/detachedFieldIndexFormatV2.js.map +1 -1
- package/lib/core/tree/persistedTreeTextFormat.d.ts +19 -18
- package/lib/core/tree/persistedTreeTextFormat.d.ts.map +1 -1
- package/lib/core/tree/persistedTreeTextFormat.js +1 -1
- package/lib/core/tree/persistedTreeTextFormat.js.map +1 -1
- package/lib/feature-libraries/chunked-forest/chunkTree.d.ts.map +1 -1
- package/lib/feature-libraries/chunked-forest/chunkTree.js +1 -1
- package/lib/feature-libraries/chunked-forest/chunkTree.js.map +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatGeneric.d.ts +13 -12
- package/lib/feature-libraries/chunked-forest/codec/format/formatGeneric.d.ts.map +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatGeneric.js +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatGeneric.js.map +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatV1.d.ts +36 -35
- package/lib/feature-libraries/chunked-forest/codec/format/formatV1.d.ts.map +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatV1.js +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatV1.js.map +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatV2.d.ts +26 -25
- package/lib/feature-libraries/chunked-forest/codec/format/formatV2.d.ts.map +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatV2.js +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatV2.js.map +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatVText.d.ts +24 -23
- package/lib/feature-libraries/chunked-forest/codec/format/formatVText.d.ts.map +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatVText.js +1 -1
- package/lib/feature-libraries/chunked-forest/codec/format/formatVText.js.map +1 -1
- package/lib/feature-libraries/chunked-forest/uniformChunk.d.ts +66 -14
- package/lib/feature-libraries/chunked-forest/uniformChunk.d.ts.map +1 -1
- package/lib/feature-libraries/chunked-forest/uniformChunk.js +101 -36
- package/lib/feature-libraries/chunked-forest/uniformChunk.js.map +1 -1
- package/lib/feature-libraries/default-schema/defaultEditBuilder.d.ts.map +1 -1
- package/lib/feature-libraries/default-schema/defaultEditBuilder.js +36 -14
- package/lib/feature-libraries/default-schema/defaultEditBuilder.js.map +1 -1
- package/lib/feature-libraries/forest-summary/formatCommon.d.ts +6 -5
- package/lib/feature-libraries/forest-summary/formatCommon.d.ts.map +1 -1
- package/lib/feature-libraries/forest-summary/formatCommon.js +1 -1
- package/lib/feature-libraries/forest-summary/formatCommon.js.map +1 -1
- package/lib/feature-libraries/modular-schema/genericFieldKindFormat.d.ts +4 -3
- package/lib/feature-libraries/modular-schema/genericFieldKindFormat.d.ts.map +1 -1
- package/lib/feature-libraries/modular-schema/genericFieldKindFormat.js +1 -1
- package/lib/feature-libraries/modular-schema/genericFieldKindFormat.js.map +1 -1
- package/lib/feature-libraries/modular-schema/modularChangeFormatV1.d.ts +45 -44
- package/lib/feature-libraries/modular-schema/modularChangeFormatV1.d.ts.map +1 -1
- package/lib/feature-libraries/modular-schema/modularChangeFormatV1.js +1 -1
- package/lib/feature-libraries/modular-schema/modularChangeFormatV1.js.map +1 -1
- package/lib/feature-libraries/modular-schema/modularChangeFormatV2.d.ts +23 -22
- package/lib/feature-libraries/modular-schema/modularChangeFormatV2.d.ts.map +1 -1
- package/lib/feature-libraries/modular-schema/modularChangeFormatV2.js +1 -1
- package/lib/feature-libraries/modular-schema/modularChangeFormatV2.js.map +1 -1
- package/lib/feature-libraries/optional-field/optionalFieldChangeFormatV1.d.ts +9 -8
- package/lib/feature-libraries/optional-field/optionalFieldChangeFormatV1.d.ts.map +1 -1
- package/lib/feature-libraries/optional-field/optionalFieldChangeFormatV1.js +1 -1
- package/lib/feature-libraries/optional-field/optionalFieldChangeFormatV1.js.map +1 -1
- package/lib/feature-libraries/optional-field/optionalFieldChangeFormatV2.d.ts +14 -13
- package/lib/feature-libraries/optional-field/optionalFieldChangeFormatV2.d.ts.map +1 -1
- package/lib/feature-libraries/optional-field/optionalFieldChangeFormatV2.js +1 -1
- package/lib/feature-libraries/optional-field/optionalFieldChangeFormatV2.js.map +1 -1
- package/lib/feature-libraries/schema-edits/schemaChangeFormat.d.ts +5 -4
- package/lib/feature-libraries/schema-edits/schemaChangeFormat.d.ts.map +1 -1
- package/lib/feature-libraries/schema-edits/schemaChangeFormat.js +1 -1
- package/lib/feature-libraries/schema-edits/schemaChangeFormat.js.map +1 -1
- package/lib/feature-libraries/schema-index/formatV1.d.ts +15 -14
- package/lib/feature-libraries/schema-index/formatV1.d.ts.map +1 -1
- package/lib/feature-libraries/schema-index/formatV1.js +1 -1
- package/lib/feature-libraries/schema-index/formatV1.js.map +1 -1
- package/lib/feature-libraries/schema-index/formatV2.d.ts +20 -19
- package/lib/feature-libraries/schema-index/formatV2.d.ts.map +1 -1
- package/lib/feature-libraries/schema-index/formatV2.js +1 -1
- package/lib/feature-libraries/schema-index/formatV2.js.map +1 -1
- package/lib/feature-libraries/sequence-field/compose.d.ts.map +1 -1
- package/lib/feature-libraries/sequence-field/compose.js +1 -3
- package/lib/feature-libraries/sequence-field/compose.js.map +1 -1
- package/lib/feature-libraries/sequence-field/formatV1.d.ts +283 -282
- package/lib/feature-libraries/sequence-field/formatV1.d.ts.map +1 -1
- package/lib/feature-libraries/sequence-field/formatV1.js +1 -1
- package/lib/feature-libraries/sequence-field/formatV1.js.map +1 -1
- package/lib/feature-libraries/sequence-field/formatV2.d.ts +180 -179
- package/lib/feature-libraries/sequence-field/formatV2.d.ts.map +1 -1
- package/lib/feature-libraries/sequence-field/formatV2.js +1 -1
- package/lib/feature-libraries/sequence-field/formatV2.js.map +1 -1
- package/lib/feature-libraries/sequence-field/formatV3.d.ts +126 -125
- package/lib/feature-libraries/sequence-field/formatV3.d.ts.map +1 -1
- package/lib/feature-libraries/sequence-field/formatV3.js +1 -1
- package/lib/feature-libraries/sequence-field/formatV3.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/shared-tree/sharedTree.d.ts +2 -2
- package/lib/shared-tree/sharedTree.d.ts.map +1 -1
- package/lib/shared-tree/sharedTree.js +1 -1
- package/lib/shared-tree/sharedTree.js.map +1 -1
- package/lib/shared-tree/sharedTreeChangeFormat.d.ts +8 -7
- package/lib/shared-tree/sharedTreeChangeFormat.d.ts.map +1 -1
- package/lib/shared-tree/sharedTreeChangeFormat.js +1 -1
- package/lib/shared-tree/sharedTreeChangeFormat.js.map +1 -1
- package/lib/shared-tree/treeCheckout.d.ts +3 -3
- package/lib/shared-tree/treeCheckout.d.ts.map +1 -1
- package/lib/shared-tree/treeCheckout.js +1 -1
- package/lib/shared-tree/treeCheckout.js.map +1 -1
- package/lib/shared-tree-core/editManager.d.ts +2 -2
- package/lib/shared-tree-core/editManager.d.ts.map +1 -1
- package/lib/shared-tree-core/editManager.js.map +1 -1
- package/lib/shared-tree-core/editManagerFormatCommons.d.ts +35 -34
- package/lib/shared-tree-core/editManagerFormatCommons.d.ts.map +1 -1
- package/lib/shared-tree-core/editManagerFormatCommons.js +1 -1
- package/lib/shared-tree-core/editManagerFormatCommons.js.map +1 -1
- package/lib/shared-tree-core/editManagerFormatV1toV4.d.ts +15 -15
- package/lib/shared-tree-core/editManagerFormatV1toV4.d.ts.map +1 -1
- package/lib/shared-tree-core/editManagerFormatV1toV4.js +1 -1
- package/lib/shared-tree-core/editManagerFormatV1toV4.js.map +1 -1
- package/lib/shared-tree-core/editManagerFormatVSharedBranches.d.ts +40 -40
- package/lib/shared-tree-core/editManagerFormatVSharedBranches.d.ts.map +1 -1
- package/lib/shared-tree-core/editManagerFormatVSharedBranches.js +1 -1
- package/lib/shared-tree-core/editManagerFormatVSharedBranches.js.map +1 -1
- package/lib/shared-tree-core/messageCodecVSharedBranches.d.ts.map +1 -1
- package/lib/shared-tree-core/messageCodecVSharedBranches.js +1 -1
- package/lib/shared-tree-core/messageCodecVSharedBranches.js.map +1 -1
- package/lib/shared-tree-core/messageFormatV1ToV4.d.ts +5 -5
- package/lib/shared-tree-core/messageFormatV1ToV4.d.ts.map +1 -1
- package/lib/shared-tree-core/messageFormatV1ToV4.js +1 -1
- package/lib/shared-tree-core/messageFormatV1ToV4.js.map +1 -1
- package/lib/shared-tree-core/messageFormatVSharedBranches.d.ts +7 -7
- package/lib/shared-tree-core/messageFormatVSharedBranches.d.ts.map +1 -1
- package/lib/shared-tree-core/messageFormatVSharedBranches.js +1 -1
- package/lib/shared-tree-core/messageFormatVSharedBranches.js.map +1 -1
- package/lib/simple-tree/core/treeNodeKernel.d.ts +5 -0
- package/lib/simple-tree/core/treeNodeKernel.d.ts.map +1 -1
- package/lib/simple-tree/core/treeNodeKernel.js +35 -12
- package/lib/simple-tree/core/treeNodeKernel.js.map +1 -1
- package/lib/simple-tree/simpleSchemaFormatV1.d.ts +121 -120
- package/lib/simple-tree/simpleSchemaFormatV1.d.ts.map +1 -1
- package/lib/simple-tree/simpleSchemaFormatV1.js +1 -1
- package/lib/simple-tree/simpleSchemaFormatV1.js.map +1 -1
- package/lib/util/typeboxBrand.d.ts +1 -1
- package/lib/util/typeboxBrand.d.ts.map +1 -1
- package/lib/util/typeboxBrand.js +1 -1
- package/lib/util/typeboxBrand.js.map +1 -1
- package/lib/util/utils.d.ts +2 -2
- package/lib/util/utils.d.ts.map +1 -1
- package/lib/util/utils.js +1 -1
- package/lib/util/utils.js.map +1 -1
- package/package.json +21 -21
- package/src/codec/versioned/format.ts +2 -1
- package/src/core/rebase/types.ts +1 -1
- package/src/core/schema-stored/formatV1.ts +2 -1
- package/src/core/schema-stored/formatV2.ts +2 -1
- package/src/core/tree/detachedFieldIndexFormatCommon.ts +2 -1
- package/src/core/tree/detachedFieldIndexFormatV2.ts +2 -1
- package/src/core/tree/persistedTreeTextFormat.ts +2 -1
- package/src/feature-libraries/chunked-forest/chunkTree.ts +3 -2
- package/src/feature-libraries/chunked-forest/codec/format/formatGeneric.ts +2 -1
- package/src/feature-libraries/chunked-forest/codec/format/formatV1.ts +2 -1
- package/src/feature-libraries/chunked-forest/codec/format/formatV2.ts +2 -1
- package/src/feature-libraries/chunked-forest/codec/format/formatVText.ts +2 -1
- package/src/feature-libraries/chunked-forest/uniformChunk.ts +131 -44
- package/src/feature-libraries/default-schema/defaultEditBuilder.ts +36 -14
- package/src/feature-libraries/forest-summary/formatCommon.ts +2 -1
- package/src/feature-libraries/modular-schema/genericFieldKindFormat.ts +2 -1
- package/src/feature-libraries/modular-schema/modularChangeFormatV1.ts +2 -1
- package/src/feature-libraries/modular-schema/modularChangeFormatV2.ts +2 -1
- package/src/feature-libraries/optional-field/optionalFieldChangeFormatV1.ts +2 -1
- package/src/feature-libraries/optional-field/optionalFieldChangeFormatV2.ts +2 -1
- package/src/feature-libraries/schema-edits/schemaChangeFormat.ts +2 -1
- package/src/feature-libraries/schema-index/formatV1.ts +2 -1
- package/src/feature-libraries/schema-index/formatV2.ts +2 -1
- package/src/feature-libraries/sequence-field/compose.ts +1 -4
- package/src/feature-libraries/sequence-field/formatV1.ts +2 -1
- package/src/feature-libraries/sequence-field/formatV2.ts +2 -1
- package/src/feature-libraries/sequence-field/formatV3.ts +2 -1
- package/src/packageVersion.ts +1 -1
- package/src/shared-tree/sharedTree.ts +2 -5
- package/src/shared-tree/sharedTreeChangeFormat.ts +2 -1
- package/src/shared-tree/treeCheckout.ts +3 -6
- package/src/shared-tree-core/editManager.ts +2 -2
- package/src/shared-tree-core/editManagerFormatCommons.ts +2 -1
- package/src/shared-tree-core/editManagerFormatV1toV4.ts +2 -1
- package/src/shared-tree-core/editManagerFormatVSharedBranches.ts +2 -1
- package/src/shared-tree-core/messageCodecVSharedBranches.ts +2 -1
- package/src/shared-tree-core/messageFormatV1ToV4.ts +2 -1
- package/src/shared-tree-core/messageFormatVSharedBranches.ts +2 -1
- package/src/simple-tree/core/treeNodeKernel.ts +39 -15
- package/src/simple-tree/simpleSchemaFormatV1.ts +2 -1
- package/src/util/typeboxBrand.ts +2 -1
- package/src/util/utils.ts +2 -1
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import * as Type from "@sinclair/typebox";
|
|
6
|
+
import type { Static, TSchema } from "@sinclair/typebox";
|
|
6
7
|
export declare enum DetachIdOverrideType {
|
|
7
8
|
/**
|
|
8
9
|
* The detach effect is the inverse of the prior attach characterized by the accompanying `CellId`'s revision and
|
|
@@ -23,382 +24,382 @@ export declare enum DetachIdOverrideType {
|
|
|
23
24
|
*/
|
|
24
25
|
Redetach = 1
|
|
25
26
|
}
|
|
26
|
-
declare const CellCount:
|
|
27
|
-
declare const MoveId:
|
|
28
|
-
declare const LineageEvent:
|
|
29
|
-
declare const IdRange:
|
|
30
|
-
declare const CellId:
|
|
31
|
-
lineage:
|
|
32
|
-
atom:
|
|
33
|
-
adjacentCells:
|
|
27
|
+
declare const CellCount: Type.TNumber;
|
|
28
|
+
declare const MoveId: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
29
|
+
declare const LineageEvent: Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>;
|
|
30
|
+
declare const IdRange: Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>;
|
|
31
|
+
declare const CellId: Type.TObject<{
|
|
32
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
33
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
34
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
34
35
|
}>;
|
|
35
|
-
declare const Insert:
|
|
36
|
-
id:
|
|
37
|
-
revision:
|
|
36
|
+
declare const Insert: Type.TObject<{
|
|
37
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
38
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
38
39
|
}>;
|
|
39
|
-
declare const MoveIn:
|
|
40
|
-
revision:
|
|
41
|
-
id:
|
|
42
|
-
finalEndpoint:
|
|
40
|
+
declare const MoveIn: Type.TObject<{
|
|
41
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
42
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
43
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
43
44
|
}>;
|
|
44
|
-
declare const Remove:
|
|
45
|
-
id:
|
|
46
|
-
revision:
|
|
47
|
-
idOverride:
|
|
48
|
-
type:
|
|
49
|
-
id:
|
|
50
|
-
lineage:
|
|
51
|
-
atom:
|
|
52
|
-
adjacentCells:
|
|
45
|
+
declare const Remove: Type.TObject<{
|
|
46
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
47
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
48
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
49
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
50
|
+
id: Type.TObject<{
|
|
51
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
52
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
53
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
53
54
|
}>;
|
|
54
55
|
}>>;
|
|
55
56
|
}>;
|
|
56
|
-
declare const MoveOut:
|
|
57
|
-
revision:
|
|
58
|
-
id:
|
|
59
|
-
finalEndpoint:
|
|
60
|
-
idOverride:
|
|
61
|
-
type:
|
|
62
|
-
id:
|
|
63
|
-
lineage:
|
|
64
|
-
atom:
|
|
65
|
-
adjacentCells:
|
|
57
|
+
declare const MoveOut: Type.TObject<{
|
|
58
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
59
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
60
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
61
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
62
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
63
|
+
id: Type.TObject<{
|
|
64
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
65
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
66
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
66
67
|
}>;
|
|
67
68
|
}>>;
|
|
68
69
|
}>;
|
|
69
|
-
declare const Attach:
|
|
70
|
-
insert:
|
|
71
|
-
id:
|
|
72
|
-
revision:
|
|
70
|
+
declare const Attach: Type.TObject<{
|
|
71
|
+
insert: Type.TOptional<Type.TObject<{
|
|
72
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
73
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
73
74
|
}>>;
|
|
74
|
-
moveIn:
|
|
75
|
-
revision:
|
|
76
|
-
id:
|
|
77
|
-
finalEndpoint:
|
|
75
|
+
moveIn: Type.TOptional<Type.TObject<{
|
|
76
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
77
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
78
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
78
79
|
}>>;
|
|
79
80
|
}>;
|
|
80
|
-
declare const Detach:
|
|
81
|
-
delete:
|
|
82
|
-
id:
|
|
83
|
-
revision:
|
|
84
|
-
idOverride:
|
|
85
|
-
type:
|
|
86
|
-
id:
|
|
87
|
-
lineage:
|
|
88
|
-
atom:
|
|
89
|
-
adjacentCells:
|
|
81
|
+
declare const Detach: Type.TObject<{
|
|
82
|
+
delete: Type.TOptional<Type.TObject<{
|
|
83
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
84
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
85
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
86
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
87
|
+
id: Type.TObject<{
|
|
88
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
89
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
90
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
90
91
|
}>;
|
|
91
92
|
}>>;
|
|
92
93
|
}>>;
|
|
93
|
-
moveOut:
|
|
94
|
-
revision:
|
|
95
|
-
id:
|
|
96
|
-
finalEndpoint:
|
|
97
|
-
idOverride:
|
|
98
|
-
type:
|
|
99
|
-
id:
|
|
100
|
-
lineage:
|
|
101
|
-
atom:
|
|
102
|
-
adjacentCells:
|
|
94
|
+
moveOut: Type.TOptional<Type.TObject<{
|
|
95
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
96
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
97
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
98
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
99
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
100
|
+
id: Type.TObject<{
|
|
101
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
102
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
103
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
103
104
|
}>;
|
|
104
105
|
}>>;
|
|
105
106
|
}>>;
|
|
106
107
|
}>;
|
|
107
|
-
declare const AttachAndDetach:
|
|
108
|
-
attach:
|
|
109
|
-
insert:
|
|
110
|
-
id:
|
|
111
|
-
revision:
|
|
108
|
+
declare const AttachAndDetach: Type.TObject<{
|
|
109
|
+
attach: Type.TObject<{
|
|
110
|
+
insert: Type.TOptional<Type.TObject<{
|
|
111
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
112
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
112
113
|
}>>;
|
|
113
|
-
moveIn:
|
|
114
|
-
revision:
|
|
115
|
-
id:
|
|
116
|
-
finalEndpoint:
|
|
114
|
+
moveIn: Type.TOptional<Type.TObject<{
|
|
115
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
116
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
117
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
117
118
|
}>>;
|
|
118
119
|
}>;
|
|
119
|
-
detach:
|
|
120
|
-
delete:
|
|
121
|
-
id:
|
|
122
|
-
revision:
|
|
123
|
-
idOverride:
|
|
124
|
-
type:
|
|
125
|
-
id:
|
|
126
|
-
lineage:
|
|
127
|
-
atom:
|
|
128
|
-
adjacentCells:
|
|
120
|
+
detach: Type.TObject<{
|
|
121
|
+
delete: Type.TOptional<Type.TObject<{
|
|
122
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
123
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
124
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
125
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
126
|
+
id: Type.TObject<{
|
|
127
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
128
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
129
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
129
130
|
}>;
|
|
130
131
|
}>>;
|
|
131
132
|
}>>;
|
|
132
|
-
moveOut:
|
|
133
|
-
revision:
|
|
134
|
-
id:
|
|
135
|
-
finalEndpoint:
|
|
136
|
-
idOverride:
|
|
137
|
-
type:
|
|
138
|
-
id:
|
|
139
|
-
lineage:
|
|
140
|
-
atom:
|
|
141
|
-
adjacentCells:
|
|
133
|
+
moveOut: Type.TOptional<Type.TObject<{
|
|
134
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
135
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
136
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
137
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
138
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
139
|
+
id: Type.TObject<{
|
|
140
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
141
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
142
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
142
143
|
}>;
|
|
143
144
|
}>>;
|
|
144
145
|
}>>;
|
|
145
146
|
}>;
|
|
146
147
|
}>;
|
|
147
|
-
declare const MarkEffect:
|
|
148
|
-
insert:
|
|
149
|
-
id:
|
|
150
|
-
revision:
|
|
148
|
+
declare const MarkEffect: Type.TObject<{
|
|
149
|
+
insert: Type.TOptional<Type.TObject<{
|
|
150
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
151
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
151
152
|
}>>;
|
|
152
|
-
moveIn:
|
|
153
|
-
revision:
|
|
154
|
-
id:
|
|
155
|
-
finalEndpoint:
|
|
153
|
+
moveIn: Type.TOptional<Type.TObject<{
|
|
154
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
155
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
156
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
156
157
|
}>>;
|
|
157
|
-
delete:
|
|
158
|
-
id:
|
|
159
|
-
revision:
|
|
160
|
-
idOverride:
|
|
161
|
-
type:
|
|
162
|
-
id:
|
|
163
|
-
lineage:
|
|
164
|
-
atom:
|
|
165
|
-
adjacentCells:
|
|
158
|
+
delete: Type.TOptional<Type.TObject<{
|
|
159
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
160
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
161
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
162
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
163
|
+
id: Type.TObject<{
|
|
164
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
165
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
166
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
166
167
|
}>;
|
|
167
168
|
}>>;
|
|
168
169
|
}>>;
|
|
169
|
-
moveOut:
|
|
170
|
-
revision:
|
|
171
|
-
id:
|
|
172
|
-
finalEndpoint:
|
|
173
|
-
idOverride:
|
|
174
|
-
type:
|
|
175
|
-
id:
|
|
176
|
-
lineage:
|
|
177
|
-
atom:
|
|
178
|
-
adjacentCells:
|
|
170
|
+
moveOut: Type.TOptional<Type.TObject<{
|
|
171
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
172
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
173
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
174
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
175
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
176
|
+
id: Type.TObject<{
|
|
177
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
178
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
179
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
179
180
|
}>;
|
|
180
181
|
}>>;
|
|
181
182
|
}>>;
|
|
182
|
-
attachAndDetach:
|
|
183
|
-
attach:
|
|
184
|
-
insert:
|
|
185
|
-
id:
|
|
186
|
-
revision:
|
|
183
|
+
attachAndDetach: Type.TOptional<Type.TObject<{
|
|
184
|
+
attach: Type.TObject<{
|
|
185
|
+
insert: Type.TOptional<Type.TObject<{
|
|
186
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
187
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
187
188
|
}>>;
|
|
188
|
-
moveIn:
|
|
189
|
-
revision:
|
|
190
|
-
id:
|
|
191
|
-
finalEndpoint:
|
|
189
|
+
moveIn: Type.TOptional<Type.TObject<{
|
|
190
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
191
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
192
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
192
193
|
}>>;
|
|
193
194
|
}>;
|
|
194
|
-
detach:
|
|
195
|
-
delete:
|
|
196
|
-
id:
|
|
197
|
-
revision:
|
|
198
|
-
idOverride:
|
|
199
|
-
type:
|
|
200
|
-
id:
|
|
201
|
-
lineage:
|
|
202
|
-
atom:
|
|
203
|
-
adjacentCells:
|
|
195
|
+
detach: Type.TObject<{
|
|
196
|
+
delete: Type.TOptional<Type.TObject<{
|
|
197
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
198
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
199
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
200
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
201
|
+
id: Type.TObject<{
|
|
202
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
203
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
204
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
204
205
|
}>;
|
|
205
206
|
}>>;
|
|
206
207
|
}>>;
|
|
207
|
-
moveOut:
|
|
208
|
-
revision:
|
|
209
|
-
id:
|
|
210
|
-
finalEndpoint:
|
|
211
|
-
idOverride:
|
|
212
|
-
type:
|
|
213
|
-
id:
|
|
214
|
-
lineage:
|
|
215
|
-
atom:
|
|
216
|
-
adjacentCells:
|
|
208
|
+
moveOut: Type.TOptional<Type.TObject<{
|
|
209
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
210
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
211
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
212
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
213
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
214
|
+
id: Type.TObject<{
|
|
215
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
216
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
217
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
217
218
|
}>;
|
|
218
219
|
}>>;
|
|
219
220
|
}>>;
|
|
220
221
|
}>;
|
|
221
222
|
}>>;
|
|
222
223
|
}>;
|
|
223
|
-
declare const CellMark: <TMark extends TSchema, TNodeChange extends TSchema>(tMark: TMark, tNodeChange: TNodeChange) =>
|
|
224
|
-
effect: TMark extends
|
|
225
|
-
cellId:
|
|
226
|
-
lineage:
|
|
227
|
-
atom:
|
|
228
|
-
adjacentCells:
|
|
224
|
+
declare const CellMark: <TMark extends Type.TSchema, TNodeChange extends Type.TSchema>(tMark: TMark, tNodeChange: TNodeChange) => Type.TObject<{
|
|
225
|
+
effect: TMark extends Type.TOptional<infer S extends Type.TSchema> ? Type.TOptional<S> : Type.Ensure<Type.TOptional<TMark>>;
|
|
226
|
+
cellId: Type.TOptional<Type.TObject<{
|
|
227
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
228
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
229
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
229
230
|
}>>;
|
|
230
|
-
changes: TNodeChange extends
|
|
231
|
-
count:
|
|
231
|
+
changes: TNodeChange extends Type.TOptional<infer S extends Type.TSchema> ? Type.TOptional<S> : Type.Ensure<Type.TOptional<TNodeChange>>;
|
|
232
|
+
count: Type.TNumber;
|
|
232
233
|
}>;
|
|
233
|
-
declare const Mark: <Schema extends TSchema>(tNodeChange: Schema) =>
|
|
234
|
-
effect:
|
|
235
|
-
insert:
|
|
236
|
-
id:
|
|
237
|
-
revision:
|
|
234
|
+
declare const Mark: <Schema extends Type.TSchema>(tNodeChange: Schema) => Type.TObject<{
|
|
235
|
+
effect: Type.TOptional<Type.TObject<{
|
|
236
|
+
insert: Type.TOptional<Type.TObject<{
|
|
237
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
238
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
238
239
|
}>>;
|
|
239
|
-
moveIn:
|
|
240
|
-
revision:
|
|
241
|
-
id:
|
|
242
|
-
finalEndpoint:
|
|
240
|
+
moveIn: Type.TOptional<Type.TObject<{
|
|
241
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
242
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
243
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
243
244
|
}>>;
|
|
244
|
-
delete:
|
|
245
|
-
id:
|
|
246
|
-
revision:
|
|
247
|
-
idOverride:
|
|
248
|
-
type:
|
|
249
|
-
id:
|
|
250
|
-
lineage:
|
|
251
|
-
atom:
|
|
252
|
-
adjacentCells:
|
|
245
|
+
delete: Type.TOptional<Type.TObject<{
|
|
246
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
247
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
248
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
249
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
250
|
+
id: Type.TObject<{
|
|
251
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
252
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
253
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
253
254
|
}>;
|
|
254
255
|
}>>;
|
|
255
256
|
}>>;
|
|
256
|
-
moveOut:
|
|
257
|
-
revision:
|
|
258
|
-
id:
|
|
259
|
-
finalEndpoint:
|
|
260
|
-
idOverride:
|
|
261
|
-
type:
|
|
262
|
-
id:
|
|
263
|
-
lineage:
|
|
264
|
-
atom:
|
|
265
|
-
adjacentCells:
|
|
257
|
+
moveOut: Type.TOptional<Type.TObject<{
|
|
258
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
259
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
260
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
261
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
262
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
263
|
+
id: Type.TObject<{
|
|
264
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
265
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
266
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
266
267
|
}>;
|
|
267
268
|
}>>;
|
|
268
269
|
}>>;
|
|
269
|
-
attachAndDetach:
|
|
270
|
-
attach:
|
|
271
|
-
insert:
|
|
272
|
-
id:
|
|
273
|
-
revision:
|
|
270
|
+
attachAndDetach: Type.TOptional<Type.TObject<{
|
|
271
|
+
attach: Type.TObject<{
|
|
272
|
+
insert: Type.TOptional<Type.TObject<{
|
|
273
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
274
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
274
275
|
}>>;
|
|
275
|
-
moveIn:
|
|
276
|
-
revision:
|
|
277
|
-
id:
|
|
278
|
-
finalEndpoint:
|
|
276
|
+
moveIn: Type.TOptional<Type.TObject<{
|
|
277
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
278
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
279
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
279
280
|
}>>;
|
|
280
281
|
}>;
|
|
281
|
-
detach:
|
|
282
|
-
delete:
|
|
283
|
-
id:
|
|
284
|
-
revision:
|
|
285
|
-
idOverride:
|
|
286
|
-
type:
|
|
287
|
-
id:
|
|
288
|
-
lineage:
|
|
289
|
-
atom:
|
|
290
|
-
adjacentCells:
|
|
282
|
+
detach: Type.TObject<{
|
|
283
|
+
delete: Type.TOptional<Type.TObject<{
|
|
284
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
285
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
286
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
287
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
288
|
+
id: Type.TObject<{
|
|
289
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
290
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
291
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
291
292
|
}>;
|
|
292
293
|
}>>;
|
|
293
294
|
}>>;
|
|
294
|
-
moveOut:
|
|
295
|
-
revision:
|
|
296
|
-
id:
|
|
297
|
-
finalEndpoint:
|
|
298
|
-
idOverride:
|
|
299
|
-
type:
|
|
300
|
-
id:
|
|
301
|
-
lineage:
|
|
302
|
-
atom:
|
|
303
|
-
adjacentCells:
|
|
295
|
+
moveOut: Type.TOptional<Type.TObject<{
|
|
296
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
297
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
298
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
299
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
300
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
301
|
+
id: Type.TObject<{
|
|
302
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
303
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
304
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
304
305
|
}>;
|
|
305
306
|
}>>;
|
|
306
307
|
}>>;
|
|
307
308
|
}>;
|
|
308
309
|
}>>;
|
|
309
310
|
}>>;
|
|
310
|
-
cellId:
|
|
311
|
-
lineage:
|
|
312
|
-
atom:
|
|
313
|
-
adjacentCells:
|
|
311
|
+
cellId: Type.TOptional<Type.TObject<{
|
|
312
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
313
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
314
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
314
315
|
}>>;
|
|
315
|
-
changes: Schema extends
|
|
316
|
-
count:
|
|
316
|
+
changes: Schema extends Type.TOptional<infer S extends Type.TSchema> ? Type.TOptional<S> : Type.Ensure<Type.TOptional<Schema>>;
|
|
317
|
+
count: Type.TNumber;
|
|
317
318
|
}>;
|
|
318
|
-
export declare const Changeset: <Schema extends TSchema>(tNodeChange: Schema) =>
|
|
319
|
-
effect:
|
|
320
|
-
insert:
|
|
321
|
-
id:
|
|
322
|
-
revision:
|
|
319
|
+
export declare const Changeset: <Schema extends Type.TSchema>(tNodeChange: Schema) => Type.TArray<Type.TObject<{
|
|
320
|
+
effect: Type.TOptional<Type.TObject<{
|
|
321
|
+
insert: Type.TOptional<Type.TObject<{
|
|
322
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
323
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
323
324
|
}>>;
|
|
324
|
-
moveIn:
|
|
325
|
-
revision:
|
|
326
|
-
id:
|
|
327
|
-
finalEndpoint:
|
|
325
|
+
moveIn: Type.TOptional<Type.TObject<{
|
|
326
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
327
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
328
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
328
329
|
}>>;
|
|
329
|
-
delete:
|
|
330
|
-
id:
|
|
331
|
-
revision:
|
|
332
|
-
idOverride:
|
|
333
|
-
type:
|
|
334
|
-
id:
|
|
335
|
-
lineage:
|
|
336
|
-
atom:
|
|
337
|
-
adjacentCells:
|
|
330
|
+
delete: Type.TOptional<Type.TObject<{
|
|
331
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
332
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
333
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
334
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
335
|
+
id: Type.TObject<{
|
|
336
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
337
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
338
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
338
339
|
}>;
|
|
339
340
|
}>>;
|
|
340
341
|
}>>;
|
|
341
|
-
moveOut:
|
|
342
|
-
revision:
|
|
343
|
-
id:
|
|
344
|
-
finalEndpoint:
|
|
345
|
-
idOverride:
|
|
346
|
-
type:
|
|
347
|
-
id:
|
|
348
|
-
lineage:
|
|
349
|
-
atom:
|
|
350
|
-
adjacentCells:
|
|
342
|
+
moveOut: Type.TOptional<Type.TObject<{
|
|
343
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
344
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
345
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
346
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
347
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
348
|
+
id: Type.TObject<{
|
|
349
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
350
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
351
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
351
352
|
}>;
|
|
352
353
|
}>>;
|
|
353
354
|
}>>;
|
|
354
|
-
attachAndDetach:
|
|
355
|
-
attach:
|
|
356
|
-
insert:
|
|
357
|
-
id:
|
|
358
|
-
revision:
|
|
355
|
+
attachAndDetach: Type.TOptional<Type.TObject<{
|
|
356
|
+
attach: Type.TObject<{
|
|
357
|
+
insert: Type.TOptional<Type.TObject<{
|
|
358
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
359
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
359
360
|
}>>;
|
|
360
|
-
moveIn:
|
|
361
|
-
revision:
|
|
362
|
-
id:
|
|
363
|
-
finalEndpoint:
|
|
361
|
+
moveIn: Type.TOptional<Type.TObject<{
|
|
362
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
363
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
364
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
364
365
|
}>>;
|
|
365
366
|
}>;
|
|
366
|
-
detach:
|
|
367
|
-
delete:
|
|
368
|
-
id:
|
|
369
|
-
revision:
|
|
370
|
-
idOverride:
|
|
371
|
-
type:
|
|
372
|
-
id:
|
|
373
|
-
lineage:
|
|
374
|
-
atom:
|
|
375
|
-
adjacentCells:
|
|
367
|
+
detach: Type.TObject<{
|
|
368
|
+
delete: Type.TOptional<Type.TObject<{
|
|
369
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
370
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
371
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
372
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
373
|
+
id: Type.TObject<{
|
|
374
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
375
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
376
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
376
377
|
}>;
|
|
377
378
|
}>>;
|
|
378
379
|
}>>;
|
|
379
|
-
moveOut:
|
|
380
|
-
revision:
|
|
381
|
-
id:
|
|
382
|
-
finalEndpoint:
|
|
383
|
-
idOverride:
|
|
384
|
-
type:
|
|
385
|
-
id:
|
|
386
|
-
lineage:
|
|
387
|
-
atom:
|
|
388
|
-
adjacentCells:
|
|
380
|
+
moveOut: Type.TOptional<Type.TObject<{
|
|
381
|
+
revision: Type.TOptional<Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>>;
|
|
382
|
+
id: Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>;
|
|
383
|
+
finalEndpoint: Type.TOptional<Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>>;
|
|
384
|
+
idOverride: Type.TOptional<Type.TObject<{
|
|
385
|
+
type: Type.TEnum<typeof DetachIdOverrideType>;
|
|
386
|
+
id: Type.TObject<{
|
|
387
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
388
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
389
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
389
390
|
}>;
|
|
390
391
|
}>>;
|
|
391
392
|
}>>;
|
|
392
393
|
}>;
|
|
393
394
|
}>>;
|
|
394
395
|
}>>;
|
|
395
|
-
cellId:
|
|
396
|
-
lineage:
|
|
397
|
-
atom:
|
|
398
|
-
adjacentCells:
|
|
396
|
+
cellId: Type.TOptional<Type.TObject<{
|
|
397
|
+
lineage: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber, Type.TNumber]>>>;
|
|
398
|
+
atom: Type.TUnion<[Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TUnion<[Type.TLiteral<"root">, Type.TUnsafe<import("../../util/brand.js").Brand<import("@fluidframework/id-compressor").OpSpaceCompressedId, "EncodedRevisionTag">>]>]>, Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>]>;
|
|
399
|
+
adjacentCells: Type.TOptional<Type.TArray<Type.TTuple<[Type.TUnsafe<import("../../core/index.js").ChangesetLocalId>, Type.TNumber]>>>;
|
|
399
400
|
}>>;
|
|
400
|
-
changes: Schema extends
|
|
401
|
-
count:
|
|
401
|
+
changes: Schema extends Type.TOptional<infer S extends Type.TSchema> ? Type.TOptional<S> : Type.Ensure<Type.TOptional<Schema>>;
|
|
402
|
+
count: Type.TNumber;
|
|
402
403
|
}>>;
|
|
403
404
|
/**
|
|
404
405
|
* @privateRemarks Many of these names are currently used in the sequence-field types. Putting them in a namespace makes codec code more readable.
|