@liveblocks/core 3.14.0-pre3 → 3.14.0-pre4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -5
- package/dist/index.d.ts +1 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -716,6 +716,7 @@ type ObjectStorageNode = [id: string, value: SerializedObject];
|
|
|
716
716
|
type ListStorageNode = [id: string, value: SerializedList];
|
|
717
717
|
type MapStorageNode = [id: string, value: SerializedMap];
|
|
718
718
|
type RegisterStorageNode = [id: string, value: SerializedRegister];
|
|
719
|
+
type NodeMap = Map<string, SerializedCrdt>;
|
|
719
720
|
type NodeStream = Iterable<StorageNode>;
|
|
720
721
|
declare function isRootStorageNode(node: StorageNode): node is RootStorageNode;
|
|
721
722
|
declare function isObjectStorageNode(node: StorageNode): node is RootStorageNode | ObjectStorageNode;
|
|
@@ -4614,11 +4615,6 @@ declare function convertToSubscriptionData(data: SubscriptionDataPlain): Subscri
|
|
|
4614
4615
|
declare function convertToUserSubscriptionData(data: UserSubscriptionDataPlain): UserSubscriptionData;
|
|
4615
4616
|
declare function convertToGroupData(data: GroupDataPlain): GroupData;
|
|
4616
4617
|
|
|
4617
|
-
/**
|
|
4618
|
-
* Lookup table for nodes (= SerializedCrdt values) by their IDs.
|
|
4619
|
-
*/
|
|
4620
|
-
type NodeMap = Map<string, // Node ID
|
|
4621
|
-
SerializedCrdt>;
|
|
4622
4618
|
/**
|
|
4623
4619
|
* Reverse lookup table for all child nodes (= list of SerializedCrdt values)
|
|
4624
4620
|
* by their parent node's IDs.
|
package/dist/index.d.ts
CHANGED
|
@@ -716,6 +716,7 @@ type ObjectStorageNode = [id: string, value: SerializedObject];
|
|
|
716
716
|
type ListStorageNode = [id: string, value: SerializedList];
|
|
717
717
|
type MapStorageNode = [id: string, value: SerializedMap];
|
|
718
718
|
type RegisterStorageNode = [id: string, value: SerializedRegister];
|
|
719
|
+
type NodeMap = Map<string, SerializedCrdt>;
|
|
719
720
|
type NodeStream = Iterable<StorageNode>;
|
|
720
721
|
declare function isRootStorageNode(node: StorageNode): node is RootStorageNode;
|
|
721
722
|
declare function isObjectStorageNode(node: StorageNode): node is RootStorageNode | ObjectStorageNode;
|
|
@@ -4614,11 +4615,6 @@ declare function convertToSubscriptionData(data: SubscriptionDataPlain): Subscri
|
|
|
4614
4615
|
declare function convertToUserSubscriptionData(data: UserSubscriptionDataPlain): UserSubscriptionData;
|
|
4615
4616
|
declare function convertToGroupData(data: GroupDataPlain): GroupData;
|
|
4616
4617
|
|
|
4617
|
-
/**
|
|
4618
|
-
* Lookup table for nodes (= SerializedCrdt values) by their IDs.
|
|
4619
|
-
*/
|
|
4620
|
-
type NodeMap = Map<string, // Node ID
|
|
4621
|
-
SerializedCrdt>;
|
|
4622
4618
|
/**
|
|
4623
4619
|
* Reverse lookup table for all child nodes (= list of SerializedCrdt values)
|
|
4624
4620
|
* by their parent node's IDs.
|