@isardsat/editorial-common 6.9.0 → 6.11.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,21 @@
1
1
  # @isardsat/editorial-common
2
2
 
3
+ ## 6.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 144ab5c: Added a favicon and displayed the Editorial version in the sidebar.
8
+
9
+ Introduced table filtering by a specific element defined in the schema.filterBy.
10
+
11
+ Added column sorting support for tables.
12
+
13
+ ## 6.10.0
14
+
15
+ ### Minor Changes
16
+
17
+ - 7383e37: Ui changes and vulnerability fix
18
+
3
19
  ## 6.9.0
4
20
 
5
21
  ### Minor Changes
package/dist/schemas.d.ts CHANGED
@@ -72,6 +72,7 @@ export declare const EditorialSchemaItemFieldSchema: z.ZodObject<{
72
72
  }, z.core.$loose>;
73
73
  export declare const EditorialSchemaItemSchema: z.ZodObject<{
74
74
  displayName: z.ZodString;
75
+ filterBy: z.ZodOptional<z.ZodString>;
75
76
  singleton: z.ZodOptional<z.ZodBoolean>;
76
77
  fields: z.ZodRecord<z.ZodString, z.ZodObject<{
77
78
  type: z.ZodEnum<{
@@ -94,6 +95,7 @@ export declare const EditorialSchemaItemSchema: z.ZodObject<{
94
95
  }, z.core.$strip>;
95
96
  export declare const EditorialSchemaSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
96
97
  displayName: z.ZodString;
98
+ filterBy: z.ZodOptional<z.ZodString>;
97
99
  singleton: z.ZodOptional<z.ZodBoolean>;
98
100
  fields: z.ZodRecord<z.ZodString, z.ZodObject<{
99
101
  type: z.ZodEnum<{
package/dist/schemas.js CHANGED
@@ -68,6 +68,7 @@ export const EditorialSchemaItemFieldSchema = z.looseObject({
68
68
  });
69
69
  export const EditorialSchemaItemSchema = z.object({
70
70
  displayName: z.string(),
71
+ filterBy: z.string().optional(),
71
72
  singleton: z.boolean().optional(),
72
73
  fields: z.record(z.string(), EditorialSchemaItemFieldSchema),
73
74
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isardsat/editorial-common",
3
- "version": "6.9.0",
3
+ "version": "6.11.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/schemas.ts CHANGED
@@ -87,6 +87,7 @@ export const EditorialSchemaItemFieldSchema = z.looseObject({
87
87
 
88
88
  export const EditorialSchemaItemSchema = z.object({
89
89
  displayName: z.string(),
90
+ filterBy: z.string().optional(),
90
91
  singleton: z.boolean().optional(),
91
92
  fields: z.record(z.string(), EditorialSchemaItemFieldSchema),
92
93
  });