@camstack/types 1.2.315 → 1.2.316
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.js +8 -5
- package/dist/index.mjs +8 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5718,12 +5718,15 @@ var ModelFormatEntrySchema = zod.z.object({
|
|
|
5718
5718
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
5719
5719
|
runtimes: zod.z.array(zod.z.enum(["python"])).readonly().optional(),
|
|
5720
5720
|
/**
|
|
5721
|
-
* Content revision of the
|
|
5722
|
-
*
|
|
5723
|
-
*
|
|
5721
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
5722
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
5723
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
5724
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
5725
|
+
* node records the revision it downloaded next to the file
|
|
5724
5726
|
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
5725
|
-
*
|
|
5726
|
-
*
|
|
5727
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
5728
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
5729
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
5727
5730
|
*/
|
|
5728
5731
|
revision: zod.z.string().min(1).optional()
|
|
5729
5732
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -5717,12 +5717,15 @@ var ModelFormatEntrySchema = z.object({
|
|
|
5717
5717
|
/** Runtime(s) that can use this format. If omitted, inferred from ModelFormat key */
|
|
5718
5718
|
runtimes: z.array(z.enum(["python"])).readonly().optional(),
|
|
5719
5719
|
/**
|
|
5720
|
-
* Content revision of the
|
|
5721
|
-
*
|
|
5722
|
-
*
|
|
5720
|
+
* Content revision of the artefact, for one hosted OFF the CamStack mirror.
|
|
5721
|
+
* A format on the mirror leaves it unset: its revision (the sha256 of its
|
|
5722
|
+
* weight file) comes from the downloader's generated table, kept in step
|
|
5723
|
+
* with the mirror by `scripts/check-hosted-model-revisions.ts` (D744). A
|
|
5724
|
+
* node records the revision it downloaded next to the file
|
|
5723
5725
|
* (`<file>.revision`); a copy with no record or a different one is stale
|
|
5724
|
-
*
|
|
5725
|
-
*
|
|
5726
|
+
* unless its weight file hashes to the revision, and a stale copy is
|
|
5727
|
+
* downloaded again, the old one serving until the new one is complete. No
|
|
5728
|
+
* revision at all ⇒ a file on disk is current, whatever it holds (D743).
|
|
5726
5729
|
*/
|
|
5727
5730
|
revision: z.string().min(1).optional()
|
|
5728
5731
|
});
|