implemented frontend including separate message system; started to implement backend
This commit is contained in:
70
yjs-poll/node_modules/yjs/dist/src/structs/ContentString.d.ts
generated
vendored
Normal file
70
yjs-poll/node_modules/yjs/dist/src/structs/ContentString.d.ts
generated
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
export class ContentString {
|
||||
/**
|
||||
* @param {string} str
|
||||
*/
|
||||
constructor(str: string);
|
||||
/**
|
||||
* @type {string}
|
||||
*/
|
||||
str: string;
|
||||
/**
|
||||
* @return {number}
|
||||
*/
|
||||
getLength(): number;
|
||||
/**
|
||||
* @return {Array<any>}
|
||||
*/
|
||||
getContent(): Array<any>;
|
||||
/**
|
||||
* @return {boolean}
|
||||
*/
|
||||
isCountable(): boolean;
|
||||
/**
|
||||
* @return {ContentString}
|
||||
*/
|
||||
copy(): ContentString;
|
||||
/**
|
||||
* @param {number} offset
|
||||
* @return {ContentString}
|
||||
*/
|
||||
splice(offset: number): ContentString;
|
||||
/**
|
||||
* @param {ContentString} right
|
||||
* @return {boolean}
|
||||
*/
|
||||
mergeWith(right: ContentString): boolean;
|
||||
/**
|
||||
* @param {Transaction} transaction
|
||||
* @param {Item} item
|
||||
*/
|
||||
integrate(transaction: Transaction, item: Item): void;
|
||||
/**
|
||||
* @param {Transaction} transaction
|
||||
*/
|
||||
delete(transaction: Transaction): void;
|
||||
/**
|
||||
* @param {StructStore} store
|
||||
*/
|
||||
gc(store: StructStore): void;
|
||||
/**
|
||||
* @param {UpdateEncoderV1 | UpdateEncoderV2} encoder
|
||||
* @param {number} offset
|
||||
*/
|
||||
write(encoder: UpdateEncoderV1 | UpdateEncoderV2, offset: number): void;
|
||||
/**
|
||||
* @return {number}
|
||||
*/
|
||||
getRef(): number;
|
||||
}
|
||||
export function readContentString(decoder: UpdateDecoderV1 | UpdateDecoderV2): ContentString;
|
||||
import { Transaction } from "../utils/Transaction.js";
|
||||
import { Item } from "./Item.js";
|
||||
import { StructStore } from "../utils/StructStore.js";
|
||||
import { UpdateEncoderV1 } from "../utils/UpdateEncoder.js";
|
||||
import { UpdateEncoderV2 } from "../utils/UpdateEncoder.js";
|
||||
import { UpdateDecoderV1 } from "../utils/UpdateDecoder.js";
|
||||
import { UpdateDecoderV2 } from "../utils/UpdateDecoder.js";
|
||||
//# sourceMappingURL=ContentString.d.ts.map
|
||||
Reference in New Issue
Block a user