@isardsat/editorial-common 6.1.2 → 6.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @isardsat/editorial-common
2
2
 
3
+ ## 6.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0e815f9: Fix admin panel auth
8
+
9
+ ## 6.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - ab4aea4: Admin panel firebase rework
14
+
3
15
  ## 6.1.2
4
16
 
5
17
  ### Patch Changes
package/dist/schemas.d.ts CHANGED
@@ -4,16 +4,59 @@ export declare const EditorialConfigSchema: z.ZodObject<{
4
4
  publicUrl: z.ZodString;
5
5
  previewUrl: z.ZodOptional<z.ZodString>;
6
6
  silent: z.ZodOptional<z.ZodBoolean>;
7
+ firebase: z.ZodOptional<z.ZodObject<{
8
+ apiKey: z.ZodString;
9
+ authDomain: z.ZodString;
10
+ databaseURL: z.ZodString;
11
+ projectId: z.ZodString;
12
+ storageBucket: z.ZodString;
13
+ messagingSenderId: z.ZodString;
14
+ dbUsersPath: z.ZodString;
15
+ }, "strip", z.ZodTypeAny, {
16
+ apiKey: string;
17
+ authDomain: string;
18
+ databaseURL: string;
19
+ projectId: string;
20
+ storageBucket: string;
21
+ messagingSenderId: string;
22
+ dbUsersPath: string;
23
+ }, {
24
+ apiKey: string;
25
+ authDomain: string;
26
+ databaseURL: string;
27
+ projectId: string;
28
+ storageBucket: string;
29
+ messagingSenderId: string;
30
+ dbUsersPath: string;
31
+ }>>;
7
32
  }, "strip", z.ZodTypeAny, {
8
33
  name: string;
9
34
  publicUrl: string;
10
35
  previewUrl?: string | undefined;
11
36
  silent?: boolean | undefined;
37
+ firebase?: {
38
+ apiKey: string;
39
+ authDomain: string;
40
+ databaseURL: string;
41
+ projectId: string;
42
+ storageBucket: string;
43
+ messagingSenderId: string;
44
+ dbUsersPath: string;
45
+ } | undefined;
12
46
  }, {
13
47
  name: string;
14
48
  publicUrl: string;
15
49
  previewUrl?: string | undefined;
16
50
  silent?: boolean | undefined;
51
+ firebase?: {
52
+ apiKey: string;
53
+ authDomain: string;
54
+ databaseURL: string;
55
+ projectId: string;
56
+ storageBucket: string;
57
+ messagingSenderId: string;
58
+ dbUsersPath: string;
59
+ } | undefined;
17
60
  }>;
18
61
  export declare const EditorialDataObjectWithTypeSchema: z.ZodObject<{
19
62
  id: z.ZodString;
package/dist/schemas.js CHANGED
@@ -7,6 +7,17 @@ exports.EditorialConfigSchema = zod_openapi_1.z.object({
7
7
  publicUrl: zod_openapi_1.z.string().url(),
8
8
  previewUrl: zod_openapi_1.z.string().optional(),
9
9
  silent: zod_openapi_1.z.boolean().optional(),
10
+ firebase: zod_openapi_1.z
11
+ .object({
12
+ apiKey: zod_openapi_1.z.string(),
13
+ authDomain: zod_openapi_1.z.string(),
14
+ databaseURL: zod_openapi_1.z.string(),
15
+ projectId: zod_openapi_1.z.string(),
16
+ storageBucket: zod_openapi_1.z.string(),
17
+ messagingSenderId: zod_openapi_1.z.string(),
18
+ dbUsersPath: zod_openapi_1.z.string(),
19
+ })
20
+ .optional(),
10
21
  });
11
22
  exports.EditorialDataObjectWithTypeSchema = zod_openapi_1.z
12
23
  .object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isardsat/editorial-common",
3
- "version": "6.1.2",
3
+ "version": "6.3.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
package/src/schemas.ts CHANGED
@@ -5,6 +5,17 @@ export const EditorialConfigSchema = z.object({
5
5
  publicUrl: z.string().url(),
6
6
  previewUrl: z.string().optional(),
7
7
  silent: z.boolean().optional(),
8
+ firebase: z
9
+ .object({
10
+ apiKey: z.string(),
11
+ authDomain: z.string(),
12
+ databaseURL: z.string(),
13
+ projectId: z.string(),
14
+ storageBucket: z.string(),
15
+ messagingSenderId: z.string(),
16
+ dbUsersPath: z.string(),
17
+ })
18
+ .optional(),
8
19
  });
9
20
 
10
21
  export const EditorialDataObjectWithTypeSchema = z