@websimai/core-api-types 0.0.2 → 0.0.4
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.mts +9 -7
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/types/user.d.ts
|
|
2
2
|
type User = {
|
|
3
|
-
_type: "user";
|
|
3
|
+
readonly _type: "user";
|
|
4
4
|
id: string;
|
|
5
5
|
created_at: string;
|
|
6
6
|
username: string;
|
|
@@ -12,7 +12,7 @@ type User = {
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/types/project.d.ts
|
|
14
14
|
type Project = {
|
|
15
|
-
_type: "project";
|
|
15
|
+
readonly _type: "project";
|
|
16
16
|
id: string;
|
|
17
17
|
created_at: string;
|
|
18
18
|
updated_at: string;
|
|
@@ -33,6 +33,7 @@ type Project = {
|
|
|
33
33
|
};
|
|
34
34
|
auto_set_current: boolean;
|
|
35
35
|
description: string | null;
|
|
36
|
+
generated_description: string | null;
|
|
36
37
|
comments_mode: "open" | "closed";
|
|
37
38
|
enable_chat: boolean;
|
|
38
39
|
from_template: boolean | null;
|
|
@@ -84,7 +85,7 @@ declare namespace ProjectAssetMeta {
|
|
|
84
85
|
}
|
|
85
86
|
type ProjectAssetMetaByContentType = ProjectAssetMeta.text | ProjectAssetMeta.image | ProjectAssetMeta.audio;
|
|
86
87
|
type ProjectAsset = Expand<{
|
|
87
|
-
_type: "project_asset";
|
|
88
|
+
readonly _type: "project_asset";
|
|
88
89
|
id: string;
|
|
89
90
|
project_id: string;
|
|
90
91
|
path: string;
|
|
@@ -100,7 +101,7 @@ type ProjectAsset = Expand<{
|
|
|
100
101
|
//#endregion
|
|
101
102
|
//#region src/types/project-revision.d.ts
|
|
102
103
|
type ProjectRevision = {
|
|
103
|
-
_type: "project_revision";
|
|
104
|
+
readonly _type: "project_revision";
|
|
104
105
|
id: string;
|
|
105
106
|
version: number;
|
|
106
107
|
created_at: string;
|
|
@@ -127,7 +128,7 @@ type ProjectRevision = {
|
|
|
127
128
|
//#endregion
|
|
128
129
|
//#region src/types/screenshot.d.ts
|
|
129
130
|
type Screenshot = {
|
|
130
|
-
_type: "screenshot";
|
|
131
|
+
readonly _type: "screenshot";
|
|
131
132
|
id: string;
|
|
132
133
|
project_id: string;
|
|
133
134
|
project_version: number;
|
|
@@ -170,7 +171,7 @@ type SiteLoreAttachment = {
|
|
|
170
171
|
useVision: boolean;
|
|
171
172
|
};
|
|
172
173
|
type SiteLore = {
|
|
173
|
-
version: 1;
|
|
174
|
+
readonly version: 1;
|
|
174
175
|
attachments: SiteLoreAttachment[];
|
|
175
176
|
enableApi?: boolean;
|
|
176
177
|
enableMobilePrompt?: boolean;
|
|
@@ -180,9 +181,10 @@ type SiteLore = {
|
|
|
180
181
|
enableLLM2?: boolean;
|
|
181
182
|
enableTweaks?: boolean;
|
|
182
183
|
enableComments?: boolean;
|
|
184
|
+
enableVideo: false;
|
|
183
185
|
};
|
|
184
186
|
type Site = {
|
|
185
|
-
_type: "site";
|
|
187
|
+
readonly _type: "site";
|
|
186
188
|
id: string;
|
|
187
189
|
parent_id: string | null;
|
|
188
190
|
created_at: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@websimai/core-api-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Core Websim API type declarations",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "GameRoMan",
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
"./package.json": "./package.json"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"tsdown": "^0.
|
|
38
|
+
"tsdown": "^0.18.2"
|
|
39
39
|
}
|
|
40
40
|
}
|