@explo-tech/fido-api 0.0.19 → 0.0.21

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.
@@ -6,6 +6,7 @@ import type { Aggregation } from './Aggregation';
6
6
  import type { AggregationOption } from './AggregationOption';
7
7
 
8
8
  export type AggregateProperty = {
9
+ '@type': 'aggregate';
9
10
  propertyId: string | null;
10
11
  targetPropertyId: string | null;
11
12
  aggregation?: Aggregation;
package/models/And.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  import type { Filter } from './Filter';
6
6
 
7
7
  export type And = {
8
- readonly '@type': 'and';
8
+ '@type': 'and';
9
9
  values: Array<Filter>;
10
10
  };
11
11
 
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type BooleanPropertyValue = {
6
+ '@type': 'boolean';
6
7
  value: boolean;
7
8
  };
8
9
 
@@ -10,6 +10,7 @@ export type ComputedView = {
10
10
  columnDefinitions: Array<PropertySchema>;
11
11
  readonly id: string;
12
12
  readonly namespaceId: string;
13
+ '@type': 'computed-view';
13
14
  query: string;
14
15
  };
15
16
 
@@ -6,6 +6,7 @@ import type { DatePart } from './DatePart';
6
6
 
7
7
  export type DatePartGrouping = {
8
8
  propertyId: string;
9
+ '@type': 'date-part';
9
10
  datePart?: DatePart;
10
11
  };
11
12
 
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type DatePropertyValue = {
6
+ '@type': 'date';
6
7
  value: string;
7
8
  };
8
9
 
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type DateTimePropertyValue = {
6
+ '@type': 'datetime';
6
7
  value: string;
7
8
  };
8
9
 
@@ -4,6 +4,7 @@
4
4
 
5
5
  export type DecimalIntervalGrouping = {
6
6
  propertyId: string;
7
+ '@type': 'decimal-interval';
7
8
  interval?: number;
8
9
  };
9
10
 
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type DecimalPropertyValue = {
6
+ '@type': 'decimal';
6
7
  value: number;
7
8
  };
8
9
 
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type DoublePropertyValue = {
6
+ '@type': 'double';
6
7
  value: number;
7
8
  };
8
9
 
package/models/Equal.ts CHANGED
@@ -5,8 +5,8 @@
5
5
  import type { PropertyValue } from './PropertyValue';
6
6
 
7
7
  export type Equal = {
8
- readonly '@type': 'eq';
8
+ '@type': 'eq';
9
9
  propertyId: string;
10
- value?: PropertyValue;
10
+ value: PropertyValue;
11
11
  };
12
12
 
package/models/Filter.ts CHANGED
@@ -6,10 +6,9 @@ import type { And } from './And';
6
6
  import type { Equal } from './Equal';
7
7
  import type { In } from './In';
8
8
  import type { LateBoundEqual } from './LateBoundEqual';
9
+ import type { LateBoundIn } from './LateBoundIn';
9
10
  import type { Not } from './Not';
10
11
  import type { Or } from './Or';
11
12
 
12
- export type Filter = (And | Or | Not | Equal | LateBoundEqual | In | {
13
- readonly '@type': string;
14
- });
13
+ export type Filter = (And | Or | Not | Equal | LateBoundEqual | In | LateBoundIn);
15
14
 
package/models/In.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  import type { PropertyValue } from './PropertyValue';
6
6
 
7
7
  export type In = {
8
- readonly '@type': 'in';
8
+ '@type': 'in';
9
9
  propertyId: string;
10
10
  values: Array<PropertyValue>;
11
11
  };
@@ -4,6 +4,7 @@
4
4
 
5
5
  export type IntegerIntervalGrouping = {
6
6
  propertyId: string;
7
+ '@type': 'integer-interval';
7
8
  interval?: number;
8
9
  };
9
10
 
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type IntegerPropertyValue = {
6
+ '@type': 'integer';
6
7
  value: number;
7
8
  };
8
9
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type LateBoundEqual = {
6
- readonly '@type': 'eq-var-ref';
6
+ '@type': 'eq-var-ref';
7
7
  propertyId: string;
8
8
  valueVariableReference: string;
9
9
  };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type LateBoundIn = {
6
- readonly '@type': string;
6
+ '@type': 'in-var-ref';
7
7
  propertyId: string;
8
8
  valueVariableReference: string;
9
9
  };
package/models/MySql.ts CHANGED
@@ -7,6 +7,7 @@ import type { Tunnel } from './Tunnel';
7
7
 
8
8
  export type MySql = {
9
9
  tunnel: Tunnel;
10
+ '@type': 'mysql';
10
11
  authentication: MySqlAuthentication;
11
12
  database: string;
12
13
  host: string;
package/models/Not.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  import type { Filter } from './Filter';
6
6
 
7
7
  export type Not = {
8
- readonly '@type': 'not';
8
+ '@type': 'not';
9
9
  value: Filter;
10
10
  };
11
11
 
package/models/Or.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  import type { Filter } from './Filter';
6
6
 
7
7
  export type Or = {
8
- readonly '@type': 'or';
8
+ '@type': 'or';
9
9
  values: Array<Filter>;
10
10
  };
11
11
 
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type PasswordAuthentication = {
6
+ '@type': 'username-password';
6
7
  username: string;
7
8
  password: string;
8
9
  };
@@ -7,6 +7,7 @@ import type { Tunnel } from './Tunnel';
7
7
 
8
8
  export type Postgres = {
9
9
  tunnel: Tunnel;
10
+ '@type': 'postgres';
10
11
  authentication: PostgresAuthentication;
11
12
  database: string;
12
13
  host: string;
@@ -2,4 +2,7 @@
2
2
  /* tslint:disable */
3
3
  /* eslint-disable */
4
4
 
5
- export type PublicTunnel = Record<string, any>;
5
+ export type PublicTunnel = {
6
+ '@type': 'public-internet';
7
+ };
8
+
@@ -6,6 +6,7 @@ import type { SSHAuthentication } from './SSHAuthentication';
6
6
  import type { Tunnel } from './Tunnel';
7
7
 
8
8
  export type SSHTunnel = {
9
+ '@type': 'ssh-tunnel';
9
10
  tunnel: Tunnel;
10
11
  host: string;
11
12
  port?: number;
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type SourceProperty = {
6
+ '@type': 'source';
6
7
  propertyId: string;
7
8
  targetPropertyId: string | null;
8
9
  };
@@ -3,6 +3,7 @@
3
3
  /* eslint-disable */
4
4
 
5
5
  export type StringPropertyValue = {
6
+ '@type': 'string';
6
7
  value: string;
7
8
  };
8
9
 
@@ -10,6 +10,7 @@ export type TableView = {
10
10
  columnDefinitions: Array<PropertySchema>;
11
11
  readonly id: string;
12
12
  readonly namespaceId: string;
13
+ '@type': 'table-view';
13
14
  tableName: string;
14
15
  };
15
16
 
@@ -4,6 +4,7 @@
4
4
 
5
5
  export type TenantPrivateKeyAuthentication = {
6
6
  username: string;
7
+ '@type': 'tenant';
7
8
  privateKey: string;
8
9
  };
9
10
 
@@ -4,5 +4,6 @@
4
4
 
5
5
  export type ValueGrouping = {
6
6
  propertyId: string;
7
+ '@type': 'value';
7
8
  };
8
9
 
@@ -4,5 +4,6 @@
4
4
 
5
5
  export type VendorPrivateKeyAuthentication = {
6
6
  username: string;
7
+ '@type': 'vendor';
7
8
  };
8
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explo-tech/fido-api",
3
- "version": "0.0.19",
3
+ "version": "0.0.21",
4
4
  "description": "Fido api",
5
5
  "homepage": "https://github.com/trust-kaz/fido",
6
6
  "license": "MIT",