@iblai/data-layer 1.24.0 → 1.25.1
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.ts +15 -4
- package/dist/index.esm.js +8 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/features/hosting/types.d.ts +11 -4
- package/dist/src/features/user-chat-history/types.d.ts +4 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
|
@@ -3,8 +3,9 @@ export type { DomainRecord };
|
|
|
3
3
|
/**
|
|
4
4
|
* A deployed app. `site_url` is the address to show the user and is final as
|
|
5
5
|
* soon as the deploy is accepted — never build a host from `name`.
|
|
6
|
-
* `shared_domain` is that same host on its own when the
|
|
7
|
-
*
|
|
6
|
+
* `shared_domain` is that same host on its own when it is the subdomain chosen
|
|
7
|
+
* under the platform's shared domain, and empty when the app is served at a
|
|
8
|
+
* custom domain.
|
|
8
9
|
*/
|
|
9
10
|
export interface HostingProject {
|
|
10
11
|
id: number;
|
|
@@ -68,10 +69,16 @@ export interface CreateHostingProjectDomainArgs {
|
|
|
68
69
|
username: string;
|
|
69
70
|
project: number;
|
|
70
71
|
/**
|
|
71
|
-
*
|
|
72
|
-
*
|
|
72
|
+
* Exactly one of `domain` and `subdomain`. `domain` is a domain the
|
|
73
|
+
* organization owns; `subdomain` is one label under the platform's shared
|
|
74
|
+
* domain, chosen like a username (`^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`).
|
|
75
|
+
* The backend refuses a body with neither (400, a `subdomain` field error —
|
|
76
|
+
* it never invents an address), answers 409 when the subdomain is taken, 200
|
|
77
|
+
* when the app already has it, and 503 when no shared domain is on offer for
|
|
78
|
+
* this organization.
|
|
73
79
|
*/
|
|
74
80
|
domain?: string;
|
|
81
|
+
subdomain?: string;
|
|
75
82
|
}
|
|
76
83
|
export interface DeleteHostingProjectDomainArgs {
|
|
77
84
|
org: string;
|
|
@@ -42,6 +42,10 @@ export type UserChatHistorySession = {
|
|
|
42
42
|
message_count_ai?: number;
|
|
43
43
|
positive_feedback_count?: number;
|
|
44
44
|
negative_feedback_count?: number;
|
|
45
|
+
/** Whether canvas/artifacts are enabled on the session (session detail only). */
|
|
46
|
+
enable_artifacts?: boolean;
|
|
47
|
+
/** Ids of the tools active on the session (session detail only). */
|
|
48
|
+
tools?: number[];
|
|
45
49
|
};
|
|
46
50
|
export type UserChatHistoryResponse = {
|
|
47
51
|
count: number;
|