camstreamerlib 4.0.0-beta.57 → 4.0.0-beta.58
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.
|
@@ -7,7 +7,7 @@ exports.nodeStateSchema = zod_1.z.object({
|
|
|
7
7
|
node_state: zod_1.z.union([zod_1.z.literal('OK'), zod_1.z.literal('NOT_INSTALLED'), zod_1.z.literal('NOT_FOUND')]),
|
|
8
8
|
});
|
|
9
9
|
exports.packageInfoListSchema = zod_1.z.array(zod_1.z.object({
|
|
10
|
-
storage:
|
|
10
|
+
storage: common_1.storageTypeSchema,
|
|
11
11
|
manifest: zod_1.z.object({
|
|
12
12
|
package_name: zod_1.z.string(),
|
|
13
13
|
package_menu_name: zod_1.z.string(),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { flashStorageTypeSchema, sdCardStorageTypeSchema } from './common';
|
|
2
|
+
import { flashStorageTypeSchema, sdCardStorageTypeSchema, storageTypeSchema } from './common';
|
|
3
3
|
export const nodeStateSchema = z.object({
|
|
4
4
|
node_state: z.union([z.literal('OK'), z.literal('NOT_INSTALLED'), z.literal('NOT_FOUND')]),
|
|
5
5
|
});
|
|
6
6
|
export const packageInfoListSchema = z.array(z.object({
|
|
7
|
-
storage:
|
|
7
|
+
storage: storageTypeSchema,
|
|
8
8
|
manifest: z.object({
|
|
9
9
|
package_name: z.string(),
|
|
10
10
|
package_menu_name: z.string(),
|
package/package.json
CHANGED
|
@@ -22,7 +22,7 @@ export declare class CamScripterAPI<Client extends IClient<TResponse, any>> {
|
|
|
22
22
|
capacity_mb: number;
|
|
23
23
|
}]>;
|
|
24
24
|
getPackageList(options?: THttpRequestOptions): Promise<{
|
|
25
|
-
storage: "
|
|
25
|
+
storage: "FLASH" | "SD_DISK";
|
|
26
26
|
manifest: {
|
|
27
27
|
package_name: string;
|
|
28
28
|
package_menu_name: string;
|
|
@@ -9,7 +9,7 @@ export declare const nodeStateSchema: z.ZodObject<{
|
|
|
9
9
|
}>;
|
|
10
10
|
export type TNodeState = z.infer<typeof nodeStateSchema>;
|
|
11
11
|
export declare const packageInfoListSchema: z.ZodArray<z.ZodObject<{
|
|
12
|
-
storage: z.ZodUnion<[z.ZodLiteral<"
|
|
12
|
+
storage: z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>;
|
|
13
13
|
manifest: z.ZodObject<{
|
|
14
14
|
package_name: z.ZodString;
|
|
15
15
|
package_menu_name: z.ZodString;
|
|
@@ -36,7 +36,7 @@ export declare const packageInfoListSchema: z.ZodArray<z.ZodObject<{
|
|
|
36
36
|
required_camscripter_rbi_version?: string | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
storage: "
|
|
39
|
+
storage: "FLASH" | "SD_DISK";
|
|
40
40
|
manifest: {
|
|
41
41
|
package_name: string;
|
|
42
42
|
package_menu_name: string;
|
|
@@ -47,7 +47,7 @@ export declare const packageInfoListSchema: z.ZodArray<z.ZodObject<{
|
|
|
47
47
|
required_camscripter_rbi_version?: string | undefined;
|
|
48
48
|
};
|
|
49
49
|
}, {
|
|
50
|
-
storage: "
|
|
50
|
+
storage: "FLASH" | "SD_DISK";
|
|
51
51
|
manifest: {
|
|
52
52
|
package_name: string;
|
|
53
53
|
package_menu_name: string;
|