@kekkle/shared 0.0.10 → 1.0.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/README.md +10 -12
- package/dist/cjs/helpers/permissions/is-valid-permission.d.ts +1 -0
- package/dist/cjs/helpers/permissions/is-valid-permission.js +7 -0
- package/dist/esm/helpers/permissions/is-valid-permission.d.ts +1 -0
- package/dist/esm/helpers/permissions/is-valid-permission.js +4 -0
- package/package.json +20 -18
- package/src/constants/collections.ts +6 -0
- package/src/enums/group-permission.ts +5 -0
- package/src/enums/push-settings-options.ts +9 -0
- package/src/helpers/permissions/is-valid-permission.ts +5 -0
- package/src/types/comment.ts +11 -0
- package/src/types/fcm-token.ts +1 -0
- package/src/types/group-general-data.ts +6 -0
- package/src/types/group-member.ts +9 -0
- package/src/types/group.ts +21 -0
- package/src/types/match-tries.ts +9 -0
- package/src/types/push-document.ts +26 -0
- package/src/types/quote.ts +13 -0
- package/src/types/uid.ts +1 -0
- package/src/types/user.ts +14 -0
- package/src/types/wordle-game-state.ts +11 -0
- package/src/types/wordle-game.ts +19 -0
- package/src/types/wordle-leaderboard.ts +30 -0
- package/src/types/wordle-monthly-score.ts +34 -0
- package/src/types/wordle-score.ts +17 -0
- package/src/types/worlde-game-state-document.ts +13 -0
- package/dist/cjs/constants/index.d.ts +0 -1
- package/dist/cjs/constants/index.js +0 -17
- package/dist/cjs/enums/index.d.ts +0 -2
- package/dist/cjs/enums/index.js +0 -18
- package/dist/cjs/index.d.ts +0 -3
- package/dist/cjs/index.js +0 -39
- package/dist/cjs/types/index.d.ts +0 -16
- package/dist/cjs/types/index.js +0 -32
- package/dist/esm/constants/index.d.ts +0 -1
- package/dist/esm/constants/index.js +0 -1
- package/dist/esm/enums/index.d.ts +0 -2
- package/dist/esm/enums/index.js +0 -2
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.js +0 -3
- package/dist/esm/types/index.d.ts +0 -16
- package/dist/esm/types/index.js +0 -16
package/README.md
CHANGED
|
@@ -10,21 +10,19 @@ npm install @kekkle-verse/shared
|
|
|
10
10
|
|
|
11
11
|
### Usage
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
import { types, constants, enums } from "@kekkle-verse/shared";
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
or
|
|
13
|
+
Import specific types, enums, or constants directly:
|
|
18
14
|
|
|
19
15
|
```typescript
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
// Import types
|
|
17
|
+
import type { User } from "@kekkle-verse/shared/types/user";
|
|
18
|
+
import type { Group } from "@kekkle-verse/shared/types/group";
|
|
19
|
+
import type { Comment } from "@kekkle-verse/shared/types/comment";
|
|
22
20
|
|
|
23
|
-
|
|
21
|
+
// Import enums
|
|
22
|
+
import { GroupPermission } from "@kekkle-verse/shared/enums/group-permission";
|
|
23
|
+
import { PushSettingsOptions } from "@kekkle-verse/shared/enums/push-settings-options";
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
import {
|
|
27
|
-
import { permissions } from "@kekkle-verse/shared/enums";
|
|
28
|
-
import { collections } from "@kekkle-verse/shared/constants";
|
|
25
|
+
// Import constants
|
|
26
|
+
import { collections } from "@kekkle-verse/shared/constants/collections";
|
|
29
27
|
```
|
|
30
28
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isValidPermission(permission: string): boolean;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isValidPermission = isValidPermission;
|
|
4
|
+
const group_permission_1 = require("../../enums/group-permission");
|
|
5
|
+
function isValidPermission(permission) {
|
|
6
|
+
return Object.values(group_permission_1.GroupPermission).includes(permission);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isValidPermission(permission: string): boolean;
|
package/package.json
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kekkle/shared",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Shared logic and types for Kekkle frontend and functions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
7
|
-
"
|
|
8
|
-
"types": "./
|
|
9
|
-
"import": "./dist/esm/
|
|
10
|
-
"require": "./dist/cjs/
|
|
7
|
+
"./types/*": {
|
|
8
|
+
"types": "./src/types/*.ts",
|
|
9
|
+
"import": "./dist/esm/types/*.js",
|
|
10
|
+
"require": "./dist/cjs/types/*.js"
|
|
11
11
|
},
|
|
12
|
-
"./
|
|
13
|
-
"types": "./
|
|
14
|
-
"import": "./dist/esm/
|
|
15
|
-
"require": "./dist/cjs/
|
|
12
|
+
"./enums/*": {
|
|
13
|
+
"types": "./src/enums/*.ts",
|
|
14
|
+
"import": "./dist/esm/enums/*.js",
|
|
15
|
+
"require": "./dist/cjs/enums/*.js"
|
|
16
16
|
},
|
|
17
|
-
"./
|
|
18
|
-
"types": "./
|
|
19
|
-
"import": "./dist/esm/
|
|
20
|
-
"require": "./dist/cjs/
|
|
17
|
+
"./constants/*": {
|
|
18
|
+
"types": "./src/constants/*.ts",
|
|
19
|
+
"import": "./dist/esm/constants/*.js",
|
|
20
|
+
"require": "./dist/cjs/constants/*.js"
|
|
21
21
|
},
|
|
22
|
-
"./
|
|
23
|
-
"types": "./
|
|
24
|
-
"import": "./dist/esm/
|
|
25
|
-
"require": "./dist/cjs/
|
|
22
|
+
"./helpers/*": {
|
|
23
|
+
"types": "./src/helpers/*.ts",
|
|
24
|
+
"import": "./dist/esm/helpers/*.js",
|
|
25
|
+
"require": "./dist/cjs/helpers/*.js"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
|
+
"src/**/*",
|
|
29
30
|
"dist/**/*"
|
|
30
31
|
],
|
|
31
32
|
"scripts": {
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
"typescript-eslint": "^8.8.1"
|
|
68
69
|
},
|
|
69
70
|
"peerDependencies": {
|
|
70
|
-
"firebase-admin": "11.11.1"
|
|
71
|
+
"firebase-admin": "11.11.1",
|
|
72
|
+
"typescript": "^5.0.0"
|
|
71
73
|
}
|
|
72
74
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export const USER_COLLECTION_PATH = "users";
|
|
2
|
+
export const GROUP_COLLECTION_PATH = "groups";
|
|
3
|
+
export const WORDLE_GAMES_COLLECTION_PATH = "wordle_games";
|
|
4
|
+
export const WORDLE_LEADERBOARD_COLLECTION_PATH = "wordle_leaderboard";
|
|
5
|
+
export const WORDLE_MONTHLY_SCORES_COLLECTION_PATH = "wordle_monthly_scores";
|
|
6
|
+
export const WORDLE_SCORES_COLLECTION_PATH = "wordle_scores";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export enum PushSettingsOptions {
|
|
2
|
+
EVENT_CREATE = "event_create",
|
|
3
|
+
GROUP_MEMBER_JOINED = "group_member_joined",
|
|
4
|
+
QUOTE_CREATE = "quote_create",
|
|
5
|
+
QUOTE_COMMENT = "quote_comment",
|
|
6
|
+
EVENT_COMMENT = "event_comment",
|
|
7
|
+
PHOTO_CREATE = "photo_create",
|
|
8
|
+
PHOTO_COMMENT = "photo_comment",
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type FcmToken = string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
2
|
+
import type { GroupGeneralData } from "./group-general-data";
|
|
3
|
+
import type { GroupMember } from "./group-member";
|
|
4
|
+
import type { Uid } from "./uid";
|
|
5
|
+
|
|
6
|
+
export type Group = {
|
|
7
|
+
created_at: Timestamp;
|
|
8
|
+
updated_at: Timestamp;
|
|
9
|
+
description: string | undefined;
|
|
10
|
+
general_data: GroupGeneralData;
|
|
11
|
+
ical_token: string;
|
|
12
|
+
join_token: string | null | undefined;
|
|
13
|
+
join_token_timestamp: Timestamp | null | undefined;
|
|
14
|
+
members: {
|
|
15
|
+
[key: Uid]: GroupMember;
|
|
16
|
+
};
|
|
17
|
+
members_uuids: string[];
|
|
18
|
+
name: string;
|
|
19
|
+
premium: boolean | null | undefined;
|
|
20
|
+
premium_till: Timestamp | null | undefined;
|
|
21
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
2
|
+
|
|
3
|
+
import type { PushSettingsOptions } from "../enums/push-settings-options";
|
|
4
|
+
import type { Uid } from "./uid";
|
|
5
|
+
|
|
6
|
+
export type AllPushSettings = {
|
|
7
|
+
[key in PushSettingsOptions]: boolean | null;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export type GroupPushDocumentSettings = {
|
|
11
|
+
[key: Uid]: AllPushSettings;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type GroupPushDocumentTokens = {
|
|
15
|
+
[key: Uid]: Array<PushTokenObject>;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type PushTokenObject = {
|
|
19
|
+
token: string | null;
|
|
20
|
+
updated_at: Timestamp | string;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type GroupPushDocument = {
|
|
24
|
+
settings: GroupPushDocumentSettings;
|
|
25
|
+
tokens: GroupPushDocumentTokens;
|
|
26
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
2
|
+
|
|
3
|
+
export type Quote = {
|
|
4
|
+
authors: Array<string> | null;
|
|
5
|
+
quote: string;
|
|
6
|
+
context: string | null;
|
|
7
|
+
created_by: string;
|
|
8
|
+
custom_author: string | null;
|
|
9
|
+
timestamp: Date | Timestamp;
|
|
10
|
+
trigrams: {
|
|
11
|
+
[key: string]: string;
|
|
12
|
+
} | null;
|
|
13
|
+
};
|
package/src/types/uid.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Uid = string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
2
|
+
import type { PushTokenObject, AllPushSettings } from "./push-document";
|
|
3
|
+
|
|
4
|
+
export type User = {
|
|
5
|
+
active_group: "";
|
|
6
|
+
birthdate: Timestamp;
|
|
7
|
+
groups: string[];
|
|
8
|
+
message_tokens?: Array<PushTokenObject>;
|
|
9
|
+
push_settings?: AllPushSettings;
|
|
10
|
+
language?: string;
|
|
11
|
+
name: string;
|
|
12
|
+
new_auth_claim: boolean;
|
|
13
|
+
profile_picture: string;
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
2
|
+
|
|
3
|
+
export type WordleGame = {
|
|
4
|
+
language: string;
|
|
5
|
+
word: string;
|
|
6
|
+
locked: boolean;
|
|
7
|
+
date: Timestamp;
|
|
8
|
+
created_at: Timestamp;
|
|
9
|
+
updated_at: Timestamp;
|
|
10
|
+
game_number: number;
|
|
11
|
+
year?: number;
|
|
12
|
+
month?: number;
|
|
13
|
+
date_number?: number;
|
|
14
|
+
day?: number;
|
|
15
|
+
year_utc?: number;
|
|
16
|
+
month_utc?: number;
|
|
17
|
+
date_number_utc?: number;
|
|
18
|
+
day_utc?: number;
|
|
19
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
2
|
+
import type { MatchTries } from "./match-tries";
|
|
3
|
+
|
|
4
|
+
export type WordleLeaderboard = {
|
|
5
|
+
created_at: Timestamp;
|
|
6
|
+
has_lost: number;
|
|
7
|
+
has_won: number;
|
|
8
|
+
language: string;
|
|
9
|
+
match_tries: MatchTries;
|
|
10
|
+
matches_played: string[];
|
|
11
|
+
new_score: number | null;
|
|
12
|
+
score: number;
|
|
13
|
+
updated_at: Timestamp;
|
|
14
|
+
username: string;
|
|
15
|
+
user_id: string;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export type PartialWordleLeaderboard = Partial<{
|
|
19
|
+
created_at: Timestamp;
|
|
20
|
+
has_lost: number;
|
|
21
|
+
has_won: number;
|
|
22
|
+
language: string;
|
|
23
|
+
match_tries: MatchTries;
|
|
24
|
+
matches_played: string[];
|
|
25
|
+
new_score: number | null;
|
|
26
|
+
score: number;
|
|
27
|
+
updated_at: Timestamp;
|
|
28
|
+
username: string;
|
|
29
|
+
user_id: string;
|
|
30
|
+
}>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
2
|
+
import type { MatchTries } from "./match-tries";
|
|
3
|
+
|
|
4
|
+
export type WordleMonthlyScore = {
|
|
5
|
+
created_at: Timestamp;
|
|
6
|
+
has_lost: number;
|
|
7
|
+
has_won: number;
|
|
8
|
+
language: string;
|
|
9
|
+
match_tries: MatchTries;
|
|
10
|
+
matches_played: string[];
|
|
11
|
+
month: number;
|
|
12
|
+
new_score: number;
|
|
13
|
+
score: number;
|
|
14
|
+
updated_at: Timestamp;
|
|
15
|
+
user_id: string;
|
|
16
|
+
username: string;
|
|
17
|
+
year: number;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type PartialWordleMonthlyScore = Partial<{
|
|
21
|
+
created_at: Timestamp;
|
|
22
|
+
has_lost: number;
|
|
23
|
+
has_won: number;
|
|
24
|
+
language: string;
|
|
25
|
+
match_tries: MatchTries;
|
|
26
|
+
matches_played: string[];
|
|
27
|
+
month: number;
|
|
28
|
+
new_score: number;
|
|
29
|
+
score: number;
|
|
30
|
+
updated_at: Timestamp;
|
|
31
|
+
user_id: string;
|
|
32
|
+
username: string;
|
|
33
|
+
year: number;
|
|
34
|
+
}>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
2
|
+
import type { StringifiedWordleGameState } from "./wordle-game-state";
|
|
3
|
+
|
|
4
|
+
export type WordleScore = {
|
|
5
|
+
created_at: Timestamp;
|
|
6
|
+
game_id: string;
|
|
7
|
+
game_state: StringifiedWordleGameState;
|
|
8
|
+
has_lost: boolean;
|
|
9
|
+
has_won: boolean;
|
|
10
|
+
language: string;
|
|
11
|
+
new_score: number | null;
|
|
12
|
+
score: number;
|
|
13
|
+
number_of_tries_needed: number;
|
|
14
|
+
updated_at: Timestamp;
|
|
15
|
+
user_id: string;
|
|
16
|
+
username: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { StringifiedWordleGameState } from "./wordle-game-state";
|
|
2
|
+
import type { Timestamp } from "firebase-admin/firestore";
|
|
3
|
+
|
|
4
|
+
export type WorldeGameStateDocument = {
|
|
5
|
+
calculated_score: number;
|
|
6
|
+
game_state: StringifiedWordleGameState;
|
|
7
|
+
has_finished: boolean;
|
|
8
|
+
has_lost: boolean;
|
|
9
|
+
has_won: boolean;
|
|
10
|
+
number_of_tries_needed: number;
|
|
11
|
+
updated_at: Timestamp;
|
|
12
|
+
user_id: string;
|
|
13
|
+
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./collections";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./collections"), exports);
|
package/dist/cjs/enums/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./group-permission"), exports);
|
|
18
|
-
__exportStar(require("./push-settings-options"), exports);
|
package/dist/cjs/index.d.ts
DELETED
package/dist/cjs/index.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.constants = exports.enums = exports.types = void 0;
|
|
37
|
-
exports.types = __importStar(require("./types"));
|
|
38
|
-
exports.enums = __importStar(require("./enums"));
|
|
39
|
-
exports.constants = __importStar(require("./constants"));
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./comment";
|
|
2
|
-
export * from "./fcm-token";
|
|
3
|
-
export * from "./group-general-data";
|
|
4
|
-
export * from "./group-member";
|
|
5
|
-
export * from "./group";
|
|
6
|
-
export * from "./match-tries";
|
|
7
|
-
export * from "./push-document";
|
|
8
|
-
export * from "./quote";
|
|
9
|
-
export * from "./uid";
|
|
10
|
-
export * from "./user";
|
|
11
|
-
export * from "./wordle-game-state";
|
|
12
|
-
export * from "./wordle-game";
|
|
13
|
-
export * from "./wordle-leaderboard";
|
|
14
|
-
export * from "./wordle-monthly-score";
|
|
15
|
-
export * from "./wordle-monthly-score";
|
|
16
|
-
export * from "./worlde-game-state-document";
|
package/dist/cjs/types/index.js
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./comment"), exports);
|
|
18
|
-
__exportStar(require("./fcm-token"), exports);
|
|
19
|
-
__exportStar(require("./group-general-data"), exports);
|
|
20
|
-
__exportStar(require("./group-member"), exports);
|
|
21
|
-
__exportStar(require("./group"), exports);
|
|
22
|
-
__exportStar(require("./match-tries"), exports);
|
|
23
|
-
__exportStar(require("./push-document"), exports);
|
|
24
|
-
__exportStar(require("./quote"), exports);
|
|
25
|
-
__exportStar(require("./uid"), exports);
|
|
26
|
-
__exportStar(require("./user"), exports);
|
|
27
|
-
__exportStar(require("./wordle-game-state"), exports);
|
|
28
|
-
__exportStar(require("./wordle-game"), exports);
|
|
29
|
-
__exportStar(require("./wordle-leaderboard"), exports);
|
|
30
|
-
__exportStar(require("./wordle-monthly-score"), exports);
|
|
31
|
-
__exportStar(require("./wordle-monthly-score"), exports);
|
|
32
|
-
__exportStar(require("./worlde-game-state-document"), exports);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./collections";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./collections";
|
package/dist/esm/enums/index.js
DELETED
package/dist/esm/index.d.ts
DELETED
package/dist/esm/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./comment";
|
|
2
|
-
export * from "./fcm-token";
|
|
3
|
-
export * from "./group-general-data";
|
|
4
|
-
export * from "./group-member";
|
|
5
|
-
export * from "./group";
|
|
6
|
-
export * from "./match-tries";
|
|
7
|
-
export * from "./push-document";
|
|
8
|
-
export * from "./quote";
|
|
9
|
-
export * from "./uid";
|
|
10
|
-
export * from "./user";
|
|
11
|
-
export * from "./wordle-game-state";
|
|
12
|
-
export * from "./wordle-game";
|
|
13
|
-
export * from "./wordle-leaderboard";
|
|
14
|
-
export * from "./wordle-monthly-score";
|
|
15
|
-
export * from "./wordle-monthly-score";
|
|
16
|
-
export * from "./worlde-game-state-document";
|
package/dist/esm/types/index.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./comment";
|
|
2
|
-
export * from "./fcm-token";
|
|
3
|
-
export * from "./group-general-data";
|
|
4
|
-
export * from "./group-member";
|
|
5
|
-
export * from "./group";
|
|
6
|
-
export * from "./match-tries";
|
|
7
|
-
export * from "./push-document";
|
|
8
|
-
export * from "./quote";
|
|
9
|
-
export * from "./uid";
|
|
10
|
-
export * from "./user";
|
|
11
|
-
export * from "./wordle-game-state";
|
|
12
|
-
export * from "./wordle-game";
|
|
13
|
-
export * from "./wordle-leaderboard";
|
|
14
|
-
export * from "./wordle-monthly-score";
|
|
15
|
-
export * from "./wordle-monthly-score";
|
|
16
|
-
export * from "./worlde-game-state-document";
|