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