@tailor-platform/function-types 0.9.0 → 0.10.0
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/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/tailor.d.ts +21 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @tailor-platform/function-types
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#189](https://github.com/tailor-platform/function/pull/189) [`2e2f241`](https://github.com/tailor-platform/function/commit/2e2f241b0e9bb1480de7e376abbef3cd27aae30d) Thanks [@dragon3](https://github.com/dragon3)! - Add `tailor.aigateway.get(name)` types for resolving an AI Gateway URL in the caller's workspace.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#180](https://github.com/tailor-platform/function/pull/180) [`a36c24f`](https://github.com/tailor-platform/function/commit/a36c24faa835a350617b4f29c6e848894bcdc1e3) Thanks [@k1LoW](https://github.com/k1LoW)! - Remove non-existent `updatedAt` field from `tailor.idp.User`
|
|
12
|
+
|
|
3
13
|
## 0.9.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/package.json
CHANGED
package/tailor.d.ts
CHANGED
|
@@ -61,6 +61,27 @@ declare namespace tailor.authconnection {
|
|
|
61
61
|
function getConnectionToken(connectionName: string): Promise<any>;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
declare namespace tailor.aigateway {
|
|
65
|
+
/**
|
|
66
|
+
* AIGateway describes a resolved AI Gateway in the caller's workspace.
|
|
67
|
+
*/
|
|
68
|
+
interface AIGateway {
|
|
69
|
+
/**
|
|
70
|
+
* Base URL of the AI Gateway, e.g.
|
|
71
|
+
* `https://my-aigateway-<workspace_hash>.ai.erp.dev`. Requests to this URL
|
|
72
|
+
* are automatically authenticated for the calling workspace.
|
|
73
|
+
*/
|
|
74
|
+
url: string;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* get resolves a named AI Gateway in the caller's own workspace and returns
|
|
79
|
+
* it. The gateway's existence is verified at call time, so resolving a name
|
|
80
|
+
* that does not exist rejects rather than failing later inside `fetch`.
|
|
81
|
+
*/
|
|
82
|
+
function get(name: string): Promise<AIGateway>;
|
|
83
|
+
}
|
|
84
|
+
|
|
64
85
|
declare namespace tailor.iconv {
|
|
65
86
|
/**
|
|
66
87
|
* Convert string from one encoding to another
|
|
@@ -332,7 +353,6 @@ declare namespace tailor.idp {
|
|
|
332
353
|
name: string;
|
|
333
354
|
disabled: boolean;
|
|
334
355
|
createdAt?: string;
|
|
335
|
-
updatedAt?: string;
|
|
336
356
|
}
|
|
337
357
|
|
|
338
358
|
/**
|