@explo-tech/fido-api 0.0.34 → 0.0.36

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.
@@ -8,8 +8,8 @@ export type ComputedView = {
8
8
  name: string;
9
9
  description: string | null;
10
10
  columnDefinitions: Array<PropertySchema>;
11
- readonly id?: string;
12
- readonly namespaceId?: string;
11
+ readonly id: string;
12
+ readonly namespaceId: string;
13
13
  '@type': 'computed-view';
14
14
  query: string;
15
15
  };
@@ -7,8 +7,8 @@ import type { DataSourceConfiguration } from './DataSourceConfiguration';
7
7
  export type DataSource = {
8
8
  name: string;
9
9
  externalId: string;
10
- readonly id?: string;
11
- readonly namespaceId?: string;
10
+ readonly id: string;
11
+ readonly namespaceId: string;
12
12
  configuration: DataSourceConfiguration;
13
13
  };
14
14
 
@@ -6,7 +6,9 @@ import type { Namespace } from './Namespace';
6
6
  import type { NamespaceResponseMetadata } from './NamespaceResponseMetadata';
7
7
 
8
8
  export type NamespaceResponse = {
9
- namespace: Namespace;
9
+ namespace: (Namespace & {
10
+ readonly id: string;
11
+ });
10
12
  meta: NamespaceResponseMetadata | null;
11
13
  };
12
14
 
@@ -8,8 +8,8 @@ export type TableView = {
8
8
  name: string;
9
9
  description: string | null;
10
10
  columnDefinitions: Array<PropertySchema>;
11
- readonly id?: string;
12
- readonly namespaceId?: string;
11
+ readonly id: string;
12
+ readonly namespaceId: string;
13
13
  '@type': 'table-view';
14
14
  tableName: string;
15
15
  };
package/models/View.ts CHANGED
@@ -10,7 +10,7 @@ export type View = (TableView | ComputedView | {
10
10
  name: string;
11
11
  description: string | null;
12
12
  columnDefinitions: Array<PropertySchema>;
13
- readonly id?: string;
14
- readonly namespaceId?: string;
13
+ readonly id: string;
14
+ readonly namespaceId: string;
15
15
  });
16
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explo-tech/fido-api",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
4
4
  "description": "Fido api",
5
5
  "homepage": "https://github.com/trust-kaz/fido",
6
6
  "license": "MIT",