bb-relay 0.0.18 → 0.0.19

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.
@@ -0,0 +1,11 @@
1
+ type Checkpoint = {
2
+ sha: string;
3
+ message: string;
4
+ timestamp: number;
5
+ author: {
6
+ name: string;
7
+ email: string;
8
+ };
9
+ };
10
+
11
+ export type { Checkpoint as C };
@@ -0,0 +1,11 @@
1
+ type Checkpoint = {
2
+ sha: string;
3
+ message: string;
4
+ timestamp: number;
5
+ author: {
6
+ name: string;
7
+ email: string;
8
+ };
9
+ };
10
+
11
+ export type { Checkpoint as C };
@@ -115,6 +115,11 @@ declare const enGB: {
115
115
  "projects.search": string;
116
116
  download: string;
117
117
  "project.delete.warning": string;
118
+ "project.message.upload": string;
119
+ "project.message.synced": string;
120
+ "project.message.update": string;
121
+ "project.message.download": string;
122
+ loading: string;
118
123
  };
119
124
 
120
125
  type Language = keyof typeof enGB;
@@ -115,6 +115,11 @@ declare const enGB: {
115
115
  "projects.search": string;
116
116
  download: string;
117
117
  "project.delete.warning": string;
118
+ "project.message.upload": string;
119
+ "project.message.synced": string;
120
+ "project.message.update": string;
121
+ "project.message.download": string;
122
+ loading: string;
118
123
  };
119
124
 
120
125
  type Language = keyof typeof enGB;
@@ -1,4 +1,5 @@
1
1
  import { P as PROJECT_CATEGORY } from './PROJECT_CATEGORY-BivLHtB6.js';
2
+ import { C as Checkpoint } from './Checkpoint-BDzkE4x-.js';
2
3
 
