bb-relay 0.0.17 → 0.0.18
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/{Locale-COVVY7nx.d.mts → Locale-DJLJNvnU.d.mts} +5 -0
- package/dist/{Locale-COVVY7nx.d.ts → Locale-DJLJNvnU.d.ts} +5 -0
- package/dist/PROJECT_CATEGORY-BivLHtB6.d.mts +3 -0
- package/dist/PROJECT_CATEGORY-BivLHtB6.d.ts +3 -0
- package/dist/Project-BejSoNnE.d.ts +29 -0
- package/dist/Project-pc12hNVn.d.mts +29 -0
- package/dist/constant.d.mts +2 -0
- package/dist/constant.d.ts +2 -0
- package/dist/constant.js +33 -5
- package/dist/constant.mjs +28 -0
- package/dist/database.d.mts +3 -13
- package/dist/database.d.ts +3 -13
- package/dist/editor.d.mts +1 -2
- package/dist/editor.d.ts +1 -2
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/locale.d.mts +2 -2
- package/dist/locale.d.ts +2 -2
- package/dist/locale.js +12 -2
- package/dist/locale.mjs +12 -2
- package/package.json +1 -1
- package/src/constant.ts +2 -1
- package/src/constants/PROJECT_CATEGORY.ts +26 -0
- package/src/database.ts +2 -1
- package/src/editor.ts +0 -2
- package/src/locales/en-GB.ts +6 -0
- package/src/locales/fr-FR.ts +6 -0
- package/src/types/api/BBEvent.ts +1 -1
- package/src/types/database/Project.ts +20 -0
- package/dist/Project-By7ak4sM.d.mts +0 -14
- package/dist/Project-By7ak4sM.d.ts +0 -14
- package/src/types/editor/Project.ts +0 -35
|
@@ -110,6 +110,11 @@ declare const enGB: {
|
|
|
110
110
|
install: string;
|
|
111
111
|
uninstall: string;
|
|
112
112
|
repository: string;
|
|
113
|
+
login: string;
|
|
114
|
+
logout: string;
|
|
115
|
+
"projects.search": string;
|
|
116
|
+
download: string;
|
|
117
|
+
"project.delete.warning": string;
|
|
113
118
|
};
|
|
114
119
|
|
|
115
120
|
type Language = keyof typeof enGB;
|
|
@@ -110,6 +110,11 @@ declare const enGB: {
|
|
|
110
110
|
install: string;
|
|
111
111
|
uninstall: string;
|
|
112
112
|
repository: string;
|
|
113
|
+
login: string;
|
|
114
|
+
logout: string;
|
|
115
|
+
"projects.search": string;
|
|
116
|
+
download: string;
|
|
117
|
+
"project.delete.warning": string;
|
|
113
118
|
};
|
|
114
119
|
|
|
115
120
|
type Language = keyof typeof enGB;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const PROJECT_CATEGORY: readonly ["Action", "Adventure", "ChickLit", "Comedy", "Drama", "FanFiction", "Fantasy", "Horror", "Mystery / Thriller", "Parody", "Poetry", "Romance", "SciFi", "Thriller", "Western", "Historical Fiction", "No Fiction", "Paranormal", "Adult", "Short story", "Spiritual", "Other"];
|
|
2
|
+
|
|
3
|
+
export { PROJECT_CATEGORY as P };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const PROJECT_CATEGORY: readonly ["Action", "Adventure", "ChickLit", "Comedy", "Drama", "FanFiction", "Fantasy", "Horror", "Mystery / Thriller", "Parody", "Poetry", "Romance", "SciFi", "Thriller", "Western", "Historical Fiction", "No Fiction", "Paranormal", "Adult", "Short story", "Spiritual", "Other"];
|
|
2
|
+
|
|
3
|
+
export { PROJECT_CATEGORY as P };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { P as PROJECT_CATEGORY } from './PROJECT_CATEGORY-BivLHtB6.js';
|
|
2
|
+
|
|
3
|
+
type BaseWithId = {
|
|
4
|
+
id: string | number;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Generates Insert, Update, and Doc types from a base schema.
|
|
8
|
+
*/
|
|
9
|
+
type Wrapper<T extends BaseWithId> = {
|
|
10
|
+
insert: Omit<T, "id">;
|
|
11
|
+
update: Partial<Omit<T, "id">> & {
|
|
12
|
+
updatedAt: string;
|
|
13
|
+
};
|
|
14
|
+
doc: T;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
type Category = (typeof PROJECT_CATEGORY)[number];
|
|
18
|
+
interface BaseProject {
|
|
19
|
+
title: string;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
updatedAt: string;
|
|
22
|
+
id: string;
|
|
23
|
+
tags?: string[];
|
|
24
|
+
description?: string;
|
|
25
|
+
genre?: Category;
|
|
26
|
+
}
|
|
27
|
+
type Project = Wrapper<BaseProject>;
|
|
28
|
+
|
|
29
|
+
export type { Project as P, Wrapper as W };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { P as PROJECT_CATEGORY } from './PROJECT_CATEGORY-BivLHtB6.mjs';
|
|
2
|
+
|
|
3
|
+
type BaseWithId = {
|
|
4
|
+
id: string | number;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Generates Insert, Update, and Doc types from a base schema.
|
|
8
|
+
*/
|
|
9
|
+
type Wrapper<T extends BaseWithId> = {
|
|
10
|
+
insert: Omit<T, "id">;
|
|
11
|
+
update: Partial<Omit<T, "id">> & {
|
|
12
|
+
updatedAt: string;
|
|
13
|
+
};
|
|
14
|
+
doc: T;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
type Category = (typeof PROJECT_CATEGORY)[number];
|
|
18
|
+
interface BaseProject {
|
|
19
|
+
title: string;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
updatedAt: string;
|
|
22
|
+
id: string;
|
|
23
|
+
tags?: string[];
|
|
24
|
+
description?: string;
|
|
25
|
+
genre?: Category;
|
|
26
|
+
}
|
|
27
|
+
type Project = Wrapper<BaseProject>;
|
|
28
|
+
|
|
29
|
+
export type { Project as P, Wrapper as W };
|
package/dist/constant.d.mts
CHANGED
package/dist/constant.d.ts
CHANGED
package/dist/constant.js
CHANGED
|
@@ -20,8 +20,36 @@ var DATA_ALIAS = "${userData}";
|
|
|
20
20
|
var PLUGIN_URL = "https://downloadplugin-jaxucpei2q-uc.a.run.app";
|
|
21
21
|
var PLUGIN_URL_default = PLUGIN_URL;
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
// src/constants/PROJECT_CATEGORY.ts
|
|
24
|
+
var PROJECT_CATEGORY = [
|
|
25
|
+
"Action",
|
|
26
|
+
"Adventure",
|
|
27
|
+
"ChickLit",
|
|
28
|
+
"Comedy",
|
|
29
|
+
"Drama",
|
|
30
|
+
"FanFiction",
|
|
31
|
+
"Fantasy",
|
|
32
|
+
"Horror",
|
|
33
|
+
"Mystery / Thriller",
|
|
34
|
+
"Parody",
|
|
35
|
+
"Poetry",
|
|
36
|
+
"Romance",
|
|
37
|
+
"SciFi",
|
|
38
|
+
"Thriller",
|
|
39
|
+
"Western",
|
|
40
|
+
"Historical Fiction",
|
|
41
|
+
"No Fiction",
|
|
42
|
+
"Paranormal",
|
|
43
|
+
"Adult",
|
|
44
|
+
"Short story",
|
|
45
|
+
"Spiritual",
|
|
46
|
+
"Other"
|
|
47
|
+
];
|
|
48
|
+
var PROJECT_CATEGORY_default = PROJECT_CATEGORY;
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
exports.DATA_ALIAS = DATA_ALIAS; exports.PLUGIN_URL = PLUGIN_URL_default; exports.PROJECT_CATEGORY = PROJECT_CATEGORY_default; exports.SENTINEL_FILE = SENTINEL_FILE_default; exports.WEBSITE = WEBSITE_default;
|
package/dist/constant.mjs
CHANGED
|
@@ -19,9 +19,37 @@ var DATA_ALIAS = "${userData}";
|
|
|
19
19
|
// src/constants/PLUGIN_URL.ts
|
|
20
20
|
var PLUGIN_URL = "https://downloadplugin-jaxucpei2q-uc.a.run.app";
|
|
21
21
|
var PLUGIN_URL_default = PLUGIN_URL;
|
|
22
|
+
|
|
23
|
+
// src/constants/PROJECT_CATEGORY.ts
|
|
24
|
+
var PROJECT_CATEGORY = [
|
|
25
|
+
"Action",
|
|
26
|
+
"Adventure",
|
|
27
|
+
"ChickLit",
|
|
28
|
+
"Comedy",
|
|
29
|
+
"Drama",
|
|
30
|
+
"FanFiction",
|
|
31
|
+
"Fantasy",
|
|
32
|
+
"Horror",
|
|
33
|
+
"Mystery / Thriller",
|
|
34
|
+
"Parody",
|
|
35
|
+
"Poetry",
|
|
36
|
+
"Romance",
|
|
37
|
+
"SciFi",
|
|
38
|
+
"Thriller",
|
|
39
|
+
"Western",
|
|
40
|
+
"Historical Fiction",
|
|
41
|
+
"No Fiction",
|
|
42
|
+
"Paranormal",
|
|
43
|
+
"Adult",
|
|
44
|
+
"Short story",
|
|
45
|
+
"Spiritual",
|
|
46
|
+
"Other"
|
|
47
|
+
];
|
|
48
|
+
var PROJECT_CATEGORY_default = PROJECT_CATEGORY;
|
|
22
49
|
export {
|
|
23
50
|
DATA_ALIAS,
|
|
24
51
|
PLUGIN_URL_default as PLUGIN_URL,
|
|
52
|
+
PROJECT_CATEGORY_default as PROJECT_CATEGORY,
|
|
25
53
|
SENTINEL_FILE_default as SENTINEL_FILE,
|
|
26
54
|
WEBSITE_default as WEBSITE
|
|
27
55
|
};
|
package/dist/database.d.mts
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Generates Insert, Update, and Doc types from a base schema.
|
|
6
|
-
*/
|
|
7
|
-
type Wrapper<T extends BaseWithId> = {
|
|
8
|
-
insert: Omit<T, "id">;
|
|
9
|
-
update: Partial<Omit<T, "id">> & {
|
|
10
|
-
updatedAt: string;
|
|
11
|
-
};
|
|
12
|
-
doc: T;
|
|
13
|
-
};
|
|
1
|
+
import { W as Wrapper } from './Project-pc12hNVn.mjs';
|
|
2
|
+
export { P as Project } from './Project-pc12hNVn.mjs';
|
|
3
|
+
import './PROJECT_CATEGORY-BivLHtB6.mjs';
|
|
14
4
|
|
|
15
5
|
type BaseUser = {
|
|
16
6
|
id: string;
|
package/dist/database.d.ts
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Generates Insert, Update, and Doc types from a base schema.
|
|
6
|
-
*/
|
|
7
|
-
type Wrapper<T extends BaseWithId> = {
|
|
8
|
-
insert: Omit<T, "id">;
|
|
9
|
-
update: Partial<Omit<T, "id">> & {
|
|
10
|
-
updatedAt: string;
|
|
11
|
-
};
|
|
12
|
-
doc: T;
|
|
13
|
-
};
|
|
1
|
+
import { W as Wrapper } from './Project-BejSoNnE.js';
|
|
2
|
+
export { P as Project } from './Project-BejSoNnE.js';
|
|
3
|
+
import './PROJECT_CATEGORY-BivLHtB6.js';
|
|
14
4
|
|
|
15
5
|
type BaseUser = {
|
|
16
6
|
id: string;
|
package/dist/editor.d.mts
CHANGED
package/dist/editor.d.ts
CHANGED
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/locale.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as Language } from './Locale-
|
|
2
|
-
export { a as Locale, e as enGB } from './Locale-
|
|
1
|
+
import { L as Language } from './Locale-DJLJNvnU.mjs';
|
|
2
|
+
export { a as Locale, e as enGB } from './Locale-DJLJNvnU.mjs';
|
|
3
3
|
|
|
4
4
|
declare const frFR: {
|
|
5
5
|
[key in Language]: string;
|
package/dist/locale.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { L as Language } from './Locale-
|
|
2
|
-
export { a as Locale, e as enGB } from './Locale-
|
|
1
|
+
import { L as Language } from './Locale-DJLJNvnU.js';
|
|
2
|
+
export { a as Locale, e as enGB } from './Locale-DJLJNvnU.js';
|
|
3
3
|
|
|
4
4
|
declare const frFR: {
|
|
5
5
|
[key in Language]: string;
|
package/dist/locale.js
CHANGED
|
@@ -112,7 +112,12 @@ var enGB = {
|
|
|
112
112
|
"plugins.search": "Search Plugins in Marketplace",
|
|
113
113
|
install: "Install",
|
|
114
114
|
uninstall: "Uninstall",
|
|
115
|
-
repository: "Repository"
|
|
115
|
+
repository: "Repository",
|
|
116
|
+
login: "Login",
|
|
117
|
+
logout: "Logout",
|
|
118
|
+
"projects.search": "Search projects",
|
|
119
|
+
download: "Download",
|
|
120
|
+
"project.delete.warning": "Are you sure you want to delete this project? This cannot be undone"
|
|
116
121
|
};
|
|
117
122
|
var en_GB_default = enGB;
|
|
118
123
|
|
|
@@ -228,7 +233,12 @@ var frFR = {
|
|
|
228
233
|
"plugins.search": "Rechercher des plugins dans le Marketplace",
|
|
229
234
|
install: "Installer",
|
|
230
235
|
uninstall: "D\xE9sinstaller",
|
|
231
|
-
repository: "D\xE9p\xF4t"
|
|
236
|
+
repository: "D\xE9p\xF4t",
|
|
237
|
+
login: "Se connecter",
|
|
238
|
+
logout: "Se d\xE9connecter",
|
|
239
|
+
"projects.search": "Rechercher des projets",
|
|
240
|
+
download: "T\xE9l\xE9charger",
|
|
241
|
+
"project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible."
|
|
232
242
|
};
|
|
233
243
|
var fr_FR_default = frFR;
|
|
234
244
|
|
package/dist/locale.mjs
CHANGED
|
@@ -112,7 +112,12 @@ var enGB = {
|
|
|
112
112
|
"plugins.search": "Search Plugins in Marketplace",
|
|
113
113
|
install: "Install",
|
|
114
114
|
uninstall: "Uninstall",
|
|
115
|
-
repository: "Repository"
|
|
115
|
+
repository: "Repository",
|
|
116
|
+
login: "Login",
|
|
117
|
+
logout: "Logout",
|
|
118
|
+
"projects.search": "Search projects",
|
|
119
|
+
download: "Download",
|
|
120
|
+
"project.delete.warning": "Are you sure you want to delete this project? This cannot be undone"
|
|
116
121
|
};
|
|
117
122
|
var en_GB_default = enGB;
|
|
118
123
|
|
|
@@ -228,7 +233,12 @@ var frFR = {
|
|
|
228
233
|
"plugins.search": "Rechercher des plugins dans le Marketplace",
|
|
229
234
|
install: "Installer",
|
|
230
235
|
uninstall: "D\xE9sinstaller",
|
|
231
|
-
repository: "D\xE9p\xF4t"
|
|
236
|
+
repository: "D\xE9p\xF4t",
|
|
237
|
+
login: "Se connecter",
|
|
238
|
+
logout: "Se d\xE9connecter",
|
|
239
|
+
"projects.search": "Rechercher des projets",
|
|
240
|
+
download: "T\xE9l\xE9charger",
|
|
241
|
+
"project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible."
|
|
232
242
|
};
|
|
233
243
|
var fr_FR_default = frFR;
|
|
234
244
|
export {
|
package/package.json
CHANGED
package/src/constant.ts
CHANGED
|
@@ -2,5 +2,6 @@ import SENTINEL_FILE from "./constants/SENTINEL_FILE";
|
|
|
2
2
|
import WEBSITE from "./constants/WEBSITE";
|
|
3
3
|
import { DATA_ALIAS } from "./constants/DATA_ALIAS";
|
|
4
4
|
import PLUGIN_URL from "./constants/PLUGIN_URL";
|
|
5
|
+
import PROJECT_CATEGORY from "./constants/PROJECT_CATEGORY";
|
|
5
6
|
|
|
6
|
-
export { SENTINEL_FILE, WEBSITE, DATA_ALIAS, PLUGIN_URL };
|
|
7
|
+
export { SENTINEL_FILE, WEBSITE, DATA_ALIAS, PLUGIN_URL, PROJECT_CATEGORY };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const PROJECT_CATEGORY = [
|
|
2
|
+
"Action",
|
|
3
|
+
"Adventure",
|
|
4
|
+
"ChickLit",
|
|
5
|
+
"Comedy",
|
|
6
|
+
"Drama",
|
|
7
|
+
"FanFiction",
|
|
8
|
+
"Fantasy",
|
|
9
|
+
"Horror",
|
|
10
|
+
"Mystery / Thriller",
|
|
11
|
+
"Parody",
|
|
12
|
+
"Poetry",
|
|
13
|
+
"Romance",
|
|
14
|
+
"SciFi",
|
|
15
|
+
"Thriller",
|
|
16
|
+
"Western",
|
|
17
|
+
"Historical Fiction",
|
|
18
|
+
"No Fiction",
|
|
19
|
+
"Paranormal",
|
|
20
|
+
"Adult",
|
|
21
|
+
"Short story",
|
|
22
|
+
"Spiritual",
|
|
23
|
+
"Other",
|
|
24
|
+
] as const;
|
|
25
|
+
|
|
26
|
+
export default PROJECT_CATEGORY;
|
package/src/database.ts
CHANGED
|
@@ -2,5 +2,6 @@ import { User } from "./types/database/User";
|
|
|
2
2
|
import { Plugin } from "./types/database/Plugin";
|
|
3
3
|
import { Release } from "./types/database/Release";
|
|
4
4
|
import { Rating } from "./types/database/Rating";
|
|
5
|
+
import Project from "./types/database/Project";
|
|
5
6
|
|
|
6
|
-
export type { Plugin, Rating, Release, User };
|
|
7
|
+
export type { Plugin, Rating, Release, User, Project };
|
package/src/editor.ts
CHANGED
|
@@ -13,7 +13,6 @@ import { Route } from "./types/editor/Route";
|
|
|
13
13
|
import { Settings } from "./types/editor/Settings";
|
|
14
14
|
import { TutorialHeader } from "./types/editor/TutorialHeader";
|
|
15
15
|
import { WatchFSEvent } from "./types/editor/WatchFSEvent";
|
|
16
|
-
import Project from "./types/editor/Project";
|
|
17
16
|
|
|
18
17
|
export type {
|
|
19
18
|
Checkpoint,
|
|
@@ -25,7 +24,6 @@ export type {
|
|
|
25
24
|
IconArg,
|
|
26
25
|
MenuContent,
|
|
27
26
|
Nav,
|
|
28
|
-
Project,
|
|
29
27
|
RenameType,
|
|
30
28
|
Result,
|
|
31
29
|
Route,
|
package/src/locales/en-GB.ts
CHANGED
|
@@ -118,6 +118,12 @@ export const enGB = {
|
|
|
118
118
|
install: "Install",
|
|
119
119
|
uninstall: "Uninstall",
|
|
120
120
|
repository: "Repository",
|
|
121
|
+
login: "Login",
|
|
122
|
+
logout: "Logout",
|
|
123
|
+
"projects.search": "Search projects",
|
|
124
|
+
download: "Download",
|
|
125
|
+
"project.delete.warning":
|
|
126
|
+
"Are you sure you want to delete this project? This cannot be undone",
|
|
121
127
|
};
|
|
122
128
|
|
|
123
129
|
export default enGB;
|
package/src/locales/fr-FR.ts
CHANGED
|
@@ -121,6 +121,12 @@ export const frFR: { [key in Language]: string } = {
|
|
|
121
121
|
install: "Installer",
|
|
122
122
|
uninstall: "Désinstaller",
|
|
123
123
|
repository: "Dépôt",
|
|
124
|
+
login: "Se connecter",
|
|
125
|
+
logout: "Se déconnecter",
|
|
126
|
+
"projects.search": "Rechercher des projets",
|
|
127
|
+
download: "Télécharger",
|
|
128
|
+
"project.delete.warning":
|
|
129
|
+
"Êtes-vous sûr de vouloir supprimer ce projet ? Cette action est irréversible.",
|
|
124
130
|
};
|
|
125
131
|
|
|
126
132
|
export default frFR;
|
package/src/types/api/BBEvent.ts
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import PROJECT_CATEGORY from "@/constants/PROJECT_CATEGORY";
|
|
2
|
+
import { Wrapper } from "./Wrapper";
|
|
3
|
+
|
|
4
|
+
export type Category = (typeof PROJECT_CATEGORY)[number];
|
|
5
|
+
|
|
6
|
+
interface BaseProject {
|
|
7
|
+
title: string;
|
|
8
|
+
createdAt: string;
|
|
9
|
+
updatedAt: string;
|
|
10
|
+
id: string;
|
|
11
|
+
tags?: string[];
|
|
12
|
+
description?: string;
|
|
13
|
+
genre?: Category;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
type Project = Wrapper<BaseProject>;
|
|
17
|
+
|
|
18
|
+
export default Project;
|
|
19
|
+
|
|
20
|
+
export type { Project };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
type Category = "Action" | "Adventure" | "ChickLit" | "Comedy" | "Drama" | "FanFiction" | "Fantasy" | "Horror" | "Mystery / Thriller" | "Parody" | "Poetry" | "Romance" | "SciFi" | "Thriller" | "Western" | "Historical Fiction" | "No Fiction" | "Paranormal" | "Adult" | "Short story" | "Spiritual" | "Other";
|
|
2
|
-
interface Project {
|
|
3
|
-
title: string;
|
|
4
|
-
createdAt: string;
|
|
5
|
-
updatedAt: string;
|
|
6
|
-
lastAccessedAt: string;
|
|
7
|
-
remoteId?: string;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
category?: Category;
|
|
10
|
-
description?: string;
|
|
11
|
-
genre?: string | null;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export type { Project as P };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
type Category = "Action" | "Adventure" | "ChickLit" | "Comedy" | "Drama" | "FanFiction" | "Fantasy" | "Horror" | "Mystery / Thriller" | "Parody" | "Poetry" | "Romance" | "SciFi" | "Thriller" | "Western" | "Historical Fiction" | "No Fiction" | "Paranormal" | "Adult" | "Short story" | "Spiritual" | "Other";
|
|
2
|
-
interface Project {
|
|
3
|
-
title: string;
|
|
4
|
-
createdAt: string;
|
|
5
|
-
updatedAt: string;
|
|
6
|
-
lastAccessedAt: string;
|
|
7
|
-
remoteId?: string;
|
|
8
|
-
tags?: string[];
|
|
9
|
-
category?: Category;
|
|
10
|
-
description?: string;
|
|
11
|
-
genre?: string | null;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export type { Project as P };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export type Category =
|
|
2
|
-
| "Action"
|
|
3
|
-
| "Adventure"
|
|
4
|
-
| "ChickLit"
|
|
5
|
-
| "Comedy"
|
|
6
|
-
| "Drama"
|
|
7
|
-
| "FanFiction"
|
|
8
|
-
| "Fantasy"
|
|
9
|
-
| "Horror"
|
|
10
|
-
| "Mystery / Thriller"
|
|
11
|
-
| "Parody"
|
|
12
|
-
| "Poetry"
|
|
13
|
-
| "Romance"
|
|
14
|
-
| "SciFi"
|
|
15
|
-
| "Thriller"
|
|
16
|
-
| "Western"
|
|
17
|
-
| "Historical Fiction"
|
|
18
|
-
| "No Fiction"
|
|
19
|
-
| "Paranormal"
|
|
20
|
-
| "Adult"
|
|
21
|
-
| "Short story"
|
|
22
|
-
| "Spiritual"
|
|
23
|
-
| "Other";
|
|
24
|
-
|
|
25
|
-
export default interface Project {
|
|
26
|
-
title: string;
|
|
27
|
-
createdAt: string;
|
|
28
|
-
updatedAt: string;
|
|
29
|
-
lastAccessedAt: string;
|
|
30
|
-
remoteId?: string;
|
|
31
|
-
tags?: string[];
|
|
32
|
-
category?: Category;
|
|
33
|
-
description?: string;
|
|
34
|
-
genre?: string | null;
|
|
35
|
-
}
|