implemented frontend including separate message system; started to implement backend

This commit is contained in:
User
2026-03-10 14:48:48 +01:00
committed by Jannik Luboeinski
parent 4275cbd795
commit 78d5352a48
1058 changed files with 101527 additions and 1 deletions

View File

@@ -0,0 +1,64 @@
export class ContentBinary {
/**
* @param {Uint8Array} content
*/
constructor(content: Uint8Array);
content: Uint8Array;
/**
* @return {number}
*/
getLength(): number;
/**
* @return {Array<any>}
*/
getContent(): Array<any>;
/**
* @return {boolean}
*/
isCountable(): boolean;
/**
* @return {ContentBinary}
*/
copy(): ContentBinary;
/**
* @param {number} offset
* @return {ContentBinary}
*/
splice(offset: number): ContentBinary;
/**
* @param {ContentBinary} right
* @return {boolean}
*/
mergeWith(right: ContentBinary): 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 readContentBinary(decoder: UpdateDecoderV1 | UpdateDecoderV2): ContentBinary;
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=ContentBinary.d.ts.map