@replaystage/cli 0.3.0 → 0.4.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 +11 -2
- package/dist/index.js +874 -738
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ interface ProjectConfig {
|
|
|
7
7
|
apiUrl?: string;
|
|
8
8
|
version?: string;
|
|
9
9
|
title?: string;
|
|
10
|
+
tagline?: string;
|
|
10
11
|
updatedAt?: string;
|
|
11
12
|
visibility?: "draft" | "unlisted" | "public" | string;
|
|
12
13
|
aspectRatio?: string;
|
|
@@ -14,6 +15,7 @@ interface ProjectConfig {
|
|
|
14
15
|
platforms?: string;
|
|
15
16
|
aiModel?: string | null;
|
|
16
17
|
aiTool?: string;
|
|
18
|
+
tags?: string[];
|
|
17
19
|
}
|
|
18
20
|
declare function resolveProjectDirectory(targetPath: string): string | null;
|
|
19
21
|
declare function getProjectConfigPath(targetDir: string): string | null;
|
|
@@ -71,6 +73,7 @@ interface PackagedBundle {
|
|
|
71
73
|
extractedTagline?: string;
|
|
72
74
|
extractedAspectRatio?: string;
|
|
73
75
|
extractedModel?: string | null;
|
|
76
|
+
extractedTags?: string[];
|
|
74
77
|
}
|
|
75
78
|
declare function extractHtmlMetadata(html: string): {
|
|
76
79
|
title?: string;
|
|
@@ -78,6 +81,7 @@ declare function extractHtmlMetadata(html: string): {
|
|
|
78
81
|
aspectRatio?: string;
|
|
79
82
|
rawAspectRatio?: string;
|
|
80
83
|
model?: string | null;
|
|
84
|
+
tags?: string[];
|
|
81
85
|
};
|
|
82
86
|
declare function computeSha256(buf: Buffer | Uint8Array): string;
|
|
83
87
|
declare function createZipFromFiles(fileMap: Record<string, Buffer>): Buffer;
|
|
@@ -98,6 +102,7 @@ interface ValidationResult {
|
|
|
98
102
|
supportedPlatforms?: SupportedPlatform;
|
|
99
103
|
platforms?: SupportedPlatform;
|
|
100
104
|
hasPlatformMeta?: boolean;
|
|
105
|
+
tags?: string[];
|
|
101
106
|
errors: string[];
|
|
102
107
|
warnings: string[];
|
|
103
108
|
}
|
|
@@ -111,10 +116,11 @@ interface UploadBundleOptions {
|
|
|
111
116
|
apiUrl: string;
|
|
112
117
|
bundleBuffer: Buffer;
|
|
113
118
|
title: string;
|
|
114
|
-
tagline
|
|
119
|
+
tagline?: string;
|
|
115
120
|
description?: string;
|
|
116
|
-
aiTool
|
|
121
|
+
aiTool?: string;
|
|
117
122
|
category?: string;
|
|
123
|
+
tags?: string[] | string;
|
|
118
124
|
token?: string | null;
|
|
119
125
|
fileHash?: string;
|
|
120
126
|
extraHeaders?: Record<string, string>;
|
|
@@ -150,6 +156,7 @@ interface UploadResponse {
|
|
|
150
156
|
supportedPlatforms?: string;
|
|
151
157
|
supported_platforms?: string;
|
|
152
158
|
platforms?: string;
|
|
159
|
+
tags?: string[];
|
|
153
160
|
error?: string;
|
|
154
161
|
message?: string;
|
|
155
162
|
data?: any;
|
|
@@ -167,6 +174,7 @@ interface UpdateBundleOptions {
|
|
|
167
174
|
supportedPlatforms?: string;
|
|
168
175
|
aiTool?: string;
|
|
169
176
|
aiModel?: string | null;
|
|
177
|
+
tags?: string[] | string;
|
|
170
178
|
coverBuffer?: Buffer;
|
|
171
179
|
coverFileName?: string;
|
|
172
180
|
manageToken?: string;
|
|
@@ -200,6 +208,7 @@ declare function printPublishSuccess(res: {
|
|
|
200
208
|
aspectRatio?: string;
|
|
201
209
|
supportedPlatforms?: string;
|
|
202
210
|
platforms?: string;
|
|
211
|
+
tags?: string[];
|
|
203
212
|
}): void;
|
|
204
213
|
|
|
205
214
|
declare function createProgram(): Command;
|