@valbuild/shared 0.96.0 → 0.96.3

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.
@@ -806,6 +806,7 @@ export declare const Api: {
806
806
  modules: z.ZodRecord<z.ZodString & z.ZodType<ModuleFilePath, string, z.core.$ZodTypeInternals<ModuleFilePath, string>>, z.ZodObject<{
807
807
  render: z.ZodOptional<z.ZodAny>;
808
808
  source: z.ZodOptional<z.ZodAny>;
809
+ baseSource: z.ZodOptional<z.ZodAny>;
809
810
  patches: z.ZodOptional<z.ZodObject<{
810
811
  applied: z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>;
811
812
  skipped: z.ZodOptional<z.ZodArray<z.ZodString & z.ZodType<import("@valbuild/core").PatchId, string, z.core.$ZodTypeInternals<import("@valbuild/core").PatchId, string>>>>;
@@ -1831,6 +1831,8 @@ var Api = {
1831
1831
  // TODO: improve this type
1832
1832
  source: zod.z.any().optional(),
1833
1833
  //.optional(), // TODO: Json zod type
1834
+ baseSource: zod.z.any().optional(),
1835
+ // pre-patch source for compare view; set only when the module has pending patches
1834
1836
  patches: zod.z.object({
1835
1837
  applied: zod.z.array(PatchId),
1836
1838
  skipped: zod.z.array(PatchId).optional(),
@@ -1831,6 +1831,8 @@ var Api = {
1831
1831
  // TODO: improve this type
1832
1832
  source: zod.z.any().optional(),
1833
1833
  //.optional(), // TODO: Json zod type
1834
+ baseSource: zod.z.any().optional(),
1835
+ // pre-patch source for compare view; set only when the module has pending patches
1834
1836
  patches: zod.z.object({
1835
1837
  applied: zod.z.array(PatchId),
1836
1838
  skipped: zod.z.array(PatchId).optional(),
@@ -1827,6 +1827,8 @@ var Api = {
1827
1827
  // TODO: improve this type
1828
1828
  source: z.any().optional(),
1829
1829
  //.optional(), // TODO: Json zod type
1830
+ baseSource: z.any().optional(),
1831
+ // pre-patch source for compare view; set only when the module has pending patches
1830
1832
  patches: z.object({
1831
1833
  applied: z.array(PatchId),
1832
1834
  skipped: z.array(PatchId).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/shared",
3
- "version": "0.96.0",
3
+ "version": "0.96.3",
4
4
  "private": false,
5
5
  "description": "Val shared types and utilities",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "zod": "^4.3.5",
33
33
  "zod-validation-error": "^5.0.0",
34
- "@valbuild/core": "0.96.0"
34
+ "@valbuild/core": "0.96.3"
35
35
  },
36
36
  "files": [
37
37
  "dist",