implemented frontend including separate message system; started to implement backend
This commit is contained in:
13
yjs-poll/node_modules/lib0/dist/trait/fingerprint.d.ts
generated
vendored
Normal file
13
yjs-poll/node_modules/lib0/dist/trait/fingerprint.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
export const FingerprintTraitSymbol: unique symbol;
|
||||
export function fingerprint(a: Fingerprintable): string;
|
||||
/**
|
||||
* When implementing this trait, it is recommended to write some sort of "magic number" first to
|
||||
* ensure that different types of objects don't have the same fingerprint.
|
||||
*
|
||||
* The recommended pracice is to generate a random u32 number as your magic number. e.g. using
|
||||
* `console.log(random.uint32().toString(16))`
|
||||
*/
|
||||
export type Fingerprintable = {
|
||||
[FingerprintTraitSymbol]: () => string;
|
||||
} | import("../encoding.js").AnyEncodable;
|
||||
//# sourceMappingURL=fingerprint.d.ts.map
|
||||
Reference in New Issue
Block a user