@demind-inc/core 1.5.71 → 1.6.0
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/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/models/SharedAccess.d.ts +12 -0
- package/dist/models/SharedAccess.js +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/lib/constants.ts +1 -0
- package/lib/models/SharedAccess.ts +13 -0
- package/lib/models/index.ts +1 -0
- package/package.json +1 -1
package/dist/constants.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export declare const DB_COLLECTION: {
|
|
|
42
42
|
CHAT_MESSAGES: string;
|
|
43
43
|
CHAT_TASK_SESSION: string;
|
|
44
44
|
CHAT_GENERAL_SESSION: string;
|
|
45
|
+
SHARED_ACCESS: string;
|
|
45
46
|
};
|
|
46
47
|
export declare const SLEEP_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
|
47
48
|
export declare const STRESS_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[];
|
package/dist/constants.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface SharedAccess {
|
|
2
|
+
sharedAccessId: string;
|
|
3
|
+
ownerUserId: string;
|
|
4
|
+
targetUserId: string;
|
|
5
|
+
dataTypes: SharedAccessDataType[];
|
|
6
|
+
accessLevel: SharedAccessLevel;
|
|
7
|
+
status: SharedAccessStatus;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
export type SharedAccessStatus = "pending" | "accepted" | "declined";
|
|
11
|
+
export type SharedAccessDataType = "calendar" | "energy" | "todo";
|
|
12
|
+
export type SharedAccessLevel = "view" | "none";
|
package/dist/models/index.d.ts
CHANGED
package/dist/models/index.js
CHANGED
package/lib/constants.ts
CHANGED
|
@@ -43,6 +43,7 @@ export const DB_COLLECTION = {
|
|
|
43
43
|
CHAT_MESSAGES: "messages",
|
|
44
44
|
CHAT_TASK_SESSION: "taskSession",
|
|
45
45
|
CHAT_GENERAL_SESSION: "generalSession",
|
|
46
|
+
SHARED_ACCESS: "sharedAccess",
|
|
46
47
|
};
|
|
47
48
|
|
|
48
49
|
export const SLEEP_SUPPORTED_TERRA_PROVIDERS: SupportedTerraProvidersType[] = [
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface SharedAccess {
|
|
2
|
+
sharedAccessId: string;
|
|
3
|
+
ownerUserId: string;
|
|
4
|
+
targetUserId: string;
|
|
5
|
+
dataTypes: SharedAccessDataType[];
|
|
6
|
+
accessLevel: SharedAccessLevel;
|
|
7
|
+
status: SharedAccessStatus;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type SharedAccessStatus = "pending" | "accepted" | "declined";
|
|
12
|
+
export type SharedAccessDataType = "calendar" | "energy" | "todo";
|
|
13
|
+
export type SharedAccessLevel = "view" | "none";
|
package/lib/models/index.ts
CHANGED