code-share-types 0.2.0 → 0.2.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/Package.d.ts +7 -1
- package/dist/Package.js +1 -1
- package/package.json +1 -1
package/dist/Package.d.ts
CHANGED
|
@@ -6,6 +6,12 @@ declare const PackageSchema: z.ZodObject<{
|
|
|
6
6
|
type Package = z.infer<typeof PackageSchema>;
|
|
7
7
|
export type { Package };
|
|
8
8
|
export { PackageSchema };
|
|
9
|
+
declare const PACKAGE_INSTALL_STATUS: {
|
|
10
|
+
readonly requested: "REQUESTED";
|
|
11
|
+
readonly installing: "INSTALLING";
|
|
12
|
+
readonly installed: "INSTALLED";
|
|
13
|
+
readonly failed: "FAILED";
|
|
14
|
+
};
|
|
9
15
|
declare const PackageInstallStatusSchema: z.ZodEnum<{
|
|
10
16
|
REQUESTED: "REQUESTED";
|
|
11
17
|
INSTALLING: "INSTALLING";
|
|
@@ -14,7 +20,7 @@ declare const PackageInstallStatusSchema: z.ZodEnum<{
|
|
|
14
20
|
}>;
|
|
15
21
|
type PackageInstallStatus = z.infer<typeof PackageInstallStatusSchema>;
|
|
16
22
|
export type { PackageInstallStatus };
|
|
17
|
-
export { PackageInstallStatusSchema };
|
|
23
|
+
export { PACKAGE_INSTALL_STATUS, PackageInstallStatusSchema };
|
|
18
24
|
declare const PackageInstallStatusMapSchema: z.ZodArray<z.ZodTuple<[z.ZodObject<{
|
|
19
25
|
runtime: z.ZodString;
|
|
20
26
|
version: z.ZodString;
|
package/dist/Package.js
CHANGED
|
@@ -11,6 +11,6 @@ const PACKAGE_INSTALL_STATUS = {
|
|
|
11
11
|
failed: "FAILED",
|
|
12
12
|
};
|
|
13
13
|
const PackageInstallStatusSchema = z.enum(Object.values(PACKAGE_INSTALL_STATUS));
|
|
14
|
-
export { PackageInstallStatusSchema };
|
|
14
|
+
export { PACKAGE_INSTALL_STATUS, PackageInstallStatusSchema };
|
|
15
15
|
const PackageInstallStatusMapSchema = z.array(z.tuple([PackageSchema, PackageInstallStatusSchema]));
|
|
16
16
|
export { PackageInstallStatusMapSchema };
|