mirror of
https://github.com/yjs/yjs.git
synced 2025-12-16 11:47:46 +01:00
expose more missing api
This commit is contained in:
@@ -114,7 +114,12 @@ export {
|
|||||||
mergeIdSets,
|
mergeIdSets,
|
||||||
cloneDoc,
|
cloneDoc,
|
||||||
readUpdateIdRanges,
|
readUpdateIdRanges,
|
||||||
readUpdateIdRangesV2
|
readUpdateIdRangesV2,
|
||||||
|
insertIntoIdMap,
|
||||||
|
insertIntoIdSet,
|
||||||
|
mergeIdMaps,
|
||||||
|
readIdMap,
|
||||||
|
readIdSet
|
||||||
} from './internals.js'
|
} from './internals.js'
|
||||||
|
|
||||||
const glo = /** @type {any} */ (typeof globalThis !== 'undefined'
|
const glo = /** @type {any} */ (typeof globalThis !== 'undefined'
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ import * as buf from 'lib0/buffer'
|
|||||||
import * as rabin from 'lib0/hash/rabin'
|
import * as rabin from 'lib0/hash/rabin'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @todo rename this to `Attribute`
|
||||||
* @template V
|
* @template V
|
||||||
*/
|
*/
|
||||||
export class AttributionItem {
|
export class AttributionItem {
|
||||||
@@ -47,6 +48,7 @@ const _hashAttribution = attr => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @todo rename this to `createAttribute`
|
||||||
* @template V
|
* @template V
|
||||||
* @param {string} name
|
* @param {string} name
|
||||||
* @param {V} val
|
* @param {V} val
|
||||||
|
|||||||
Reference in New Issue
Block a user