@univerjs/core v0.1.17 • Docs
Variable: type
const type: {
BLACKHOLE: ConflictType;
DROP_COLLISION: ConflictType;
RM_UNEXPECTED_CONTENT: ConflictType;
apply: typeof apply;
checkValidOp: typeof checkValidOp;
compose: typeof compose;
invert: typeof invert;
invertWithDoc: typeof invertWithDoc;
makeInvertible: typeof makeInvertible;
name: string;
normalize: typeof normalize;
readCursor: (op) => ReadCursor;
registerSubtype: typeof registerSubtype;
transform: typeof transform;
transformNoConflict: (op1, op2, side) => JSONOp;
transformPosition: typeof transformPosition;
tryTransform: typeof tryTransform;
typeAllowingConflictsPred: (allowConflict) => {
BLACKHOLE: ConflictType;
DROP_COLLISION: ConflictType;
RM_UNEXPECTED_CONTENT: ConflictType;
apply: typeof apply;
checkValidOp: typeof checkValidOp;
compose: typeof compose;
invert: typeof invert;
invertWithDoc: typeof invertWithDoc;
makeInvertible: typeof makeInvertible;
name: string;
normalize: typeof normalize;
readCursor: (op) => ReadCursor;
registerSubtype: typeof registerSubtype;
transformNoConflict: (op1, op2, side) => JSONOp;
transformPosition: typeof transformPosition;
tryTransform: typeof tryTransform;
typeAllowingConflictsPred: any;
uri: string;
writeCursor: () => WriteCursor;
create: Doc;
isNoop: boolean;
setDebug: void;
transform: JSONOp;
};
uri: string;
writeCursor: () => WriteCursor;
create: Doc;
isNoop: boolean;
setDebug: void;
};
Type declaration
Name | Type | Defined in |
---|---|---|
BLACKHOLE | ConflictType | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:24 |
DROP_COLLISION | ConflictType | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:23 |
RM_UNEXPECTED_CONTENT | ConflictType | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:22 |
apply | typeof apply | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:14 |
checkValidOp | typeof checkValidOp | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:12 |
compose | typeof compose | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:16 |
invert | typeof invert | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:20 |
invertWithDoc | typeof invertWithDoc | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:21 |
makeInvertible | typeof makeInvertible | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:19 |
name | string | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:4 |
normalize | typeof normalize | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:13 |
readCursor | (op ) => ReadCursor | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:6 |
registerSubtype | typeof registerSubtype | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:11 |
transform | typeof transform | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:18 |
transformNoConflict | (op1 , op2 , side ) => JSONOp | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:25 |
transformPosition | typeof transformPosition | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:15 |
tryTransform | typeof tryTransform | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:17 |
typeAllowingConflictsPred | (allowConflict ) => { BLACKHOLE : ConflictType ; DROP_COLLISION : ConflictType ; RM_UNEXPECTED_CONTENT : ConflictType ; apply : typeof apply ; checkValidOp : typeof checkValidOp ; compose : typeof compose ; invert : typeof invert ; invertWithDoc : typeof invertWithDoc ; makeInvertible : typeof makeInvertible ; name : string ; normalize : typeof normalize ; readCursor : (op ) => ReadCursor ; registerSubtype : typeof registerSubtype ; transformNoConflict : (op1 , op2 , side ) => JSONOp ; transformPosition : typeof transformPosition ; tryTransform : typeof tryTransform ; typeAllowingConflictsPred : any ; uri : string ; writeCursor : () => WriteCursor ; create : Doc ; isNoop : boolean ; setDebug : void ; transform : JSONOp ; } | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:26 |
uri | string | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:5 |
writeCursor | () => WriteCursor | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:7 |
create | Doc | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:8 |
isNoop | boolean | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:9 |
setDebug | void | submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:10 |
Defined in
submodules/univer/node_modules/.pnpm/ot-json1@1.0.2/node_modules/ot-json1/dist/json1.d.ts:3