@isardsat/editorial-common 6.5.1 → 6.6.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,11 @@
1
1
  # @isardsat/editorial-common
2
2
 
3
+ ## 6.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 86b73ad: Improved UI
8
+
3
9
  ## 6.5.1
4
10
 
5
11
  ### Patch Changes
package/dist/schemas.d.ts CHANGED
@@ -82,40 +82,49 @@ export declare const EditorialDataObjectWithTypeSchema: z.ZodObject<{
82
82
  }, z.ZodTypeAny, "passthrough">>;
83
83
  export declare const EditorialDataItemSchema: z.ZodObject<{
84
84
  id: z.ZodString;
85
+ isDraft: z.ZodDefault<z.ZodBoolean>;
85
86
  createdAt: z.ZodDefault<z.ZodString>;
86
87
  updatedAt: z.ZodDefault<z.ZodString>;
87
88
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
88
89
  id: z.ZodString;
90
+ isDraft: z.ZodDefault<z.ZodBoolean>;
89
91
  createdAt: z.ZodDefault<z.ZodString>;
90
92
  updatedAt: z.ZodDefault<z.ZodString>;
91
93
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
92
94
  id: z.ZodString;
95
+ isDraft: z.ZodDefault<z.ZodBoolean>;
93
96
  createdAt: z.ZodDefault<z.ZodString>;
94
97
  updatedAt: z.ZodDefault<z.ZodString>;
95
98
  }, z.ZodTypeAny, "passthrough">>;
96
99
  export declare const EditorialDataTypeSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
97
100
  id: z.ZodString;
101
+ isDraft: z.ZodDefault<z.ZodBoolean>;
98
102
  createdAt: z.ZodDefault<z.ZodString>;
99
103
  updatedAt: z.ZodDefault<z.ZodString>;
100
104
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
101
105
  id: z.ZodString;
106
+ isDraft: z.ZodDefault<z.ZodBoolean>;
102
107
  createdAt: z.ZodDefault<z.ZodString>;
103
108
  updatedAt: z.ZodDefault<z.ZodString>;
104
109
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
105
110
  id: z.ZodString;
111
+ isDraft: z.ZodDefault<z.ZodBoolean>;
106
112
  createdAt: z.ZodDefault<z.ZodString>;
107
113
  updatedAt: z.ZodDefault<z.ZodString>;
108
114
  }, z.ZodTypeAny, "passthrough">>>;
109
115
  export declare const EditorialDataSchema: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
110
116
  id: z.ZodString;
117
+ isDraft: z.ZodDefault<z.ZodBoolean>;
111
118
  createdAt: z.ZodDefault<z.ZodString>;
112
119
  updatedAt: z.ZodDefault<z.ZodString>;
113
120
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
114
121
  id: z.ZodString;
122
+ isDraft: z.ZodDefault<z.ZodBoolean>;
115
123
  createdAt: z.ZodDefault<z.ZodString>;
116
124
  updatedAt: z.ZodDefault<z.ZodString>;
117
125
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
118
126
  id: z.ZodString;
127
+ isDraft: z.ZodDefault<z.ZodBoolean>;
119
128
  createdAt: z.ZodDefault<z.ZodString>;
120
129
  updatedAt: z.ZodDefault<z.ZodString>;
121
130
  }, z.ZodTypeAny, "passthrough">>>>;
package/dist/schemas.js CHANGED
@@ -32,6 +32,7 @@ exports.EditorialDataObjectWithTypeSchema = zod_openapi_1.z
32
32
  exports.EditorialDataItemSchema = zod_openapi_1.z
33
33
  .object({
34
34
  id: zod_openapi_1.z.string(),
35
+ isDraft: zod_openapi_1.z.boolean().default(false),
35
36
  createdAt: zod_openapi_1.z
36
37
  .string()
37
38
  .datetime()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isardsat/editorial-common",
3
- "version": "6.5.1",
3
+ "version": "6.6.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
package/src/schemas.ts CHANGED
@@ -32,6 +32,7 @@ export const EditorialDataObjectWithTypeSchema = z
32
32
  export const EditorialDataItemSchema = z
33
33
  .object({
34
34
  id: z.string(),
35
+ isDraft: z.boolean().default(false),
35
36
  createdAt: z
36
37
  .string()
37
38
  .datetime()