@explo-tech/fido-api 0.0.43 → 0.0.45

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.
@@ -3,12 +3,15 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
 
6
- import type { DataSource } from './DataSource';
6
+ import type { DataSourceConfiguration } from './DataSourceConfiguration';
7
7
 
8
8
  export type DataSourceResponse = {
9
- dataSource: (DataSource & {
9
+ dataSource: {
10
+ name: string;
11
+ externalId: string;
10
12
  readonly id: string;
11
13
  readonly namespaceId: string;
12
- });
14
+ configuration: DataSourceConfiguration;
15
+ };
13
16
  };
14
17
 
@@ -3,15 +3,12 @@
3
3
  /* tslint:disable */
4
4
  /* eslint-disable */
5
5
 
6
- import type { PropertySchema } from './PropertySchema';
6
+ import type { View } from './View';
7
7
 
8
8
  export type ViewResponse = {
9
- view: {
10
- name: string;
11
- description: string | null;
12
- columnDefinitions: Array<PropertySchema>;
9
+ view: (View & {
13
10
  readonly id: string;
14
11
  readonly namespaceId: string;
15
- };
12
+ });
16
13
  };
17
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explo-tech/fido-api",
3
- "version": "0.0.43",
3
+ "version": "0.0.45",
4
4
  "description": "Fido api",
5
5
  "homepage": "https://github.com/trust-kaz/fido",
6
6
  "license": "MIT",
@@ -30,10 +30,10 @@ export class NamespaceResourceService {
30
30
  }
31
31
 
32
32
  /**
33
- * Fetches all namespaces and, optionally, their associated data sources
33
+ * Fetches all namespaces and, optionally, their associated data sources and or views
34
34
  * @param includeDataSources
35
35
  * @param includeViews
36
- * @returns any All namespaces, along with associated data sources
36
+ * @returns any All namespaces, along with associated data sources and or views
37
37
  * @throws ApiError
38
38
  */
39
39
  public static getNamespaces(
@@ -53,11 +53,11 @@ export class NamespaceResourceService {
53
53
  }
54
54
 
55
55
  /**
56
- * Gets a namespace and its associated data sources
56
+ * Gets a namespace and its associated data sources and or views
57
57
  * @param id
58
58
  * @param includeDataSources
59
59
  * @param includeViews
60
- * @returns NamespaceResponse The requested namespace, along with its associated data sources
60
+ * @returns NamespaceResponse The requested namespace, along with its associated data sources and or views
61
61
  * @throws ApiError
62
62
  */
63
63
  public static getNamespace(