@valbuild/shared 0.77.1 → 0.78.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.
@@ -2837,6 +2837,7 @@ export declare const Api: {
2837
2837
  schemaSha: z.ZodString;
2838
2838
  sourcesSha: z.ZodString;
2839
2839
  modules: z.ZodRecord<z.ZodEffects<z.ZodString, ModuleFilePath, string>, z.ZodObject<{
2840
+ preview: z.ZodAny;
2840
2841
  source: z.ZodAny;
2841
2842
  patches: z.ZodOptional<z.ZodObject<{
2842
2843
  applied: z.ZodArray<z.ZodEffects<z.ZodString, PatchIdT, string>, "many">;
@@ -2885,6 +2886,7 @@ export declare const Api: {
2885
2886
  }> | undefined;
2886
2887
  skipped?: PatchIdT[] | undefined;
2887
2888
  } | undefined;
2889
+ preview?: any;
2888
2890
  source?: any;
2889
2891
  validationErrors?: Record<string, {
2890
2892
  message: string;
@@ -2900,6 +2902,7 @@ export declare const Api: {
2900
2902
  }> | undefined;
2901
2903
  skipped?: string[] | undefined;
2902
2904
  } | undefined;
2905
+ preview?: any;
2903
2906
  source?: any;
2904
2907
  validationErrors?: Record<string, {
2905
2908
  message: string;
@@ -2919,6 +2922,7 @@ export declare const Api: {
2919
2922
  }> | undefined;
2920
2923
  skipped?: PatchIdT[] | undefined;
2921
2924
  } | undefined;
2925
+ preview?: any;
2922
2926
  source?: any;
2923
2927
  validationErrors?: Record<string, {
2924
2928
  message: string;
@@ -2938,6 +2942,7 @@ export declare const Api: {
2938
2942
  }> | undefined;
2939
2943
  skipped?: string[] | undefined;
2940
2944
  } | undefined;
2945
+ preview?: any;
2941
2946
  source?: any;
2942
2947
  validationErrors?: Record<string, {
2943
2948
  message: string;
@@ -2960,6 +2965,7 @@ export declare const Api: {
2960
2965
  }> | undefined;
2961
2966
  skipped?: PatchIdT[] | undefined;
2962
2967
  } | undefined;
2968
+ preview?: any;
2963
2969
  source?: any;
2964
2970
  validationErrors?: Record<string, {
2965
2971
  message: string;
@@ -2982,6 +2988,7 @@ export declare const Api: {
2982
2988
  }> | undefined;
2983
2989
  skipped?: string[] | undefined;
2984
2990
  } | undefined;
2991
+ preview?: any;
2985
2992
  source?: any;
2986
2993
  validationErrors?: Record<string, {
2987
2994
  message: string;
@@ -1964,6 +1964,8 @@ var Api = {
1964
1964
  schemaSha: zod.z.string(),
1965
1965
  sourcesSha: zod.z.string(),
1966
1966
  modules: zod.z.record(ModuleFilePath, zod.z.object({
1967
+ preview: zod.z.any(),
1968
+ // TODO: improve this type
1967
1969
  source: zod.z.any(),
1968
1970
  //.optional(), // TODO: Json zod type
1969
1971
  patches: zod.z.object({
@@ -1964,6 +1964,8 @@ var Api = {
1964
1964
  schemaSha: zod.z.string(),
1965
1965
  sourcesSha: zod.z.string(),
1966
1966
  modules: zod.z.record(ModuleFilePath, zod.z.object({
1967
+ preview: zod.z.any(),
1968
+ // TODO: improve this type
1967
1969
  source: zod.z.any(),
1968
1970
  //.optional(), // TODO: Json zod type
1969
1971
  patches: zod.z.object({
@@ -1960,6 +1960,8 @@ var Api = {
1960
1960
  schemaSha: z.string(),
1961
1961
  sourcesSha: z.string(),
1962
1962
  modules: z.record(ModuleFilePath, z.object({
1963
+ preview: z.any(),
1964
+ // TODO: improve this type
1963
1965
  source: z.any(),
1964
1966
  //.optional(), // TODO: Json zod type
1965
1967
  patches: z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/shared",
3
- "version": "0.77.1",
3
+ "version": "0.78.1",
4
4
  "private": false,
5
5
  "description": "Val shared types and utilities",
6
6
  "scripts": {
@@ -29,7 +29,7 @@
29
29
  "exports": true
30
30
  },
31
31
  "dependencies": {
32
- "@valbuild/core": "~0.77.1",
32
+ "@valbuild/core": "~0.78.1",
33
33
  "zod": "^3.22.4",
34
34
  "zod-validation-error": "^3.3.0"
35
35
  },