@epilot/entity-client 4.16.0 → 4.16.2

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/dist/openapi.d.ts CHANGED
@@ -1555,20 +1555,12 @@ declare namespace Components {
1555
1555
  search_params?: {
1556
1556
  [name: string]: string;
1557
1557
  };
1558
- table_menu_options?: {
1559
- icon?: string;
1560
- label?: string;
1561
- };
1562
1558
  }
1563
1559
  export interface EntityDefaultEdit {
1564
1560
  view_type?: "default";
1565
1561
  search_params?: {
1566
1562
  [name: string]: string;
1567
1563
  };
1568
- table_menu_options?: {
1569
- icon?: string;
1570
- label?: string;
1571
- };
1572
1564
  /**
1573
1565
  * List of attribute names that we show in the summary header
1574
1566
  */
@@ -1613,7 +1605,7 @@ declare namespace Components {
1613
1605
  */
1614
1606
  legacy?: boolean;
1615
1607
  })[];
1616
- row_actions?: (("view" | "edit" | "duplicate" | "delete" | "share") | /* An entity action configured from the entity schema */ EntityAction)[];
1608
+ row_actions?: (string | /* An entity action configured from the entity schema */ EntityAction)[];
1617
1609
  navbar_actions?: {
1618
1610
  type: string;
1619
1611
  options?: {
@@ -2020,6 +2012,14 @@ declare namespace Components {
2020
2012
  * }
2021
2013
  */
2022
2014
  RedirectEntityView | EntityViewDisabled;
2015
+ single_view?: EntityDefaultEdit | /**
2016
+ * example:
2017
+ * {
2018
+ * "type": "redirect",
2019
+ * "route": "/app/pricing-hub/product/:entityId"
2020
+ * }
2021
+ */
2022
+ RedirectEntityView | EntityViewDisabled;
2023
2023
  list_item?: {
2024
2024
  summary_attributes?: (/**
2025
2025
  * Represents an expanded version of an attribute to be displayed in the list item summary.
@@ -2269,6 +2269,14 @@ declare namespace Components {
2269
2269
  * }
2270
2270
  */
2271
2271
  RedirectEntityView | EntityViewDisabled;
2272
+ single_view?: EntityDefaultEdit | /**
2273
+ * example:
2274
+ * {
2275
+ * "type": "redirect",
2276
+ * "route": "/app/pricing-hub/product/:entityId"
2277
+ * }
2278
+ */
2279
+ RedirectEntityView | EntityViewDisabled;
2272
2280
  list_item?: {
2273
2281
  summary_attributes?: (/**
2274
2282
  * Represents an expanded version of an attribute to be displayed in the list item summary.
package/dist/openapi.json CHANGED
@@ -2516,6 +2516,19 @@
2516
2516
  }
2517
2517
  ]
2518
2518
  },
2519
+ "single_view": {
2520
+ "anyOf": [
2521
+ {
2522
+ "$ref": "#/components/schemas/EntityDefaultEdit"
2523
+ },
2524
+ {
2525
+ "$ref": "#/components/schemas/RedirectEntityView"
2526
+ },
2527
+ {
2528
+ "$ref": "#/components/schemas/EntityViewDisabled"
2529
+ }
2530
+ ]
2531
+ },
2519
2532
  "list_item": {
2520
2533
  "type": "object",
2521
2534
  "properties": {
@@ -4194,16 +4207,9 @@
4194
4207
  "row_actions": {
4195
4208
  "type": "array",
4196
4209
  "items": {
4197
- "anyOf": [
4210
+ "oneOf": [
4198
4211
  {
4199
- "type": "string",
4200
- "enum": [
4201
- "view",
4202
- "edit",
4203
- "duplicate",
4204
- "delete",
4205
- "share"
4206
- ]
4212
+ "type": "string"
4207
4213
  },
4208
4214
  {
4209
4215
  "$ref": "#/components/schemas/EntityAction"
@@ -4267,17 +4273,6 @@
4267
4273
  "additionalProperties": {
4268
4274
  "type": "string"
4269
4275
  }
4270
- },
4271
- "table_menu_options": {
4272
- "type": "object",
4273
- "properties": {
4274
- "icon": {
4275
- "type": "string"
4276
- },
4277
- "label": {
4278
- "type": "string"
4279
- }
4280
- }
4281
4276
  }
4282
4277
  }
4283
4278
  },
@@ -4296,17 +4291,6 @@
4296
4291
  "type": "string"
4297
4292
  }
4298
4293
  },
4299
- "table_menu_options": {
4300
- "type": "object",
4301
- "properties": {
4302
- "icon": {
4303
- "type": "string"
4304
- },
4305
- "label": {
4306
- "type": "string"
4307
- }
4308
- }
4309
- },
4310
4294
  "summary_attributes": {
4311
4295
  "description": "List of attribute names that we show in the summary header",
4312
4296
  "type": "array",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "4.16.0",
3
+ "version": "4.16.2",
4
4
  "description": "JavaScript client library for the epilot Core Entity API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",