@kekkle/shared 0.0.1 → 0.0.2
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.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/types/group-general-data.d.ts +4 -4
- package/dist/types/group.d.ts +12 -12
- package/dist/types/push-document.d.ts +4 -4
- package/package.json +11 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as types from
|
|
2
|
-
export * as enums from
|
|
3
|
-
export * as constants from
|
|
1
|
+
export * as types from "./types";
|
|
2
|
+
export * as enums from "./enums";
|
|
3
|
+
export * as constants from "./constants";
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * as types from
|
|
2
|
-
export * as enums from
|
|
3
|
-
export * as constants from
|
|
1
|
+
export * as types from "./types";
|
|
2
|
+
export * as enums from "./enums";
|
|
3
|
+
export * as constants from "./constants";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type GroupGeneralData = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
number_of_events: number;
|
|
3
|
+
number_of_members: number;
|
|
4
|
+
number_of_quotes: number;
|
|
5
|
+
number_of_photos: number;
|
|
6
6
|
};
|
package/dist/types/group.d.ts
CHANGED
|
@@ -3,18 +3,18 @@ import type { GroupGeneralData } from "./group-general-data";
|
|
|
3
3
|
import type { GroupMember } from "./group-member";
|
|
4
4
|
import type { Uid } from "./uid";
|
|
5
5
|
export type Group = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
created_at: Timestamp;
|
|
7
|
+
updated_at: Timestamp;
|
|
8
|
+
description: string | undefined;
|
|
9
|
+
general_data: GroupGeneralData;
|
|
10
|
+
ical_token: string;
|
|
11
|
+
join_token: string | null | undefined;
|
|
12
|
+
join_token_timestamp: Timestamp | null | undefined;
|
|
13
|
+
members: {
|
|
14
14
|
[key: Uid]: GroupMember;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
members_uuids: string[];
|
|
17
|
+
name: string;
|
|
18
|
+
premium: boolean | null | undefined;
|
|
19
|
+
premium_till: Timestamp | null | undefined;
|
|
20
20
|
};
|
|
@@ -11,10 +11,10 @@ export type GroupPushDocumentTokens = {
|
|
|
11
11
|
[key: Uid]: Array<PushTokenObject>;
|
|
12
12
|
};
|
|
13
13
|
export type PushTokenObject = {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
token: string | null;
|
|
15
|
+
updated_at: Timestamp | string;
|
|
16
16
|
};
|
|
17
17
|
export type GroupPushDocument = {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
settings: GroupPushDocumentSettings;
|
|
19
|
+
tokens: GroupPushDocumentTokens;
|
|
20
20
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kekkle/shared",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Shared logic and types for Kekkle frontend and functions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -45,8 +45,18 @@
|
|
|
45
45
|
"homepage": "https://github.com/kekkle-verse/shared#readme",
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@eslint/js": "^9.12.0",
|
|
48
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
49
|
+
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
50
|
+
"@semantic-release/git": "^10.0.1",
|
|
51
|
+
"@semantic-release/github": "^11.0.3",
|
|
52
|
+
"@semantic-release/release-notes-generator": "^14.0.3",
|
|
48
53
|
"@types/eslint__js": "^8.42.3",
|
|
54
|
+
"conventional-changelog-conventionalcommits": "^9.0.0",
|
|
49
55
|
"eslint": "^9.12.0",
|
|
56
|
+
"eslint-config-prettier": "^10.1.5",
|
|
57
|
+
"eslint-plugin-prettier": "^5.5.0",
|
|
58
|
+
"prettier": "^3.6.0",
|
|
59
|
+
"semantic-release": "^24.2.5",
|
|
50
60
|
"typescript": "^5.6.3",
|
|
51
61
|
"typescript-eslint": "^8.8.1"
|
|
52
62
|
},
|