@liveblocks/node 3.11.0 → 3.11.1
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -106,7 +106,7 @@ type CreateThreadOptions<M extends BaseMetadata> = {
|
|
|
106
106
|
metadata: M;
|
|
107
107
|
}>;
|
|
108
108
|
};
|
|
109
|
-
type RoomPermission = [] | ["room:write"] | ["room:read", "room:presence:write"];
|
|
109
|
+
type RoomPermission = [] | ["room:write"] | ["room:read", "room:presence:write"] | ["room:read", "room:presence:write", "comments:write"];
|
|
110
110
|
type RoomAccesses = Record<string, ["room:write"] | ["room:read", "room:presence:write"] | ["room:read", "room:presence:write", "comments:write"]>;
|
|
111
111
|
type RoomMetadata = Record<string, string | string[]>;
|
|
112
112
|
type QueryRoomMetadata = Record<string, string>;
|
|
@@ -213,6 +213,7 @@ type M = DM;
|
|
|
213
213
|
type S = DS;
|
|
214
214
|
type U = DU;
|
|
215
215
|
type RoomsQueryCriteria = {
|
|
216
|
+
tenantId?: string;
|
|
216
217
|
userId?: string;
|
|
217
218
|
groupIds?: string[];
|
|
218
219
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ type CreateThreadOptions<M extends BaseMetadata> = {
|
|
|
106
106
|
metadata: M;
|
|
107
107
|
}>;
|
|
108
108
|
};
|
|
109
|
-
type RoomPermission = [] | ["room:write"] | ["room:read", "room:presence:write"];
|
|
109
|
+
type RoomPermission = [] | ["room:write"] | ["room:read", "room:presence:write"] | ["room:read", "room:presence:write", "comments:write"];
|
|
110
110
|
type RoomAccesses = Record<string, ["room:write"] | ["room:read", "room:presence:write"] | ["room:read", "room:presence:write", "comments:write"]>;
|
|
111
111
|
type RoomMetadata = Record<string, string | string[]>;
|
|
112
112
|
type QueryRoomMetadata = Record<string, string>;
|
|
@@ -213,6 +213,7 @@ type M = DM;
|
|
|
213
213
|
type S = DS;
|
|
214
214
|
type U = DU;
|
|
215
215
|
type RoomsQueryCriteria = {
|
|
216
|
+
tenantId?: string;
|
|
216
217
|
userId?: string;
|
|
217
218
|
groupIds?: string[];
|
|
218
219
|
/**
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { detectDupes } from "@liveblocks/core";
|
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
5
|
var PKG_NAME = "@liveblocks/node";
|
|
6
|
-
var PKG_VERSION = "3.11.
|
|
6
|
+
var PKG_VERSION = "3.11.1";
|
|
7
7
|
var PKG_FORMAT = "esm";
|
|
8
8
|
|
|
9
9
|
// src/client.ts
|
|
@@ -495,6 +495,7 @@ var Liveblocks = class {
|
|
|
495
495
|
limit: params.limit,
|
|
496
496
|
startingAfter: params.startingAfter,
|
|
497
497
|
userId: params.userId,
|
|
498
|
+
tenantId: params.tenantId,
|
|
498
499
|
groupIds: params.groupIds ? params.groupIds.join(",") : void 0,
|
|
499
500
|
query
|
|
500
501
|
};
|