@centia-io/sdk 0.0.24 → 0.0.25

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/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ //#endregion
1
2
  //#region src/util/utils.d.ts
2
3
  type Tokens = {
3
4
  accessToken: string;
@@ -84,8 +85,9 @@ declare class PasswordFlow {
84
85
  signOut(): void;
85
86
  clear(): void;
86
87
  }
87
- //#endregion
88
- //#region src/types/pgTypes.d.ts
88
+ declare namespace pgTypes_d_exports {
89
+ export { BPChar, Box, Char, Circle, ColumnSchemaMeta, DataRow, DateRange, DateString, DecimalString, Int4Range, Int8Range, IntervalValue, JsonArray, JsonObject, JsonPrimitive, JsonValue, Line, Lseg, NumRange, NumericString, Path, PgArray, PgBoolean, Point, Polygon, Range, RowValue, RpcRequest, RpcResponse, SQLResponse, SqlRequest, Text, TimeString, TimestampString, TimestamptzString, TimetzString, TsRange, TstzRange, Varchar };
90
+ }
89
91
  /**
90
92
  * These types model the request/response payloads and complex values
91
93
  */
@@ -95,7 +97,12 @@ interface JsonObject {
95
97
  [key: string]: JsonValue;
96
98
  }
97
99
  type JsonArray = JsonValue[];
100
+ type DecimalString = string;
98
101
  type NumericString = string;
102
+ type Varchar = string;
103
+ type Char = string;
104
+ type BPChar = string;
105
+ type Text = string;
99
106
  type PgBoolean = boolean;
100
107
  type DateString = string;
101
108
  type TimeString = string;
@@ -232,5 +239,5 @@ declare class Tables {
232
239
  type MethodsOf<T> = { [K in keyof T]: T[K] extends ((...args: infer A) => infer R) ? (...args: A) => R : never };
233
240
  declare function createApi<T>(): MethodsOf<T>;
234
241
  //#endregion
235
- export { Claims, CodeFlow, type CodeFlowOptions, Meta, type Options, PasswordFlow, type PasswordFlowOptions, Rpc, type RpcRequest, type RpcResponse, Sql, Stats, Status, Tables, Users, Ws, createApi };
242
+ export { Claims, CodeFlow, type CodeFlowOptions, Meta, type Options, PasswordFlow, type PasswordFlowOptions, type pgTypes_d_exports as PgTypes, Rpc, type RpcRequest, type RpcResponse, Sql, Stats, Status, Tables, Users, Ws, createApi };
236
243
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ //#endregion
1
2
  //#region src/util/utils.d.ts
2
3
  type Tokens = {
3
4
  accessToken: string;
@@ -84,8 +85,9 @@ declare class PasswordFlow {
84
85
  signOut(): void;
85
86
  clear(): void;
86
87
  }
87
- //#endregion
88
- //#region src/types/pgTypes.d.ts
88
+ declare namespace pgTypes_d_exports {
89
+ export { BPChar, Box, Char, Circle, ColumnSchemaMeta, DataRow, DateRange, DateString, DecimalString, Int4Range, Int8Range, IntervalValue, JsonArray, JsonObject, JsonPrimitive, JsonValue, Line, Lseg, NumRange, NumericString, Path, PgArray, PgBoolean, Point, Polygon, Range, RowValue, RpcRequest, RpcResponse, SQLResponse, SqlRequest, Text, TimeString, TimestampString, TimestamptzString, TimetzString, TsRange, TstzRange, Varchar };
90
+ }
89
91
  /**
90
92
  * These types model the request/response payloads and complex values
91
93
  */
@@ -95,7 +97,12 @@ interface JsonObject {
95
97
  [key: string]: JsonValue;
96
98
  }
97
99
  type JsonArray = JsonValue[];
100
+ type DecimalString = string;
98
101
  type NumericString = string;
102
+ type Varchar = string;
103
+ type Char = string;
104
+ type BPChar = string;
105
+ type Text = string;
99
106
  type PgBoolean = boolean;
100
107
  type DateString = string;
101
108
  type TimeString = string;
@@ -232,5 +239,5 @@ declare class Tables {
232
239
  type MethodsOf<T> = { [K in keyof T]: T[K] extends ((...args: infer A) => infer R) ? (...args: A) => R : never };
233
240
  declare function createApi<T>(): MethodsOf<T>;
234
241
  //#endregion
235
- export { Claims, CodeFlow, type CodeFlowOptions, Meta, type Options, PasswordFlow, type PasswordFlowOptions, Rpc, type RpcRequest, type RpcResponse, Sql, Stats, Status, Tables, Users, Ws, createApi };
242
+ export { Claims, CodeFlow, type CodeFlowOptions, Meta, type Options, PasswordFlow, type PasswordFlowOptions, type pgTypes_d_exports as PgTypes, Rpc, type RpcRequest, type RpcResponse, Sql, Stats, Status, Tables, Users, Ws, createApi };
236
243
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centia-io/sdk",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "TypeScript client for Centia-io",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",