3
4
  type BaseWithId = {
4
5
  id: string | number;
@@ -23,6 +24,8 @@ interface BaseProject {
23
24
  tags?: string[];
24
25
  description?: string;
25
26
  genre?: Category;
27
+ history?: Checkpoint[];
28
+ userId: string;
26
29
  }
27
30
  type Project = Wrapper<BaseProject>;
28
31
 
@@ -1,4 +1,5 @@
1
1
  import { P as PROJECT_CATEGORY } from './PROJECT_CATEGORY-BivLHtB6.mjs';
2
+ import { C as Checkpoint } from './Checkpoint-BDzkE4x-.mjs';
2
3
 
3
4
  type BaseWithId = {
4
5
  id: string | number;
@@ -23,6 +24,8 @@ interface BaseProject {
23
24
  tags?: string[];
24
25
  description?: string;
25
26
  genre?: Category;
27
+ history?: Checkpoint[];
28
+ userId: string;
26
29
  }
27
30
  type Project = Wrapper<BaseProject>;
28
31
 
@@ -1,6 +1,7 @@
1
- import { W as Wrapper } from './Project-pc12hNVn.mjs';
2
- export { P as Project } from './Project-pc12hNVn.mjs';
1
+ import { W as Wrapper } from './Project-DlFFd80o.mjs';
2
+ export { P as Project } from './Project-DlFFd80o.mjs';
3
3
  import './PROJECT_CATEGORY-BivLHtB6.mjs';
4
+ import './Checkpoint-BDzkE4x-.mjs';
4
5
 
5
6
  type BaseUser = {
6
7
  id: string;
@@ -1,6 +1,7 @@
1
- import { W as Wrapper } from './Project-BejSoNnE.js';
2
- export { P as Project } from './Project-BejSoNnE.js';
1
+ import { W as Wrapper } from './Project-CdTfU2Cl.js';
2
+ export { P as Project } from './Project-CdTfU2Cl.js';
3
3
  import './PROJECT_CATEGORY-BivLHtB6.js';
4
+ import './Checkpoint-BDzkE4x-.js';
4
5
 
5
6
  type BaseUser = {
6
7
  id: string;
package/dist/editor.d.mts CHANGED
@@ -1,14 +1,5 @@
1
- import { L as Language, a as Locale } from './Locale-DJLJNvnU.mjs';
2
-
3
- type Checkpoint = {
4
- sha: string;
5
- message: string;
6
- timestamp: number;
7
- author: {
8
- name: string;
9
- email: string;
10
- };
11
- };
1
+ export { C as Checkpoint } from './Checkpoint-BDzkE4x-.mjs';
2
+ import { L as Language, a as Locale } from './Locale-B_JQwPkq.mjs';
12
3
 
13
4
  type CopyArg = {
14
5
  path: string;
@@ -85,4 +76,4 @@ interface TutorialHeader {
85
76
 
86
77
  type WatchFSEvent = "updated" | "deleted";
87
78
 
88
- export type { Checkpoint, CopyArg, DirectoryContents, DirectoryStats, FileContent, GitFileStatus, IconArg, MenuContent, Nav, RenameType, Result, Route, Settings, TutorialHeader, WatchFSEvent };
79
+ export type { CopyArg, DirectoryContents, DirectoryStats, FileContent, GitFileStatus, IconArg, MenuContent, Nav, RenameType, Result, Route, Settings, TutorialHeader, WatchFSEvent };
package/dist/editor.d.ts CHANGED
@@ -1,14 +1,5 @@
1
- import { L as Language, a as Locale } from './Locale-DJLJNvnU.js';
2
-
3
- type Checkpoint = {
4
- sha: string;
5
- message: string;
6
- timestamp: number;
7
- author: {
8
- name: string;
9
- email: string;
10
- };
11
- };
1
+ export { C as Checkpoint } from './Checkpoint-BDzkE4x-.js';
2
+ import { L as Language, a as Locale } from './Locale-B_JQwPkq.js';
12
3
 
13
4
  type CopyArg = {
14
5
  path: string;
@@ -85,4 +76,4 @@ interface TutorialHeader {
85
76
 
86
77
  type WatchFSEvent = "updated" | "deleted";
87
78
 
88
- export type { Checkpoint, CopyArg, DirectoryContents, DirectoryStats, FileContent, GitFileStatus, IconArg, MenuContent, Nav, RenameType, Result, Route, Settings, TutorialHeader, WatchFSEvent };
79
+ export type { CopyArg, DirectoryContents, DirectoryStats, FileContent, GitFileStatus, IconArg, MenuContent, Nav, RenameType, Result, Route, Settings, TutorialHeader, WatchFSEvent };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
- import { P as Project } from './Project-pc12hNVn.mjs';
1
+ import { P as Project } from './Project-DlFFd80o.mjs';
2
2
  import './PROJECT_CATEGORY-BivLHtB6.mjs';
3
+ import './Checkpoint-BDzkE4x-.mjs';
3
4
 
4
5
  type BinaryFile = {
5
6
  path: string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { P as Project } from './Project-BejSoNnE.js';
1
+ import { P as Project } from './Project-CdTfU2Cl.js';
2
2
  import './PROJECT_CATEGORY-BivLHtB6.js';
3
+ import './Checkpoint-BDzkE4x-.js';
3
4
 
4
5
  type BinaryFile = {
5
6
  path: string;
package/dist/locale.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { L as Language } from './Locale-DJLJNvnU.mjs';
2
- export { a as Locale, e as enGB } from './Locale-DJLJNvnU.mjs';
1
+ import { L as Language } from './Locale-B_JQwPkq.mjs';
2
+ export { a as Locale, e as enGB } from './Locale-B_JQwPkq.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-DJLJNvnU.js';
2
- export { a as Locale, e as enGB } from './Locale-DJLJNvnU.js';
1
+ import { L as Language } from './Locale-B_JQwPkq.js';
2
+ export { a as Locale, e as enGB } from './Locale-B_JQwPkq.js';
3
3
 
4
4
  declare const frFR: {
5
5
  [key in Language]: string;
package/dist/locale.js CHANGED
@@ -117,7 +117,12 @@ var enGB = {
117
117
  logout: "Logout",
118
118
  "projects.search": "Search projects",
119
119
  download: "Download",
120
- "project.delete.warning": "Are you sure you want to delete this project? This cannot be undone"
120
+ "project.delete.warning": "Are you sure you want to delete this project? This cannot be undone",
121
+ "project.message.upload": "Upload project to the cloud",
122
+ "project.message.synced": "Project is up to date",
123
+ "project.message.update": "There are unsaved changes",
124
+ "project.message.download": "You are behind remote copy",
125
+ loading: "Loading..."
121
126
  };
122
127
  var en_GB_default = enGB;
123
128
 
@@ -238,7 +243,12 @@ var frFR = {
238
243
  logout: "Se d\xE9connecter",
239
244
  "projects.search": "Rechercher des projets",
240
245
  download: "T\xE9l\xE9charger",
241
- "project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible."
246
+ "project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible.",
247
+ "project.message.download": "T\xE9l\xE9charger le projet sur le cloud",
248
+ "project.message.synced": "Le projet est \xE0 jour",
249
+ "project.message.update": "Il y a des modifications non enregistr\xE9es",
250
+ "project.message.upload": "T\xE9l\xE9verser le projet sur le cloud",
251
+ loading: "Chargement..."
242
252
  };
243
253
  var fr_FR_default = frFR;
244
254
 
package/dist/locale.mjs CHANGED
@@ -117,7 +117,12 @@ var enGB = {
117
117
  logout: "Logout",
118
118
  "projects.search": "Search projects",
119
119
  download: "Download",
120
- "project.delete.warning": "Are you sure you want to delete this project? This cannot be undone"
120
+ "project.delete.warning": "Are you sure you want to delete this project? This cannot be undone",
121
+ "project.message.upload": "Upload project to the cloud",
122
+ "project.message.synced": "Project is up to date",
123
+ "project.message.update": "There are unsaved changes",
124
+ "project.message.download": "You are behind remote copy",
125
+ loading: "Loading..."
121
126
  };
122
127
  var en_GB_default = enGB;
123
128
 
@@ -238,7 +243,12 @@ var frFR = {
238
243
  logout: "Se d\xE9connecter",
239
244
  "projects.search": "Rechercher des projets",
240
245
  download: "T\xE9l\xE9charger",
241
- "project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible."
246
+ "project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible.",
247
+ "project.message.download": "T\xE9l\xE9charger le projet sur le cloud",
248
+ "project.message.synced": "Le projet est \xE0 jour",
249
+ "project.message.update": "Il y a des modifications non enregistr\xE9es",
250
+ "project.message.upload": "T\xE9l\xE9verser le projet sur le cloud",
251
+ loading: "Chargement..."
242
252
  };
243
253
  var fr_FR_default = frFR;
244
254
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bb-relay",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "For managing bb-editor extension",
5
5
  "license": "ISC",
6
6
  "author": "Ade Adeola",
@@ -124,6 +124,11 @@ export const enGB = {
124
124
  download: "Download",
125
125
  "project.delete.warning":
126
126
  "Are you sure you want to delete this project? This cannot be undone",
127
+ "project.message.upload": "Upload project to the cloud",
128
+ "project.message.synced": "Project is up to date",
129
+ "project.message.update": "There are unsaved changes",
130
+ "project.message.download": "You are behind remote copy",
131
+ loading: "Loading...",
127
132
  };
128
133
 
129
134
  export default enGB;
@@ -127,6 +127,11 @@ export const frFR: { [key in Language]: string } = {
127
127
  download: "Télécharger",
128
128
  "project.delete.warning":
129
129
  "Êtes-vous sûr de vouloir supprimer ce projet ? Cette action est irréversible.",
130
+ "project.message.download": "Télécharger le projet sur le cloud",
131
+ "project.message.synced": "Le projet est à jour",
132
+ "project.message.update": "Il y a des modifications non enregistrées",
133
+ "project.message.upload": "Téléverser le projet sur le cloud",
134
+ loading: "Chargement...",
130
135
  };
131
136
 
132
137
  export default frFR;
@@ -1,5 +1,6 @@
1
1
  import PROJECT_CATEGORY from "@/constants/PROJECT_CATEGORY";
2
2
  import { Wrapper } from "./Wrapper";
3
+ import { Checkpoint } from "@/editor";
3
4
 
4
5
  export type Category = (typeof PROJECT_CATEGORY)[number];
5
6
 
@@ -11,6 +12,8 @@ interface BaseProject {
11
12
  tags?: string[];
12
13
  description?: string;
13
14
  genre?: Category;
15
+ history?: Checkpoint[];
16
+ userId: string;
14
17
  }
15
18
 
16
19
  type Project = Wrapper<BaseProject>;