bb-relay 0.0.18 → 0.0.20

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,20 @@ 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;
123
+ enable: string;
124
+ disable: string;
125
+ plugin: string;
126
+ plugins: string;
127
+ "updates.check": string;
128
+ "updates.download": string;
129
+ "plugins.enable.all": string;
130
+ "plugins.disable.all": string;
131
+ "plugins.install.local": string;
118
132
  };
119
133
 
120
134
  type Language = keyof typeof enGB;
@@ -115,6 +115,20 @@ 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;
123
+ enable: string;
124
+ disable: string;
125
+ plugin: string;
126
+ plugins: string;
127
+ "updates.check": string;
128
+ "updates.download": string;
129
+ "plugins.enable.all": string;
130
+ "plugins.disable.all": string;
131
+ "plugins.install.local": string;
118
132
  };
119
133
 
120
134
  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;
@@ -22,7 +23,9 @@ interface BaseProject {
22
23
  id: string;
23
24
  tags?: string[];
24
25
  description?: string;
25
- genre?: Category;
26
+ category?: 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;
@@ -22,7 +23,9 @@ interface BaseProject {
22
23
  id: string;
23
24
  tags?: string[];
24
25
  description?: string;
25
- genre?: Category;
26
+ category?: 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-CaBJDjOU.mjs';
2
+ export { P as Project } from './Project-CaBJDjOU.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-CSkTbftG.js';
2
+ export { P as Project } from './Project-CSkTbftG.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-WvQQn-Rm.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-WvQQn-Rm.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-CaBJDjOU.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-CSkTbftG.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-WvQQn-Rm.mjs';
2
+ export { a as Locale, e as enGB } from './Locale-WvQQn-Rm.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-WvQQn-Rm.js';
2
+ export { a as Locale, e as enGB } from './Locale-WvQQn-Rm.js';
3
3
 
4
4
  declare const frFR: {
5
5
  [key in Language]: string;
package/dist/locale.js CHANGED
@@ -117,7 +117,21 @@ 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...",
126
+ enable: "Enable",
127
+ disable: "Disable",
128
+ plugin: "Plugin",
129
+ plugins: "Plugins",
130
+ "updates.check": "Check for updates",
131
+ "updates.download": "Download updates",
132
+ "plugins.enable.all": "Enable all plugins",
133
+ "plugins.disable.all": "Disable all plugins",
134
+ "plugins.install.local": "Install local plugins"
121
135
  };
122
136
  var en_GB_default = enGB;
123
137
 
@@ -238,7 +252,21 @@ var frFR = {
238
252
  logout: "Se d\xE9connecter",
239
253
  "projects.search": "Rechercher des projets",
240
254
  download: "T\xE9l\xE9charger",
241
- "project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible."
255
+ "project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible.",
256
+ "project.message.download": "T\xE9l\xE9charger le projet sur le cloud",
257
+ "project.message.synced": "Le projet est \xE0 jour",
258
+ "project.message.update": "Il y a des modifications non enregistr\xE9es",
259
+ "project.message.upload": "T\xE9l\xE9verser le projet sur le cloud",
260
+ loading: "Chargement...",
261
+ enable: "Activer",
262
+ disable: "D\xE9sactiver",
263
+ plugin: "Plugin",
264
+ plugins: "Plugins",
265
+ "updates.check": "Rechercher les mises \xE0 jour",
266
+ "updates.download": "T\xE9l\xE9charger les mises \xE0 jour",
267
+ "plugins.enable.all": "Activer tous les plugins",
268
+ "plugins.disable.all": "D\xE9sactiver tous les plugins",
269
+ "plugins.install.local": "Installer des plugins locaux"
242
270
  };
243
271
  var fr_FR_default = frFR;
244
272
 
package/dist/locale.mjs CHANGED
@@ -117,7 +117,21 @@ 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...",
126
+ enable: "Enable",
127
+ disable: "Disable",
128
+ plugin: "Plugin",
129
+ plugins: "Plugins",
130
+ "updates.check": "Check for updates",
131
+ "updates.download": "Download updates",
132
+ "plugins.enable.all": "Enable all plugins",
133
+ "plugins.disable.all": "Disable all plugins",
134
+ "plugins.install.local": "Install local plugins"
121
135
  };
122
136
  var en_GB_default = enGB;
123
137
 
@@ -238,7 +252,21 @@ var frFR = {
238
252
  logout: "Se d\xE9connecter",
239
253
  "projects.search": "Rechercher des projets",
240
254
  download: "T\xE9l\xE9charger",
241
- "project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible."
255
+ "project.delete.warning": "\xCAtes-vous s\xFBr de vouloir supprimer ce projet\xA0? Cette action est irr\xE9versible.",
256
+ "project.message.download": "T\xE9l\xE9charger le projet sur le cloud",
257
+ "project.message.synced": "Le projet est \xE0 jour",
258
+ "project.message.update": "Il y a des modifications non enregistr\xE9es",
259
+ "project.message.upload": "T\xE9l\xE9verser le projet sur le cloud",
260
+ loading: "Chargement...",
261
+ enable: "Activer",
262
+ disable: "D\xE9sactiver",
263
+ plugin: "Plugin",
264
+ plugins: "Plugins",
265
+ "updates.check": "Rechercher les mises \xE0 jour",
266
+ "updates.download": "T\xE9l\xE9charger les mises \xE0 jour",
267
+ "plugins.enable.all": "Activer tous les plugins",
268
+ "plugins.disable.all": "D\xE9sactiver tous les plugins",
269
+ "plugins.install.local": "Installer des plugins locaux"
242
270
  };
243
271
  var fr_FR_default = frFR;
244
272
  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.20",
4
4
  "description": "For managing bb-editor extension",
5
5
  "license": "ISC",
6
6
  "author": "Ade Adeola",
@@ -124,6 +124,20 @@ 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...",
132
+ enable: "Enable",
133
+ disable: "Disable",
134
+ plugin: "Plugin",
135
+ plugins: "Plugins",
136
+ "updates.check": "Check for updates",
137
+ "updates.download": "Download updates",
138
+ "plugins.enable.all": "Enable all plugins",
139
+ "plugins.disable.all": "Disable all plugins",
140
+ "plugins.install.local": "Install local plugins",
127
141
  };
128
142
 
129
143
  export default enGB;
@@ -127,6 +127,20 @@ 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...",
135
+ enable: "Activer",
136
+ disable: "Désactiver",
137
+ plugin: "Plugin",
138
+ plugins: "Plugins",
139
+ "updates.check": "Rechercher les mises à jour",
140
+ "updates.download": "Télécharger les mises à jour",
141
+ "plugins.enable.all": "Activer tous les plugins",
142
+ "plugins.disable.all": "Désactiver tous les plugins",
143
+ "plugins.install.local": "Installer des plugins locaux",
130
144
  };
131
145
 
132
146
  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
 
@@ -10,7 +11,9 @@ interface BaseProject {
10
11
  id: string;
11
12
  tags?: string[];
12
13
  description?: string;
13
- genre?: Category;
14
+ category?: Category;
15
+ history?: Checkpoint[];
16
+ userId: string;
14
17
  }
15
18
 
16
19
  type Project = Wrapper<BaseProject>;