@auto-engineer/narrative 1.131.0 → 1.135.0

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.
@@ -1922,6 +1922,7 @@ export declare const MappingEntrySchema: z.ZodObject<{
1922
1922
  name: string;
1923
1923
  field: string;
1924
1924
  }>;
1925
+ operator: z.ZodOptional<z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte"]>>;
1925
1926
  }, "strip", z.ZodTypeAny, {
1926
1927
  target: {
1927
1928
  type: "Command" | "Event" | "State" | "Query";
@@ -1933,6 +1934,7 @@ export declare const MappingEntrySchema: z.ZodObject<{
1933
1934
  name: string;
1934
1935
  field: string;
1935
1936
  };
1937
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
1936
1938
  }, {
1937
1939
  target: {
1938
1940
  type: "Command" | "Event" | "State" | "Query";
@@ -1944,6 +1946,7 @@ export declare const MappingEntrySchema: z.ZodObject<{
1944
1946
  name: string;
1945
1947
  field: string;
1946
1948
  };
1949
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
1947
1950
  }>;
1948
1951
  export declare const ImageAssetSchema: z.ZodObject<{
1949
1952
  url: z.ZodOptional<z.ZodString>;
@@ -1955,6 +1958,77 @@ export declare const ImageAssetSchema: z.ZodObject<{
1955
1958
  url?: string | undefined;
1956
1959
  originatingPrompt?: string | undefined;
1957
1960
  }>;
1961
+ declare const RegionEntrySchema: z.ZodObject<{
1962
+ id: z.ZodString;
1963
+ name: z.ZodString;
1964
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1965
+ }, "strip", z.ZodTypeAny, {
1966
+ name: string;
1967
+ id: string;
1968
+ slots?: Record<string, unknown> | undefined;
1969
+ }, {
1970
+ name: string;
1971
+ id: string;
1972
+ slots?: Record<string, unknown> | undefined;
1973
+ }>;
1974
+ declare const UISchema: z.ZodObject<{
1975
+ layoutId: z.ZodString;
1976
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
1977
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1978
+ id: z.ZodString;
1979
+ name: z.ZodString;
1980
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1981
+ }, "strip", z.ZodTypeAny, {
1982
+ name: string;
1983
+ id: string;
1984
+ slots?: Record<string, unknown> | undefined;
1985
+ }, {
1986
+ name: string;
1987
+ id: string;
1988
+ slots?: Record<string, unknown> | undefined;
1989
+ }>, "many">>;
1990
+ customizationNotes: z.ZodOptional<z.ZodString>;
1991
+ }, "strip", z.ZodTypeAny, {
1992
+ layoutId: string;
1993
+ mode: "custom" | "as-is" | "modify";
1994
+ regions: Record<string, {
1995
+ name: string;
1996
+ id: string;
1997
+ slots?: Record<string, unknown> | undefined;
1998
+ }[]>;
1999
+ customizationNotes?: string | undefined;
2000
+ }, {
2001
+ layoutId: string;
2002
+ mode: "custom" | "as-is" | "modify";
2003
+ regions: Record<string, {
2004
+ name: string;
2005
+ id: string;
2006
+ slots?: Record<string, unknown> | undefined;
2007
+ }[]>;
2008
+ customizationNotes?: string | undefined;
2009
+ }>;
2010
+ declare const ComponentDefinitionSchema: z.ZodObject<{
2011
+ id: z.ZodString;
2012
+ name: z.ZodString;
2013
+ category: z.ZodString;
2014
+ description: z.ZodString;
2015
+ slots: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2016
+ template: z.ZodString;
2017
+ }, "strip", z.ZodTypeAny, {
2018
+ name: string;
2019
+ description: string;
2020
+ id: string;
2021
+ slots: Record<string, unknown>;
2022
+ category: string;
2023
+ template: string;
2024
+ }, {
2025
+ name: string;
2026
+ description: string;
2027
+ id: string;
2028
+ slots: Record<string, unknown>;
2029
+ category: string;
2030
+ template: string;
2031
+ }>;
1958
2032
  export declare const DesignSchema: z.ZodObject<{
1959
2033
  imageAsset: z.ZodOptional<z.ZodObject<{
1960
2034
  url: z.ZodOptional<z.ZodString>;
@@ -1967,18 +2041,74 @@ export declare const DesignSchema: z.ZodObject<{
1967
2041
  originatingPrompt?: string | undefined;
1968
2042
  }>>;
1969
2043
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2044
+ ui: z.ZodOptional<z.ZodObject<{
2045
+ layoutId: z.ZodString;
2046
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
2047
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2048
+ id: z.ZodString;
2049
+ name: z.ZodString;
2050
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ name: string;
2053
+ id: string;
2054
+ slots?: Record<string, unknown> | undefined;
2055
+ }, {
2056
+ name: string;
2057
+ id: string;
2058
+ slots?: Record<string, unknown> | undefined;
2059
+ }>, "many">>;
2060
+ customizationNotes: z.ZodOptional<z.ZodString>;
2061
+ }, "strip", z.ZodTypeAny, {
2062
+ layoutId: string;
2063
+ mode: "custom" | "as-is" | "modify";
2064
+ regions: Record<string, {
2065
+ name: string;
2066
+ id: string;
2067
+ slots?: Record<string, unknown> | undefined;
2068
+ }[]>;
2069
+ customizationNotes?: string | undefined;
2070
+ }, {
2071
+ layoutId: string;
2072
+ mode: "custom" | "as-is" | "modify";
2073
+ regions: Record<string, {
2074
+ name: string;
2075
+ id: string;
2076
+ slots?: Record<string, unknown> | undefined;
2077
+ }[]>;
2078
+ customizationNotes?: string | undefined;
2079
+ }>>;
1970
2080
  }, "strip", z.ZodTypeAny, {
1971
2081
  metadata?: Record<string, unknown> | undefined;
1972
2082
  imageAsset?: {
1973
2083
  url?: string | undefined;
1974
2084
  originatingPrompt?: string | undefined;
1975
2085
  } | undefined;
2086
+ ui?: {
2087
+ layoutId: string;
2088
+ mode: "custom" | "as-is" | "modify";
2089
+ regions: Record<string, {
2090
+ name: string;
2091
+ id: string;
2092
+ slots?: Record<string, unknown> | undefined;
2093
+ }[]>;
2094
+ customizationNotes?: string | undefined;
2095
+ } | undefined;
1976
2096
  }, {
1977
2097
  metadata?: Record<string, unknown> | undefined;
1978
2098
  imageAsset?: {
1979
2099
  url?: string | undefined;
1980
2100
  originatingPrompt?: string | undefined;
1981
2101
  } | undefined;
2102
+ ui?: {
2103
+ layoutId: string;
2104
+ mode: "custom" | "as-is" | "modify";
2105
+ regions: Record<string, {
2106
+ name: string;
2107
+ id: string;
2108
+ slots?: Record<string, unknown> | undefined;
2109
+ }[]>;
2110
+ customizationNotes?: string | undefined;
2111
+ } | undefined;
1982
2112
  }>;
1983
2113
  declare const StepErrorSchema: z.ZodObject<{
1984
2114
  type: z.ZodEnum<["IllegalStateError", "ValidationError", "NotFoundError"]>;
@@ -2488,18 +2618,74 @@ declare const CommandSliceSchema: z.ZodObject<{
2488
2618
  originatingPrompt?: string | undefined;
2489
2619
  }>>;
2490
2620
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2621
+ ui: z.ZodOptional<z.ZodObject<{
2622
+ layoutId: z.ZodString;
2623
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
2624
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2625
+ id: z.ZodString;
2626
+ name: z.ZodString;
2627
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2628
+ }, "strip", z.ZodTypeAny, {
2629
+ name: string;
2630
+ id: string;
2631
+ slots?: Record<string, unknown> | undefined;
2632
+ }, {
2633
+ name: string;
2634
+ id: string;
2635
+ slots?: Record<string, unknown> | undefined;
2636
+ }>, "many">>;
2637
+ customizationNotes: z.ZodOptional<z.ZodString>;
2638
+ }, "strip", z.ZodTypeAny, {
2639
+ layoutId: string;
2640
+ mode: "custom" | "as-is" | "modify";
2641
+ regions: Record<string, {
2642
+ name: string;
2643
+ id: string;
2644
+ slots?: Record<string, unknown> | undefined;
2645
+ }[]>;
2646
+ customizationNotes?: string | undefined;
2647
+ }, {
2648
+ layoutId: string;
2649
+ mode: "custom" | "as-is" | "modify";
2650
+ regions: Record<string, {
2651
+ name: string;
2652
+ id: string;
2653
+ slots?: Record<string, unknown> | undefined;
2654
+ }[]>;
2655
+ customizationNotes?: string | undefined;
2656
+ }>>;
2491
2657
  }, "strip", z.ZodTypeAny, {
2492
2658
  metadata?: Record<string, unknown> | undefined;
2493
2659
  imageAsset?: {
2494
2660
  url?: string | undefined;
2495
2661
  originatingPrompt?: string | undefined;
2496
2662
  } | undefined;
2663
+ ui?: {
2664
+ layoutId: string;
2665
+ mode: "custom" | "as-is" | "modify";
2666
+ regions: Record<string, {
2667
+ name: string;
2668
+ id: string;
2669
+ slots?: Record<string, unknown> | undefined;
2670
+ }[]>;
2671
+ customizationNotes?: string | undefined;
2672
+ } | undefined;
2497
2673
  }, {
2498
2674
  metadata?: Record<string, unknown> | undefined;
2499
2675
  imageAsset?: {
2500
2676
  url?: string | undefined;
2501
2677
  originatingPrompt?: string | undefined;
2502
2678
  } | undefined;
2679
+ ui?: {
2680
+ layoutId: string;
2681
+ mode: "custom" | "as-is" | "modify";
2682
+ regions: Record<string, {
2683
+ name: string;
2684
+ id: string;
2685
+ slots?: Record<string, unknown> | undefined;
2686
+ }[]>;
2687
+ customizationNotes?: string | undefined;
2688
+ } | undefined;
2503
2689
  }>>;
2504
2690
  } & {
2505
2691
  type: z.ZodLiteral<"command">;
@@ -2538,6 +2724,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2538
2724
  name: string;
2539
2725
  field: string;
2540
2726
  }>;
2727
+ operator: z.ZodOptional<z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte"]>>;
2541
2728
  }, "strip", z.ZodTypeAny, {
2542
2729
  target: {
2543
2730
  type: "Command" | "Event" | "State" | "Query";
@@ -2549,6 +2736,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2549
2736
  name: string;
2550
2737
  field: string;
2551
2738
  };
2739
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
2552
2740
  }, {
2553
2741
  target: {
2554
2742
  type: "Command" | "Event" | "State" | "Query";
@@ -2560,6 +2748,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2560
2748
  name: string;
2561
2749
  field: string;
2562
2750
  };
2751
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
2563
2752
  }>, "many">>;
2564
2753
  server: z.ZodObject<{
2565
2754
  description: z.ZodString;
@@ -3823,6 +4012,16 @@ declare const CommandSliceSchema: z.ZodObject<{
3823
4012
  url?: string | undefined;
3824
4013
  originatingPrompt?: string | undefined;
3825
4014
  } | undefined;
4015
+ ui?: {
4016
+ layoutId: string;
4017
+ mode: "custom" | "as-is" | "modify";
4018
+ regions: Record<string, {
4019
+ name: string;
4020
+ id: string;
4021
+ slots?: Record<string, unknown> | undefined;
4022
+ }[]>;
4023
+ customizationNotes?: string | undefined;
4024
+ } | undefined;
3826
4025
  } | undefined;
3827
4026
  request?: string | undefined;
3828
4027
  mappings?: {
@@ -3836,6 +4035,7 @@ declare const CommandSliceSchema: z.ZodObject<{
3836
4035
  name: string;
3837
4036
  field: string;
3838
4037
  };
4038
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
3839
4039
  }[] | undefined;
3840
4040
  }, {
3841
4041
  type: "command";
@@ -3981,6 +4181,16 @@ declare const CommandSliceSchema: z.ZodObject<{
3981
4181
  url?: string | undefined;
3982
4182
  originatingPrompt?: string | undefined;
3983
4183
  } | undefined;
4184
+ ui?: {
4185
+ layoutId: string;
4186
+ mode: "custom" | "as-is" | "modify";
4187
+ regions: Record<string, {
4188
+ name: string;
4189
+ id: string;
4190
+ slots?: Record<string, unknown> | undefined;
4191
+ }[]>;
4192
+ customizationNotes?: string | undefined;
4193
+ } | undefined;
3984
4194
  } | undefined;
3985
4195
  request?: string | undefined;
3986
4196
  mappings?: {
@@ -3994,6 +4204,7 @@ declare const CommandSliceSchema: z.ZodObject<{
3994
4204
  name: string;
3995
4205
  field: string;
3996
4206
  };
4207
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
3997
4208
  }[] | undefined;
3998
4209
  }>;
3999
4210
  declare const QuerySliceSchema: z.ZodObject<{
@@ -4015,18 +4226,74 @@ declare const QuerySliceSchema: z.ZodObject<{
4015
4226
  originatingPrompt?: string | undefined;
4016
4227
  }>>;
4017
4228
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4229
+ ui: z.ZodOptional<z.ZodObject<{
4230
+ layoutId: z.ZodString;
4231
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
4232
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
4233
+ id: z.ZodString;
4234
+ name: z.ZodString;
4235
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4236
+ }, "strip", z.ZodTypeAny, {
4237
+ name: string;
4238
+ id: string;
4239
+ slots?: Record<string, unknown> | undefined;
4240
+ }, {
4241
+ name: string;
4242
+ id: string;
4243
+ slots?: Record<string, unknown> | undefined;
4244
+ }>, "many">>;
4245
+ customizationNotes: z.ZodOptional<z.ZodString>;
4246
+ }, "strip", z.ZodTypeAny, {
4247
+ layoutId: string;
4248
+ mode: "custom" | "as-is" | "modify";
4249
+ regions: Record<string, {
4250
+ name: string;
4251
+ id: string;
4252
+ slots?: Record<string, unknown> | undefined;
4253
+ }[]>;
4254
+ customizationNotes?: string | undefined;
4255
+ }, {
4256
+ layoutId: string;
4257
+ mode: "custom" | "as-is" | "modify";
4258
+ regions: Record<string, {
4259
+ name: string;
4260
+ id: string;
4261
+ slots?: Record<string, unknown> | undefined;
4262
+ }[]>;
4263
+ customizationNotes?: string | undefined;
4264
+ }>>;
4018
4265
  }, "strip", z.ZodTypeAny, {
4019
4266
  metadata?: Record<string, unknown> | undefined;
4020
4267
  imageAsset?: {
4021
4268
  url?: string | undefined;
4022
4269
  originatingPrompt?: string | undefined;
4023
4270
  } | undefined;
4271
+ ui?: {
4272
+ layoutId: string;
4273
+ mode: "custom" | "as-is" | "modify";
4274
+ regions: Record<string, {
4275
+ name: string;
4276
+ id: string;
4277
+ slots?: Record<string, unknown> | undefined;
4278
+ }[]>;
4279
+ customizationNotes?: string | undefined;
4280
+ } | undefined;
4024
4281
  }, {
4025
4282
  metadata?: Record<string, unknown> | undefined;
4026
4283
  imageAsset?: {
4027
4284
  url?: string | undefined;
4028
4285
  originatingPrompt?: string | undefined;
4029
4286
  } | undefined;
4287
+ ui?: {
4288
+ layoutId: string;
4289
+ mode: "custom" | "as-is" | "modify";
4290
+ regions: Record<string, {
4291
+ name: string;
4292
+ id: string;
4293
+ slots?: Record<string, unknown> | undefined;
4294
+ }[]>;
4295
+ customizationNotes?: string | undefined;
4296
+ } | undefined;
4030
4297
  }>>;
4031
4298
  } & {
4032
4299
  type: z.ZodLiteral<"query">;
@@ -4065,6 +4332,7 @@ declare const QuerySliceSchema: z.ZodObject<{
4065
4332
  name: string;
4066
4333
  field: string;
4067
4334
  }>;
4335
+ operator: z.ZodOptional<z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte"]>>;
4068
4336
  }, "strip", z.ZodTypeAny, {
4069
4337
  target: {
4070
4338
  type: "Command" | "Event" | "State" | "Query";
@@ -4076,6 +4344,7 @@ declare const QuerySliceSchema: z.ZodObject<{
4076
4344
  name: string;
4077
4345
  field: string;
4078
4346
  };
4347
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
4079
4348
  }, {
4080
4349
  target: {
4081
4350
  type: "Command" | "Event" | "State" | "Query";
@@ -4087,6 +4356,7 @@ declare const QuerySliceSchema: z.ZodObject<{
4087
4356
  name: string;
4088
4357
  field: string;
4089
4358
  };
4359
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
4090
4360
  }>, "many">>;
4091
4361
  server: z.ZodObject<{
4092
4362
  description: z.ZodString;
@@ -5350,6 +5620,16 @@ declare const QuerySliceSchema: z.ZodObject<{
5350
5620
  url?: string | undefined;
5351
5621
  originatingPrompt?: string | undefined;
5352
5622
  } | undefined;
5623
+ ui?: {
5624
+ layoutId: string;
5625
+ mode: "custom" | "as-is" | "modify";
5626
+ regions: Record<string, {
5627
+ name: string;
5628
+ id: string;
5629
+ slots?: Record<string, unknown> | undefined;
5630
+ }[]>;
5631
+ customizationNotes?: string | undefined;
5632
+ } | undefined;
5353
5633
  } | undefined;
5354
5634
  request?: string | undefined;
5355
5635
  mappings?: {
@@ -5363,6 +5643,7 @@ declare const QuerySliceSchema: z.ZodObject<{
5363
5643
  name: string;
5364
5644
  field: string;
5365
5645
  };
5646
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
5366
5647
  }[] | undefined;
5367
5648
  }, {
5368
5649
  type: "query";
@@ -5508,6 +5789,16 @@ declare const QuerySliceSchema: z.ZodObject<{
5508
5789
  url?: string | undefined;
5509
5790
  originatingPrompt?: string | undefined;
5510
5791
  } | undefined;
5792
+ ui?: {
5793
+ layoutId: string;
5794
+ mode: "custom" | "as-is" | "modify";
5795
+ regions: Record<string, {
5796
+ name: string;
5797
+ id: string;
5798
+ slots?: Record<string, unknown> | undefined;
5799
+ }[]>;
5800
+ customizationNotes?: string | undefined;
5801
+ } | undefined;
5511
5802
  } | undefined;
5512
5803
  request?: string | undefined;
5513
5804
  mappings?: {
@@ -5521,6 +5812,7 @@ declare const QuerySliceSchema: z.ZodObject<{
5521
5812
  name: string;
5522
5813
  field: string;
5523
5814
  };
5815
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
5524
5816
  }[] | undefined;
5525
5817
  }>;
5526
5818
  declare const ReactSliceSchema: z.ZodObject<{
@@ -5542,18 +5834,74 @@ declare const ReactSliceSchema: z.ZodObject<{
5542
5834
  originatingPrompt?: string | undefined;
5543
5835
  }>>;
5544
5836
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5837
+ ui: z.ZodOptional<z.ZodObject<{
5838
+ layoutId: z.ZodString;
5839
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
5840
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5841
+ id: z.ZodString;
5842
+ name: z.ZodString;
5843
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5844
+ }, "strip", z.ZodTypeAny, {
5845
+ name: string;
5846
+ id: string;
5847
+ slots?: Record<string, unknown> | undefined;
5848
+ }, {
5849
+ name: string;
5850
+ id: string;
5851
+ slots?: Record<string, unknown> | undefined;
5852
+ }>, "many">>;
5853
+ customizationNotes: z.ZodOptional<z.ZodString>;
5854
+ }, "strip", z.ZodTypeAny, {
5855
+ layoutId: string;
5856
+ mode: "custom" | "as-is" | "modify";
5857
+ regions: Record<string, {
5858
+ name: string;
5859
+ id: string;
5860
+ slots?: Record<string, unknown> | undefined;
5861
+ }[]>;
5862
+ customizationNotes?: string | undefined;
5863
+ }, {
5864
+ layoutId: string;
5865
+ mode: "custom" | "as-is" | "modify";
5866
+ regions: Record<string, {
5867
+ name: string;
5868
+ id: string;
5869
+ slots?: Record<string, unknown> | undefined;
5870
+ }[]>;
5871
+ customizationNotes?: string | undefined;
5872
+ }>>;
5545
5873
  }, "strip", z.ZodTypeAny, {
5546
5874
  metadata?: Record<string, unknown> | undefined;
5547
5875
  imageAsset?: {
5548
5876
  url?: string | undefined;
5549
5877
  originatingPrompt?: string | undefined;
5550
5878
  } | undefined;
5879
+ ui?: {
5880
+ layoutId: string;
5881
+ mode: "custom" | "as-is" | "modify";
5882
+ regions: Record<string, {
5883
+ name: string;
5884
+ id: string;
5885
+ slots?: Record<string, unknown> | undefined;
5886
+ }[]>;
5887
+ customizationNotes?: string | undefined;
5888
+ } | undefined;
5551
5889
  }, {
5552
5890
  metadata?: Record<string, unknown> | undefined;
5553
5891
  imageAsset?: {
5554
5892
  url?: string | undefined;
5555
5893
  originatingPrompt?: string | undefined;
5556
5894
  } | undefined;
5895
+ ui?: {
5896
+ layoutId: string;
5897
+ mode: "custom" | "as-is" | "modify";
5898
+ regions: Record<string, {
5899
+ name: string;
5900
+ id: string;
5901
+ slots?: Record<string, unknown> | undefined;
5902
+ }[]>;
5903
+ customizationNotes?: string | undefined;
5904
+ } | undefined;
5557
5905
  }>>;
5558
5906
  } & {
5559
5907
  type: z.ZodLiteral<"react">;
@@ -6816,6 +7164,16 @@ declare const ReactSliceSchema: z.ZodObject<{
6816
7164
  url?: string | undefined;
6817
7165
  originatingPrompt?: string | undefined;
6818
7166
  } | undefined;
7167
+ ui?: {
7168
+ layoutId: string;
7169
+ mode: "custom" | "as-is" | "modify";
7170
+ regions: Record<string, {
7171
+ name: string;
7172
+ id: string;
7173
+ slots?: Record<string, unknown> | undefined;
7174
+ }[]>;
7175
+ customizationNotes?: string | undefined;
7176
+ } | undefined;
6819
7177
  } | undefined;
6820
7178
  }, {
6821
7179
  type: "react";
@@ -6958,6 +7316,16 @@ declare const ReactSliceSchema: z.ZodObject<{
6958
7316
  url?: string | undefined;
6959
7317
  originatingPrompt?: string | undefined;
6960
7318
  } | undefined;
7319
+ ui?: {
7320
+ layoutId: string;
7321
+ mode: "custom" | "as-is" | "modify";
7322
+ regions: Record<string, {
7323
+ name: string;
7324
+ id: string;
7325
+ slots?: Record<string, unknown> | undefined;
7326
+ }[]>;
7327
+ customizationNotes?: string | undefined;
7328
+ } | undefined;
6961
7329
  } | undefined;
6962
7330
  }>;
6963
7331
  declare const ExperienceSliceSchema: z.ZodObject<{
@@ -6979,18 +7347,74 @@ declare const ExperienceSliceSchema: z.ZodObject<{
6979
7347
  originatingPrompt?: string | undefined;
6980
7348
  }>>;
6981
7349
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7350
+ ui: z.ZodOptional<z.ZodObject<{
7351
+ layoutId: z.ZodString;
7352
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
7353
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
7354
+ id: z.ZodString;
7355
+ name: z.ZodString;
7356
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7357
+ }, "strip", z.ZodTypeAny, {
7358
+ name: string;
7359
+ id: string;
7360
+ slots?: Record<string, unknown> | undefined;
7361
+ }, {
7362
+ name: string;
7363
+ id: string;
7364
+ slots?: Record<string, unknown> | undefined;
7365
+ }>, "many">>;
7366
+ customizationNotes: z.ZodOptional<z.ZodString>;
7367
+ }, "strip", z.ZodTypeAny, {
7368
+ layoutId: string;
7369
+ mode: "custom" | "as-is" | "modify";
7370
+ regions: Record<string, {
7371
+ name: string;
7372
+ id: string;
7373
+ slots?: Record<string, unknown> | undefined;
7374
+ }[]>;
7375
+ customizationNotes?: string | undefined;
7376
+ }, {
7377
+ layoutId: string;
7378
+ mode: "custom" | "as-is" | "modify";
7379
+ regions: Record<string, {
7380
+ name: string;
7381
+ id: string;
7382
+ slots?: Record<string, unknown> | undefined;
7383
+ }[]>;
7384
+ customizationNotes?: string | undefined;
7385
+ }>>;
6982
7386
  }, "strip", z.ZodTypeAny, {
6983
7387
  metadata?: Record<string, unknown> | undefined;
6984
7388
  imageAsset?: {
6985
7389
  url?: string | undefined;
6986
7390
  originatingPrompt?: string | undefined;
6987
7391
  } | undefined;
7392
+ ui?: {
7393
+ layoutId: string;
7394
+ mode: "custom" | "as-is" | "modify";
7395
+ regions: Record<string, {
7396
+ name: string;
7397
+ id: string;
7398
+ slots?: Record<string, unknown> | undefined;
7399
+ }[]>;
7400
+ customizationNotes?: string | undefined;
7401
+ } | undefined;
6988
7402
  }, {
6989
7403
  metadata?: Record<string, unknown> | undefined;
6990
7404
  imageAsset?: {
6991
7405
  url?: string | undefined;
6992
7406
  originatingPrompt?: string | undefined;
6993
7407
  } | undefined;
7408
+ ui?: {
7409
+ layoutId: string;
7410
+ mode: "custom" | "as-is" | "modify";
7411
+ regions: Record<string, {
7412
+ name: string;
7413
+ id: string;
7414
+ slots?: Record<string, unknown> | undefined;
7415
+ }[]>;
7416
+ customizationNotes?: string | undefined;
7417
+ } | undefined;
6994
7418
  }>>;
6995
7419
  } & {
6996
7420
  type: z.ZodLiteral<"experience">;
@@ -7018,6 +7442,16 @@ declare const ExperienceSliceSchema: z.ZodObject<{
7018
7442
  url?: string | undefined;
7019
7443
  originatingPrompt?: string | undefined;
7020
7444
  } | undefined;
7445
+ ui?: {
7446
+ layoutId: string;
7447
+ mode: "custom" | "as-is" | "modify";
7448
+ regions: Record<string, {
7449
+ name: string;
7450
+ id: string;
7451
+ slots?: Record<string, unknown> | undefined;
7452
+ }[]>;
7453
+ customizationNotes?: string | undefined;
7454
+ } | undefined;
7021
7455
  } | undefined;
7022
7456
  }, {
7023
7457
  type: "experience";
@@ -7036,6 +7470,16 @@ declare const ExperienceSliceSchema: z.ZodObject<{
7036
7470
  url?: string | undefined;
7037
7471
  originatingPrompt?: string | undefined;
7038
7472
  } | undefined;
7473
+ ui?: {
7474
+ layoutId: string;
7475
+ mode: "custom" | "as-is" | "modify";
7476
+ regions: Record<string, {
7477
+ name: string;
7478
+ id: string;
7479
+ slots?: Record<string, unknown> | undefined;
7480
+ }[]>;
7481
+ customizationNotes?: string | undefined;
7482
+ } | undefined;
7039
7483
  } | undefined;
7040
7484
  }>;
7041
7485
  declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -7057,18 +7501,74 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7057
7501
  originatingPrompt?: string | undefined;
7058
7502
  }>>;
7059
7503
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7504
+ ui: z.ZodOptional<z.ZodObject<{
7505
+ layoutId: z.ZodString;
7506
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
7507
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
7508
+ id: z.ZodString;
7509
+ name: z.ZodString;
7510
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7511
+ }, "strip", z.ZodTypeAny, {
7512
+ name: string;
7513
+ id: string;
7514
+ slots?: Record<string, unknown> | undefined;
7515
+ }, {
7516
+ name: string;
7517
+ id: string;
7518
+ slots?: Record<string, unknown> | undefined;
7519
+ }>, "many">>;
7520
+ customizationNotes: z.ZodOptional<z.ZodString>;
7521
+ }, "strip", z.ZodTypeAny, {
7522
+ layoutId: string;
7523
+ mode: "custom" | "as-is" | "modify";
7524
+ regions: Record<string, {
7525
+ name: string;
7526
+ id: string;
7527
+ slots?: Record<string, unknown> | undefined;
7528
+ }[]>;
7529
+ customizationNotes?: string | undefined;
7530
+ }, {
7531
+ layoutId: string;
7532
+ mode: "custom" | "as-is" | "modify";
7533
+ regions: Record<string, {
7534
+ name: string;
7535
+ id: string;
7536
+ slots?: Record<string, unknown> | undefined;
7537
+ }[]>;
7538
+ customizationNotes?: string | undefined;
7539
+ }>>;
7060
7540
  }, "strip", z.ZodTypeAny, {
7061
7541
  metadata?: Record<string, unknown> | undefined;
7062
7542
  imageAsset?: {
7063
7543
  url?: string | undefined;
7064
7544
  originatingPrompt?: string | undefined;
7065
7545
  } | undefined;
7546
+ ui?: {
7547
+ layoutId: string;
7548
+ mode: "custom" | "as-is" | "modify";
7549
+ regions: Record<string, {
7550
+ name: string;
7551
+ id: string;
7552
+ slots?: Record<string, unknown> | undefined;
7553
+ }[]>;
7554
+ customizationNotes?: string | undefined;
7555
+ } | undefined;
7066
7556
  }, {
7067
7557
  metadata?: Record<string, unknown> | undefined;
7068
7558
  imageAsset?: {
7069
7559
  url?: string | undefined;
7070
7560
  originatingPrompt?: string | undefined;
7071
7561
  } | undefined;
7562
+ ui?: {
7563
+ layoutId: string;
7564
+ mode: "custom" | "as-is" | "modify";
7565
+ regions: Record<string, {
7566
+ name: string;
7567
+ id: string;
7568
+ slots?: Record<string, unknown> | undefined;
7569
+ }[]>;
7570
+ customizationNotes?: string | undefined;
7571
+ } | undefined;
7072
7572
  }>>;
7073
7573
  } & {
7074
7574
  type: z.ZodLiteral<"command">;
@@ -7107,6 +7607,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7107
7607
  name: string;
7108
7608
  field: string;
7109
7609
  }>;
7610
+ operator: z.ZodOptional<z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte"]>>;
7110
7611
  }, "strip", z.ZodTypeAny, {
7111
7612
  target: {
7112
7613
  type: "Command" | "Event" | "State" | "Query";
@@ -7118,6 +7619,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7118
7619
  name: string;
7119
7620
  field: string;
7120
7621
  };
7622
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
7121
7623
  }, {
7122
7624
  target: {
7123
7625
  type: "Command" | "Event" | "State" | "Query";
@@ -7129,6 +7631,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7129
7631
  name: string;
7130
7632
  field: string;
7131
7633
  };
7634
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
7132
7635
  }>, "many">>;
7133
7636
  server: z.ZodObject<{
7134
7637
  description: z.ZodString;
@@ -8392,6 +8895,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8392
8895
  url?: string | undefined;
8393
8896
  originatingPrompt?: string | undefined;
8394
8897
  } | undefined;
8898
+ ui?: {
8899
+ layoutId: string;
8900
+ mode: "custom" | "as-is" | "modify";
8901
+ regions: Record<string, {
8902
+ name: string;
8903
+ id: string;
8904
+ slots?: Record<string, unknown> | undefined;
8905
+ }[]>;
8906
+ customizationNotes?: string | undefined;
8907
+ } | undefined;
8395
8908
  } | undefined;
8396
8909
  request?: string | undefined;
8397
8910
  mappings?: {
@@ -8405,6 +8918,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8405
8918
  name: string;
8406
8919
  field: string;
8407
8920
  };
8921
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
8408
8922
  }[] | undefined;
8409
8923
  }, {
8410
8924
  type: "command";
@@ -8550,6 +9064,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8550
9064
  url?: string | undefined;
8551
9065
  originatingPrompt?: string | undefined;
8552
9066
  } | undefined;
9067
+ ui?: {
9068
+ layoutId: string;
9069
+ mode: "custom" | "as-is" | "modify";
9070
+ regions: Record<string, {
9071
+ name: string;
9072
+ id: string;
9073
+ slots?: Record<string, unknown> | undefined;
9074
+ }[]>;
9075
+ customizationNotes?: string | undefined;
9076
+ } | undefined;
8553
9077
  } | undefined;
8554
9078
  request?: string | undefined;
8555
9079
  mappings?: {
@@ -8563,6 +9087,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8563
9087
  name: string;
8564
9088
  field: string;
8565
9089
  };
9090
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
8566
9091
  }[] | undefined;
8567
9092
  }>, z.ZodObject<{
8568
9093
  name: z.ZodString;
@@ -8583,18 +9108,74 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8583
9108
  originatingPrompt?: string | undefined;
8584
9109
  }>>;
8585
9110
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9111
+ ui: z.ZodOptional<z.ZodObject<{
9112
+ layoutId: z.ZodString;
9113
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
9114
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
9115
+ id: z.ZodString;
9116
+ name: z.ZodString;
9117
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9118
+ }, "strip", z.ZodTypeAny, {
9119
+ name: string;
9120
+ id: string;
9121
+ slots?: Record<string, unknown> | undefined;
9122
+ }, {
9123
+ name: string;
9124
+ id: string;
9125
+ slots?: Record<string, unknown> | undefined;
9126
+ }>, "many">>;
9127
+ customizationNotes: z.ZodOptional<z.ZodString>;
9128
+ }, "strip", z.ZodTypeAny, {
9129
+ layoutId: string;
9130
+ mode: "custom" | "as-is" | "modify";
9131
+ regions: Record<string, {
9132
+ name: string;
9133
+ id: string;
9134
+ slots?: Record<string, unknown> | undefined;
9135
+ }[]>;
9136
+ customizationNotes?: string | undefined;
9137
+ }, {
9138
+ layoutId: string;
9139
+ mode: "custom" | "as-is" | "modify";
9140
+ regions: Record<string, {
9141
+ name: string;
9142
+ id: string;
9143
+ slots?: Record<string, unknown> | undefined;
9144
+ }[]>;
9145
+ customizationNotes?: string | undefined;
9146
+ }>>;
8586
9147
  }, "strip", z.ZodTypeAny, {
8587
9148
  metadata?: Record<string, unknown> | undefined;
8588
9149
  imageAsset?: {
8589
9150
  url?: string | undefined;
8590
9151
  originatingPrompt?: string | undefined;
8591
9152
  } | undefined;
9153
+ ui?: {
9154
+ layoutId: string;
9155
+ mode: "custom" | "as-is" | "modify";
9156
+ regions: Record<string, {
9157
+ name: string;
9158
+ id: string;
9159
+ slots?: Record<string, unknown> | undefined;
9160
+ }[]>;
9161
+ customizationNotes?: string | undefined;
9162
+ } | undefined;
8592
9163
  }, {
8593
9164
  metadata?: Record<string, unknown> | undefined;
8594
9165
  imageAsset?: {
8595
9166
  url?: string | undefined;
8596
9167
  originatingPrompt?: string | undefined;
8597
9168
  } | undefined;
9169
+ ui?: {
9170
+ layoutId: string;
9171
+ mode: "custom" | "as-is" | "modify";
9172
+ regions: Record<string, {
9173
+ name: string;
9174
+ id: string;
9175
+ slots?: Record<string, unknown> | undefined;
9176
+ }[]>;
9177
+ customizationNotes?: string | undefined;
9178
+ } | undefined;
8598
9179
  }>>;
8599
9180
  } & {
8600
9181
  type: z.ZodLiteral<"query">;
@@ -8633,6 +9214,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8633
9214
  name: string;
8634
9215
  field: string;
8635
9216
  }>;
9217
+ operator: z.ZodOptional<z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte"]>>;
8636
9218
  }, "strip", z.ZodTypeAny, {
8637
9219
  target: {
8638
9220
  type: "Command" | "Event" | "State" | "Query";
@@ -8644,6 +9226,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8644
9226
  name: string;
8645
9227
  field: string;
8646
9228
  };
9229
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
8647
9230
  }, {
8648
9231
  target: {
8649
9232
  type: "Command" | "Event" | "State" | "Query";
@@ -8655,6 +9238,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8655
9238
  name: string;
8656
9239
  field: string;
8657
9240
  };
9241
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
8658
9242
  }>, "many">>;
8659
9243
  server: z.ZodObject<{
8660
9244
  description: z.ZodString;
@@ -9918,6 +10502,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9918
10502
  url?: string | undefined;
9919
10503
  originatingPrompt?: string | undefined;
9920
10504
  } | undefined;
10505
+ ui?: {
10506
+ layoutId: string;
10507
+ mode: "custom" | "as-is" | "modify";
10508
+ regions: Record<string, {
10509
+ name: string;
10510
+ id: string;
10511
+ slots?: Record<string, unknown> | undefined;
10512
+ }[]>;
10513
+ customizationNotes?: string | undefined;
10514
+ } | undefined;
9921
10515
  } | undefined;
9922
10516
  request?: string | undefined;
9923
10517
  mappings?: {
@@ -9931,6 +10525,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9931
10525
  name: string;
9932
10526
  field: string;
9933
10527
  };
10528
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
9934
10529
  }[] | undefined;
9935
10530
  }, {
9936
10531
  type: "query";
@@ -10076,6 +10671,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10076
10671
  url?: string | undefined;
10077
10672
  originatingPrompt?: string | undefined;
10078
10673
  } | undefined;
10674
+ ui?: {
10675
+ layoutId: string;
10676
+ mode: "custom" | "as-is" | "modify";
10677
+ regions: Record<string, {
10678
+ name: string;
10679
+ id: string;
10680
+ slots?: Record<string, unknown> | undefined;
10681
+ }[]>;
10682
+ customizationNotes?: string | undefined;
10683
+ } | undefined;
10079
10684
  } | undefined;
10080
10685
  request?: string | undefined;
10081
10686
  mappings?: {
@@ -10089,6 +10694,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10089
10694
  name: string;
10090
10695
  field: string;
10091
10696
  };
10697
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
10092
10698
  }[] | undefined;
10093
10699
  }>, z.ZodObject<{
10094
10700
  name: z.ZodString;
@@ -10109,18 +10715,74 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10109
10715
  originatingPrompt?: string | undefined;
10110
10716
  }>>;
10111
10717
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10718
+ ui: z.ZodOptional<z.ZodObject<{
10719
+ layoutId: z.ZodString;
10720
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
10721
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
10722
+ id: z.ZodString;
10723
+ name: z.ZodString;
10724
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10725
+ }, "strip", z.ZodTypeAny, {
10726
+ name: string;
10727
+ id: string;
10728
+ slots?: Record<string, unknown> | undefined;
10729
+ }, {
10730
+ name: string;
10731
+ id: string;
10732
+ slots?: Record<string, unknown> | undefined;
10733
+ }>, "many">>;
10734
+ customizationNotes: z.ZodOptional<z.ZodString>;
10735
+ }, "strip", z.ZodTypeAny, {
10736
+ layoutId: string;
10737
+ mode: "custom" | "as-is" | "modify";
10738
+ regions: Record<string, {
10739
+ name: string;
10740
+ id: string;
10741
+ slots?: Record<string, unknown> | undefined;
10742
+ }[]>;
10743
+ customizationNotes?: string | undefined;
10744
+ }, {
10745
+ layoutId: string;
10746
+ mode: "custom" | "as-is" | "modify";
10747
+ regions: Record<string, {
10748
+ name: string;
10749
+ id: string;
10750
+ slots?: Record<string, unknown> | undefined;
10751
+ }[]>;
10752
+ customizationNotes?: string | undefined;
10753
+ }>>;
10112
10754
  }, "strip", z.ZodTypeAny, {
10113
10755
  metadata?: Record<string, unknown> | undefined;
10114
10756
  imageAsset?: {
10115
10757
  url?: string | undefined;
10116
10758
  originatingPrompt?: string | undefined;
10117
10759
  } | undefined;
10760
+ ui?: {
10761
+ layoutId: string;
10762
+ mode: "custom" | "as-is" | "modify";
10763
+ regions: Record<string, {
10764
+ name: string;
10765
+ id: string;
10766
+ slots?: Record<string, unknown> | undefined;
10767
+ }[]>;
10768
+ customizationNotes?: string | undefined;
10769
+ } | undefined;
10118
10770
  }, {
10119
10771
  metadata?: Record<string, unknown> | undefined;
10120
10772
  imageAsset?: {
10121
10773
  url?: string | undefined;
10122
10774
  originatingPrompt?: string | undefined;
10123
10775
  } | undefined;
10776
+ ui?: {
10777
+ layoutId: string;
10778
+ mode: "custom" | "as-is" | "modify";
10779
+ regions: Record<string, {
10780
+ name: string;
10781
+ id: string;
10782
+ slots?: Record<string, unknown> | undefined;
10783
+ }[]>;
10784
+ customizationNotes?: string | undefined;
10785
+ } | undefined;
10124
10786
  }>>;
10125
10787
  } & {
10126
10788
  type: z.ZodLiteral<"react">;
@@ -11383,6 +12045,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11383
12045
  url?: string | undefined;
11384
12046
  originatingPrompt?: string | undefined;
11385
12047
  } | undefined;
12048
+ ui?: {
12049
+ layoutId: string;
12050
+ mode: "custom" | "as-is" | "modify";
12051
+ regions: Record<string, {
12052
+ name: string;
12053
+ id: string;
12054
+ slots?: Record<string, unknown> | undefined;
12055
+ }[]>;
12056
+ customizationNotes?: string | undefined;
12057
+ } | undefined;
11386
12058
  } | undefined;
11387
12059
  }, {
11388
12060
  type: "react";
@@ -11525,6 +12197,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11525
12197
  url?: string | undefined;
11526
12198
  originatingPrompt?: string | undefined;
11527
12199
  } | undefined;
12200
+ ui?: {
12201
+ layoutId: string;
12202
+ mode: "custom" | "as-is" | "modify";
12203
+ regions: Record<string, {
12204
+ name: string;
12205
+ id: string;
12206
+ slots?: Record<string, unknown> | undefined;
12207
+ }[]>;
12208
+ customizationNotes?: string | undefined;
12209
+ } | undefined;
11528
12210
  } | undefined;
11529
12211
  }>, z.ZodObject<{
11530
12212
  name: z.ZodString;
@@ -11545,18 +12227,74 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11545
12227
  originatingPrompt?: string | undefined;
11546
12228
  }>>;
11547
12229
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12230
+ ui: z.ZodOptional<z.ZodObject<{
12231
+ layoutId: z.ZodString;
12232
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
12233
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
12234
+ id: z.ZodString;
12235
+ name: z.ZodString;
12236
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12237
+ }, "strip", z.ZodTypeAny, {
12238
+ name: string;
12239
+ id: string;
12240
+ slots?: Record<string, unknown> | undefined;
12241
+ }, {
12242
+ name: string;
12243
+ id: string;
12244
+ slots?: Record<string, unknown> | undefined;
12245
+ }>, "many">>;
12246
+ customizationNotes: z.ZodOptional<z.ZodString>;
12247
+ }, "strip", z.ZodTypeAny, {
12248
+ layoutId: string;
12249
+ mode: "custom" | "as-is" | "modify";
12250
+ regions: Record<string, {
12251
+ name: string;
12252
+ id: string;
12253
+ slots?: Record<string, unknown> | undefined;
12254
+ }[]>;
12255
+ customizationNotes?: string | undefined;
12256
+ }, {
12257
+ layoutId: string;
12258
+ mode: "custom" | "as-is" | "modify";
12259
+ regions: Record<string, {
12260
+ name: string;
12261
+ id: string;
12262
+ slots?: Record<string, unknown> | undefined;
12263
+ }[]>;
12264
+ customizationNotes?: string | undefined;
12265
+ }>>;
11548
12266
  }, "strip", z.ZodTypeAny, {
11549
12267
  metadata?: Record<string, unknown> | undefined;
11550
12268
  imageAsset?: {
11551
12269
  url?: string | undefined;
11552
12270
  originatingPrompt?: string | undefined;
11553
12271
  } | undefined;
12272
+ ui?: {
12273
+ layoutId: string;
12274
+ mode: "custom" | "as-is" | "modify";
12275
+ regions: Record<string, {
12276
+ name: string;
12277
+ id: string;
12278
+ slots?: Record<string, unknown> | undefined;
12279
+ }[]>;
12280
+ customizationNotes?: string | undefined;
12281
+ } | undefined;
11554
12282
  }, {
11555
12283
  metadata?: Record<string, unknown> | undefined;
11556
12284
  imageAsset?: {
11557
12285
  url?: string | undefined;
11558
12286
  originatingPrompt?: string | undefined;
11559
12287
  } | undefined;
12288
+ ui?: {
12289
+ layoutId: string;
12290
+ mode: "custom" | "as-is" | "modify";
12291
+ regions: Record<string, {
12292
+ name: string;
12293
+ id: string;
12294
+ slots?: Record<string, unknown> | undefined;
12295
+ }[]>;
12296
+ customizationNotes?: string | undefined;
12297
+ } | undefined;
11560
12298
  }>>;
11561
12299
  } & {
11562
12300
  type: z.ZodLiteral<"experience">;
@@ -11584,6 +12322,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11584
12322
  url?: string | undefined;
11585
12323
  originatingPrompt?: string | undefined;
11586
12324
  } | undefined;
12325
+ ui?: {
12326
+ layoutId: string;
12327
+ mode: "custom" | "as-is" | "modify";
12328
+ regions: Record<string, {
12329
+ name: string;
12330
+ id: string;
12331
+ slots?: Record<string, unknown> | undefined;
12332
+ }[]>;
12333
+ customizationNotes?: string | undefined;
12334
+ } | undefined;
11587
12335
  } | undefined;
11588
12336
  }, {
11589
12337
  type: "experience";
@@ -11602,6 +12350,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11602
12350
  url?: string | undefined;
11603
12351
  originatingPrompt?: string | undefined;
11604
12352
  } | undefined;
12353
+ ui?: {
12354
+ layoutId: string;
12355
+ mode: "custom" | "as-is" | "modify";
12356
+ regions: Record<string, {
12357
+ name: string;
12358
+ id: string;
12359
+ slots?: Record<string, unknown> | undefined;
12360
+ }[]>;
12361
+ customizationNotes?: string | undefined;
12362
+ } | undefined;
11605
12363
  } | undefined;
11606
12364
  }>]>;
11607
12365
  export declare const SceneRouteSchema: z.ZodObject<{
@@ -11676,18 +12434,74 @@ export declare const JourneySchema: z.ZodObject<{
11676
12434
  originatingPrompt?: string | undefined;
11677
12435
  }>>;
11678
12436
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12437
+ ui: z.ZodOptional<z.ZodObject<{
12438
+ layoutId: z.ZodString;
12439
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
12440
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
12441
+ id: z.ZodString;
12442
+ name: z.ZodString;
12443
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12444
+ }, "strip", z.ZodTypeAny, {
12445
+ name: string;
12446
+ id: string;
12447
+ slots?: Record<string, unknown> | undefined;
12448
+ }, {
12449
+ name: string;
12450
+ id: string;
12451
+ slots?: Record<string, unknown> | undefined;
12452
+ }>, "many">>;
12453
+ customizationNotes: z.ZodOptional<z.ZodString>;
12454
+ }, "strip", z.ZodTypeAny, {
12455
+ layoutId: string;
12456
+ mode: "custom" | "as-is" | "modify";
12457
+ regions: Record<string, {
12458
+ name: string;
12459
+ id: string;
12460
+ slots?: Record<string, unknown> | undefined;
12461
+ }[]>;
12462
+ customizationNotes?: string | undefined;
12463
+ }, {
12464
+ layoutId: string;
12465
+ mode: "custom" | "as-is" | "modify";
12466
+ regions: Record<string, {
12467
+ name: string;
12468
+ id: string;
12469
+ slots?: Record<string, unknown> | undefined;
12470
+ }[]>;
12471
+ customizationNotes?: string | undefined;
12472
+ }>>;
11679
12473
  }, "strip", z.ZodTypeAny, {
11680
12474
  metadata?: Record<string, unknown> | undefined;
11681
12475
  imageAsset?: {
11682
12476
  url?: string | undefined;
11683
12477
  originatingPrompt?: string | undefined;
11684
12478
  } | undefined;
12479
+ ui?: {
12480
+ layoutId: string;
12481
+ mode: "custom" | "as-is" | "modify";
12482
+ regions: Record<string, {
12483
+ name: string;
12484
+ id: string;
12485
+ slots?: Record<string, unknown> | undefined;
12486
+ }[]>;
12487
+ customizationNotes?: string | undefined;
12488
+ } | undefined;
11685
12489
  }, {
11686
12490
  metadata?: Record<string, unknown> | undefined;
11687
12491
  imageAsset?: {
11688
12492
  url?: string | undefined;
11689
12493
  originatingPrompt?: string | undefined;
11690
12494
  } | undefined;
12495
+ ui?: {
12496
+ layoutId: string;
12497
+ mode: "custom" | "as-is" | "modify";
12498
+ regions: Record<string, {
12499
+ name: string;
12500
+ id: string;
12501
+ slots?: Record<string, unknown> | undefined;
12502
+ }[]>;
12503
+ customizationNotes?: string | undefined;
12504
+ } | undefined;
11691
12505
  }>>;
11692
12506
  }, "strip", z.ZodTypeAny, {
11693
12507
  name: string;
@@ -11700,6 +12514,16 @@ export declare const JourneySchema: z.ZodObject<{
11700
12514
  url?: string | undefined;
11701
12515
  originatingPrompt?: string | undefined;
11702
12516
  } | undefined;
12517
+ ui?: {
12518
+ layoutId: string;
12519
+ mode: "custom" | "as-is" | "modify";
12520
+ regions: Record<string, {
12521
+ name: string;
12522
+ id: string;
12523
+ slots?: Record<string, unknown> | undefined;
12524
+ }[]>;
12525
+ customizationNotes?: string | undefined;
12526
+ } | undefined;
11703
12527
  } | undefined;
11704
12528
  actors?: string[] | undefined;
11705
12529
  }, {
@@ -11713,6 +12537,16 @@ export declare const JourneySchema: z.ZodObject<{
11713
12537
  url?: string | undefined;
11714
12538
  originatingPrompt?: string | undefined;
11715
12539
  } | undefined;
12540
+ ui?: {
12541
+ layoutId: string;
12542
+ mode: "custom" | "as-is" | "modify";
12543
+ regions: Record<string, {
12544
+ name: string;
12545
+ id: string;
12546
+ slots?: Record<string, unknown> | undefined;
12547
+ }[]>;
12548
+ customizationNotes?: string | undefined;
12549
+ } | undefined;
11716
12550
  } | undefined;
11717
12551
  actors?: string[] | undefined;
11718
12552
  }>;
@@ -11739,18 +12573,74 @@ declare const NarrativeSchema: z.ZodObject<{
11739
12573
  originatingPrompt?: string | undefined;
11740
12574
  }>>;
11741
12575
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12576
+ ui: z.ZodOptional<z.ZodObject<{
12577
+ layoutId: z.ZodString;
12578
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
12579
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
12580
+ id: z.ZodString;
12581
+ name: z.ZodString;
12582
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12583
+ }, "strip", z.ZodTypeAny, {
12584
+ name: string;
12585
+ id: string;
12586
+ slots?: Record<string, unknown> | undefined;
12587
+ }, {
12588
+ name: string;
12589
+ id: string;
12590
+ slots?: Record<string, unknown> | undefined;
12591
+ }>, "many">>;
12592
+ customizationNotes: z.ZodOptional<z.ZodString>;
12593
+ }, "strip", z.ZodTypeAny, {
12594
+ layoutId: string;
12595
+ mode: "custom" | "as-is" | "modify";
12596
+ regions: Record<string, {
12597
+ name: string;
12598
+ id: string;
12599
+ slots?: Record<string, unknown> | undefined;
12600
+ }[]>;
12601
+ customizationNotes?: string | undefined;
12602
+ }, {
12603
+ layoutId: string;
12604
+ mode: "custom" | "as-is" | "modify";
12605
+ regions: Record<string, {
12606
+ name: string;
12607
+ id: string;
12608
+ slots?: Record<string, unknown> | undefined;
12609
+ }[]>;
12610
+ customizationNotes?: string | undefined;
12611
+ }>>;
11742
12612
  }, "strip", z.ZodTypeAny, {
11743
12613
  metadata?: Record<string, unknown> | undefined;
11744
12614
  imageAsset?: {
11745
12615
  url?: string | undefined;
11746
12616
  originatingPrompt?: string | undefined;
11747
12617
  } | undefined;
12618
+ ui?: {
12619
+ layoutId: string;
12620
+ mode: "custom" | "as-is" | "modify";
12621
+ regions: Record<string, {
12622
+ name: string;
12623
+ id: string;
12624
+ slots?: Record<string, unknown> | undefined;
12625
+ }[]>;
12626
+ customizationNotes?: string | undefined;
12627
+ } | undefined;
11748
12628
  }, {
11749
12629
  metadata?: Record<string, unknown> | undefined;
11750
12630
  imageAsset?: {
11751
12631
  url?: string | undefined;
11752
12632
  originatingPrompt?: string | undefined;
11753
12633
  } | undefined;
12634
+ ui?: {
12635
+ layoutId: string;
12636
+ mode: "custom" | "as-is" | "modify";
12637
+ regions: Record<string, {
12638
+ name: string;
12639
+ id: string;
12640
+ slots?: Record<string, unknown> | undefined;
12641
+ }[]>;
12642
+ customizationNotes?: string | undefined;
12643
+ } | undefined;
11754
12644
  }>>;
11755
12645
  } & {
11756
12646
  type: z.ZodLiteral<"command">;
@@ -11789,6 +12679,7 @@ declare const NarrativeSchema: z.ZodObject<{
11789
12679
  name: string;
11790
12680
  field: string;
11791
12681
  }>;
12682
+ operator: z.ZodOptional<z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte"]>>;
11792
12683
  }, "strip", z.ZodTypeAny, {
11793
12684
  target: {
11794
12685
  type: "Command" | "Event" | "State" | "Query";
@@ -11800,6 +12691,7 @@ declare const NarrativeSchema: z.ZodObject<{
11800
12691
  name: string;
11801
12692
  field: string;
11802
12693
  };
12694
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
11803
12695
  }, {
11804
12696
  target: {
11805
12697
  type: "Command" | "Event" | "State" | "Query";
@@ -11811,6 +12703,7 @@ declare const NarrativeSchema: z.ZodObject<{
11811
12703
  name: string;
11812
12704
  field: string;
11813
12705
  };
12706
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
11814
12707
  }>, "many">>;
11815
12708
  server: z.ZodObject<{
11816
12709
  description: z.ZodString;
@@ -13074,6 +13967,16 @@ declare const NarrativeSchema: z.ZodObject<{
13074
13967
  url?: string | undefined;
13075
13968
  originatingPrompt?: string | undefined;
13076
13969
  } | undefined;
13970
+ ui?: {
13971
+ layoutId: string;
13972
+ mode: "custom" | "as-is" | "modify";
13973
+ regions: Record<string, {
13974
+ name: string;
13975
+ id: string;
13976
+ slots?: Record<string, unknown> | undefined;
13977
+ }[]>;
13978
+ customizationNotes?: string | undefined;
13979
+ } | undefined;
13077
13980
  } | undefined;
13078
13981
  request?: string | undefined;
13079
13982
  mappings?: {
@@ -13087,6 +13990,7 @@ declare const NarrativeSchema: z.ZodObject<{
13087
13990
  name: string;
13088
13991
  field: string;
13089
13992
  };
13993
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
13090
13994
  }[] | undefined;
13091
13995
  }, {
13092
13996
  type: "command";
@@ -13232,6 +14136,16 @@ declare const NarrativeSchema: z.ZodObject<{
13232
14136
  url?: string | undefined;
13233
14137
  originatingPrompt?: string | undefined;
13234
14138
  } | undefined;
14139
+ ui?: {
14140
+ layoutId: string;
14141
+ mode: "custom" | "as-is" | "modify";
14142
+ regions: Record<string, {
14143
+ name: string;
14144
+ id: string;
14145
+ slots?: Record<string, unknown> | undefined;
14146
+ }[]>;
14147
+ customizationNotes?: string | undefined;
14148
+ } | undefined;
13235
14149
  } | undefined;
13236
14150
  request?: string | undefined;
13237
14151
  mappings?: {
@@ -13245,6 +14159,7 @@ declare const NarrativeSchema: z.ZodObject<{
13245
14159
  name: string;
13246
14160
  field: string;
13247
14161
  };
14162
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
13248
14163
  }[] | undefined;
13249
14164
  }>, z.ZodObject<{
13250
14165
  name: z.ZodString;
@@ -13265,18 +14180,74 @@ declare const NarrativeSchema: z.ZodObject<{
13265
14180
  originatingPrompt?: string | undefined;
13266
14181
  }>>;
13267
14182
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14183
+ ui: z.ZodOptional<z.ZodObject<{
14184
+ layoutId: z.ZodString;
14185
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
14186
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
14187
+ id: z.ZodString;
14188
+ name: z.ZodString;
14189
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14190
+ }, "strip", z.ZodTypeAny, {
14191
+ name: string;
14192
+ id: string;
14193
+ slots?: Record<string, unknown> | undefined;
14194
+ }, {
14195
+ name: string;
14196
+ id: string;
14197
+ slots?: Record<string, unknown> | undefined;
14198
+ }>, "many">>;
14199
+ customizationNotes: z.ZodOptional<z.ZodString>;
14200
+ }, "strip", z.ZodTypeAny, {
14201
+ layoutId: string;
14202
+ mode: "custom" | "as-is" | "modify";
14203
+ regions: Record<string, {
14204
+ name: string;
14205
+ id: string;
14206
+ slots?: Record<string, unknown> | undefined;
14207
+ }[]>;
14208
+ customizationNotes?: string | undefined;
14209
+ }, {
14210
+ layoutId: string;
14211
+ mode: "custom" | "as-is" | "modify";
14212
+ regions: Record<string, {
14213
+ name: string;
14214
+ id: string;
14215
+ slots?: Record<string, unknown> | undefined;
14216
+ }[]>;
14217
+ customizationNotes?: string | undefined;
14218
+ }>>;
13268
14219
  }, "strip", z.ZodTypeAny, {
13269
14220
  metadata?: Record<string, unknown> | undefined;
13270
14221
  imageAsset?: {
13271
14222
  url?: string | undefined;
13272
14223
  originatingPrompt?: string | undefined;
13273
14224
  } | undefined;
14225
+ ui?: {
14226
+ layoutId: string;
14227
+ mode: "custom" | "as-is" | "modify";
14228
+ regions: Record<string, {
14229
+ name: string;
14230
+ id: string;
14231
+ slots?: Record<string, unknown> | undefined;
14232
+ }[]>;
14233
+ customizationNotes?: string | undefined;
14234
+ } | undefined;
13274
14235
  }, {
13275
14236
  metadata?: Record<string, unknown> | undefined;
13276
14237
  imageAsset?: {
13277
14238
  url?: string | undefined;
13278
14239
  originatingPrompt?: string | undefined;
13279
14240
  } | undefined;
14241
+ ui?: {
14242
+ layoutId: string;
14243
+ mode: "custom" | "as-is" | "modify";
14244
+ regions: Record<string, {
14245
+ name: string;
14246
+ id: string;
14247
+ slots?: Record<string, unknown> | undefined;
14248
+ }[]>;
14249
+ customizationNotes?: string | undefined;
14250
+ } | undefined;
13280
14251
  }>>;
13281
14252
  } & {
13282
14253
  type: z.ZodLiteral<"query">;
@@ -13315,6 +14286,7 @@ declare const NarrativeSchema: z.ZodObject<{
13315
14286
  name: string;
13316
14287
  field: string;
13317
14288
  }>;
14289
+ operator: z.ZodOptional<z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte"]>>;
13318
14290
  }, "strip", z.ZodTypeAny, {
13319
14291
  target: {
13320
14292
  type: "Command" | "Event" | "State" | "Query";
@@ -13326,6 +14298,7 @@ declare const NarrativeSchema: z.ZodObject<{
13326
14298
  name: string;
13327
14299
  field: string;
13328
14300
  };
14301
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
13329
14302
  }, {
13330
14303
  target: {
13331
14304
  type: "Command" | "Event" | "State" | "Query";
@@ -13337,6 +14310,7 @@ declare const NarrativeSchema: z.ZodObject<{
13337
14310
  name: string;
13338
14311
  field: string;
13339
14312
  };
14313
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
13340
14314
  }>, "many">>;
13341
14315
  server: z.ZodObject<{
13342
14316
  description: z.ZodString;
@@ -14600,6 +15574,16 @@ declare const NarrativeSchema: z.ZodObject<{
14600
15574
  url?: string | undefined;
14601
15575
  originatingPrompt?: string | undefined;
14602
15576
  } | undefined;
15577
+ ui?: {
15578
+ layoutId: string;
15579
+ mode: "custom" | "as-is" | "modify";
15580
+ regions: Record<string, {
15581
+ name: string;
15582
+ id: string;
15583
+ slots?: Record<string, unknown> | undefined;
15584
+ }[]>;
15585
+ customizationNotes?: string | undefined;
15586
+ } | undefined;
14603
15587
  } | undefined;
14604
15588
  request?: string | undefined;
14605
15589
  mappings?: {
@@ -14613,6 +15597,7 @@ declare const NarrativeSchema: z.ZodObject<{
14613
15597
  name: string;
14614
15598
  field: string;
14615
15599
  };
15600
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
14616
15601
  }[] | undefined;
14617
15602
  }, {
14618
15603
  type: "query";
@@ -14758,6 +15743,16 @@ declare const NarrativeSchema: z.ZodObject<{
14758
15743
  url?: string | undefined;
14759
15744
  originatingPrompt?: string | undefined;
14760
15745
  } | undefined;
15746
+ ui?: {
15747
+ layoutId: string;
15748
+ mode: "custom" | "as-is" | "modify";
15749
+ regions: Record<string, {
15750
+ name: string;
15751
+ id: string;
15752
+ slots?: Record<string, unknown> | undefined;
15753
+ }[]>;
15754
+ customizationNotes?: string | undefined;
15755
+ } | undefined;
14761
15756
  } | undefined;
14762
15757
  request?: string | undefined;
14763
15758
  mappings?: {
@@ -14771,6 +15766,7 @@ declare const NarrativeSchema: z.ZodObject<{
14771
15766
  name: string;
14772
15767
  field: string;
14773
15768
  };
15769
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
14774
15770
  }[] | undefined;
14775
15771
  }>, z.ZodObject<{
14776
15772
  name: z.ZodString;
@@ -14791,18 +15787,74 @@ declare const NarrativeSchema: z.ZodObject<{
14791
15787
  originatingPrompt?: string | undefined;
14792
15788
  }>>;
14793
15789
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15790
+ ui: z.ZodOptional<z.ZodObject<{
15791
+ layoutId: z.ZodString;
15792
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
15793
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
15794
+ id: z.ZodString;
15795
+ name: z.ZodString;
15796
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15797
+ }, "strip", z.ZodTypeAny, {
15798
+ name: string;
15799
+ id: string;
15800
+ slots?: Record<string, unknown> | undefined;
15801
+ }, {
15802
+ name: string;
15803
+ id: string;
15804
+ slots?: Record<string, unknown> | undefined;
15805
+ }>, "many">>;
15806
+ customizationNotes: z.ZodOptional<z.ZodString>;
15807
+ }, "strip", z.ZodTypeAny, {
15808
+ layoutId: string;
15809
+ mode: "custom" | "as-is" | "modify";
15810
+ regions: Record<string, {
15811
+ name: string;
15812
+ id: string;
15813
+ slots?: Record<string, unknown> | undefined;
15814
+ }[]>;
15815
+ customizationNotes?: string | undefined;
15816
+ }, {
15817
+ layoutId: string;
15818
+ mode: "custom" | "as-is" | "modify";
15819
+ regions: Record<string, {
15820
+ name: string;
15821
+ id: string;
15822
+ slots?: Record<string, unknown> | undefined;
15823
+ }[]>;
15824
+ customizationNotes?: string | undefined;
15825
+ }>>;
14794
15826
  }, "strip", z.ZodTypeAny, {
14795
15827
  metadata?: Record<string, unknown> | undefined;
14796
15828
  imageAsset?: {
14797
15829
  url?: string | undefined;
14798
15830
  originatingPrompt?: string | undefined;
14799
15831
  } | undefined;
15832
+ ui?: {
15833
+ layoutId: string;
15834
+ mode: "custom" | "as-is" | "modify";
15835
+ regions: Record<string, {
15836
+ name: string;
15837
+ id: string;
15838
+ slots?: Record<string, unknown> | undefined;
15839
+ }[]>;
15840
+ customizationNotes?: string | undefined;
15841
+ } | undefined;
14800
15842
  }, {
14801
15843
  metadata?: Record<string, unknown> | undefined;
14802
15844
  imageAsset?: {
14803
15845
  url?: string | undefined;
14804
15846
  originatingPrompt?: string | undefined;
14805
15847
  } | undefined;
15848
+ ui?: {
15849
+ layoutId: string;
15850
+ mode: "custom" | "as-is" | "modify";
15851
+ regions: Record<string, {
15852
+ name: string;
15853
+ id: string;
15854
+ slots?: Record<string, unknown> | undefined;
15855
+ }[]>;
15856
+ customizationNotes?: string | undefined;
15857
+ } | undefined;
14806
15858
  }>>;
14807
15859
  } & {
14808
15860
  type: z.ZodLiteral<"react">;
@@ -16065,6 +17117,16 @@ declare const NarrativeSchema: z.ZodObject<{
16065
17117
  url?: string | undefined;
16066
17118
  originatingPrompt?: string | undefined;
16067
17119
  } | undefined;
17120
+ ui?: {
17121
+ layoutId: string;
17122
+ mode: "custom" | "as-is" | "modify";
17123
+ regions: Record<string, {
17124
+ name: string;
17125
+ id: string;
17126
+ slots?: Record<string, unknown> | undefined;
17127
+ }[]>;
17128
+ customizationNotes?: string | undefined;
17129
+ } | undefined;
16068
17130
  } | undefined;
16069
17131
  }, {
16070
17132
  type: "react";
@@ -16207,6 +17269,16 @@ declare const NarrativeSchema: z.ZodObject<{
16207
17269
  url?: string | undefined;
16208
17270
  originatingPrompt?: string | undefined;
16209
17271
  } | undefined;
17272
+ ui?: {
17273
+ layoutId: string;
17274
+ mode: "custom" | "as-is" | "modify";
17275
+ regions: Record<string, {
17276
+ name: string;
17277
+ id: string;
17278
+ slots?: Record<string, unknown> | undefined;
17279
+ }[]>;
17280
+ customizationNotes?: string | undefined;
17281
+ } | undefined;
16210
17282
  } | undefined;
16211
17283
  }>, z.ZodObject<{
16212
17284
  name: z.ZodString;
@@ -16227,18 +17299,74 @@ declare const NarrativeSchema: z.ZodObject<{
16227
17299
  originatingPrompt?: string | undefined;
16228
17300
  }>>;
16229
17301
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17302
+ ui: z.ZodOptional<z.ZodObject<{
17303
+ layoutId: z.ZodString;
17304
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
17305
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
17306
+ id: z.ZodString;
17307
+ name: z.ZodString;
17308
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17309
+ }, "strip", z.ZodTypeAny, {
17310
+ name: string;
17311
+ id: string;
17312
+ slots?: Record<string, unknown> | undefined;
17313
+ }, {
17314
+ name: string;
17315
+ id: string;
17316
+ slots?: Record<string, unknown> | undefined;
17317
+ }>, "many">>;
17318
+ customizationNotes: z.ZodOptional<z.ZodString>;
17319
+ }, "strip", z.ZodTypeAny, {
17320
+ layoutId: string;
17321
+ mode: "custom" | "as-is" | "modify";
17322
+ regions: Record<string, {
17323
+ name: string;
17324
+ id: string;
17325
+ slots?: Record<string, unknown> | undefined;
17326
+ }[]>;
17327
+ customizationNotes?: string | undefined;
17328
+ }, {
17329
+ layoutId: string;
17330
+ mode: "custom" | "as-is" | "modify";
17331
+ regions: Record<string, {
17332
+ name: string;
17333
+ id: string;
17334
+ slots?: Record<string, unknown> | undefined;
17335
+ }[]>;
17336
+ customizationNotes?: string | undefined;
17337
+ }>>;
16230
17338
  }, "strip", z.ZodTypeAny, {
16231
17339
  metadata?: Record<string, unknown> | undefined;
16232
17340
  imageAsset?: {
16233
17341
  url?: string | undefined;
16234
17342
  originatingPrompt?: string | undefined;
16235
17343
  } | undefined;
17344
+ ui?: {
17345
+ layoutId: string;
17346
+ mode: "custom" | "as-is" | "modify";
17347
+ regions: Record<string, {
17348
+ name: string;
17349
+ id: string;
17350
+ slots?: Record<string, unknown> | undefined;
17351
+ }[]>;
17352
+ customizationNotes?: string | undefined;
17353
+ } | undefined;
16236
17354
  }, {
16237
17355
  metadata?: Record<string, unknown> | undefined;
16238
17356
  imageAsset?: {
16239
17357
  url?: string | undefined;
16240
17358
  originatingPrompt?: string | undefined;
16241
17359
  } | undefined;
17360
+ ui?: {
17361
+ layoutId: string;
17362
+ mode: "custom" | "as-is" | "modify";
17363
+ regions: Record<string, {
17364
+ name: string;
17365
+ id: string;
17366
+ slots?: Record<string, unknown> | undefined;
17367
+ }[]>;
17368
+ customizationNotes?: string | undefined;
17369
+ } | undefined;
16242
17370
  }>>;
16243
17371
  } & {
16244
17372
  type: z.ZodLiteral<"experience">;
@@ -16266,6 +17394,16 @@ declare const NarrativeSchema: z.ZodObject<{
16266
17394
  url?: string | undefined;
16267
17395
  originatingPrompt?: string | undefined;
16268
17396
  } | undefined;
17397
+ ui?: {
17398
+ layoutId: string;
17399
+ mode: "custom" | "as-is" | "modify";
17400
+ regions: Record<string, {
17401
+ name: string;
17402
+ id: string;
17403
+ slots?: Record<string, unknown> | undefined;
17404
+ }[]>;
17405
+ customizationNotes?: string | undefined;
17406
+ } | undefined;
16269
17407
  } | undefined;
16270
17408
  }, {
16271
17409
  type: "experience";
@@ -16284,6 +17422,16 @@ declare const NarrativeSchema: z.ZodObject<{
16284
17422
  url?: string | undefined;
16285
17423
  originatingPrompt?: string | undefined;
16286
17424
  } | undefined;
17425
+ ui?: {
17426
+ layoutId: string;
17427
+ mode: "custom" | "as-is" | "modify";
17428
+ regions: Record<string, {
17429
+ name: string;
17430
+ id: string;
17431
+ slots?: Record<string, unknown> | undefined;
17432
+ }[]>;
17433
+ customizationNotes?: string | undefined;
17434
+ } | undefined;
16287
17435
  } | undefined;
16288
17436
  }>]>, "many">;
16289
17437
  sourceFile: z.ZodOptional<z.ZodString>;
@@ -16337,18 +17485,74 @@ declare const NarrativeSchema: z.ZodObject<{
16337
17485
  originatingPrompt?: string | undefined;
16338
17486
  }>>;
16339
17487
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17488
+ ui: z.ZodOptional<z.ZodObject<{
17489
+ layoutId: z.ZodString;
17490
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
17491
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
17492
+ id: z.ZodString;
17493
+ name: z.ZodString;
17494
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17495
+ }, "strip", z.ZodTypeAny, {
17496
+ name: string;
17497
+ id: string;
17498
+ slots?: Record<string, unknown> | undefined;
17499
+ }, {
17500
+ name: string;
17501
+ id: string;
17502
+ slots?: Record<string, unknown> | undefined;
17503
+ }>, "many">>;
17504
+ customizationNotes: z.ZodOptional<z.ZodString>;
17505
+ }, "strip", z.ZodTypeAny, {
17506
+ layoutId: string;
17507
+ mode: "custom" | "as-is" | "modify";
17508
+ regions: Record<string, {
17509
+ name: string;
17510
+ id: string;
17511
+ slots?: Record<string, unknown> | undefined;
17512
+ }[]>;
17513
+ customizationNotes?: string | undefined;
17514
+ }, {
17515
+ layoutId: string;
17516
+ mode: "custom" | "as-is" | "modify";
17517
+ regions: Record<string, {
17518
+ name: string;
17519
+ id: string;
17520
+ slots?: Record<string, unknown> | undefined;
17521
+ }[]>;
17522
+ customizationNotes?: string | undefined;
17523
+ }>>;
16340
17524
  }, "strip", z.ZodTypeAny, {
16341
17525
  metadata?: Record<string, unknown> | undefined;
16342
17526
  imageAsset?: {
16343
17527
  url?: string | undefined;
16344
17528
  originatingPrompt?: string | undefined;
16345
17529
  } | undefined;
17530
+ ui?: {
17531
+ layoutId: string;
17532
+ mode: "custom" | "as-is" | "modify";
17533
+ regions: Record<string, {
17534
+ name: string;
17535
+ id: string;
17536
+ slots?: Record<string, unknown> | undefined;
17537
+ }[]>;
17538
+ customizationNotes?: string | undefined;
17539
+ } | undefined;
16346
17540
  }, {
16347
17541
  metadata?: Record<string, unknown> | undefined;
16348
17542
  imageAsset?: {
16349
17543
  url?: string | undefined;
16350
17544
  originatingPrompt?: string | undefined;
16351
17545
  } | undefined;
17546
+ ui?: {
17547
+ layoutId: string;
17548
+ mode: "custom" | "as-is" | "modify";
17549
+ regions: Record<string, {
17550
+ name: string;
17551
+ id: string;
17552
+ slots?: Record<string, unknown> | undefined;
17553
+ }[]>;
17554
+ customizationNotes?: string | undefined;
17555
+ } | undefined;
16352
17556
  }>>;
16353
17557
  }, "strip", z.ZodTypeAny, {
16354
17558
  name: string;
@@ -16496,6 +17700,16 @@ declare const NarrativeSchema: z.ZodObject<{
16496
17700
  url?: string | undefined;
16497
17701
  originatingPrompt?: string | undefined;
16498
17702
  } | undefined;
17703
+ ui?: {
17704
+ layoutId: string;
17705
+ mode: "custom" | "as-is" | "modify";
17706
+ regions: Record<string, {
17707
+ name: string;
17708
+ id: string;
17709
+ slots?: Record<string, unknown> | undefined;
17710
+ }[]>;
17711
+ customizationNotes?: string | undefined;
17712
+ } | undefined;
16499
17713
  } | undefined;
16500
17714
  request?: string | undefined;
16501
17715
  mappings?: {
@@ -16509,6 +17723,7 @@ declare const NarrativeSchema: z.ZodObject<{
16509
17723
  name: string;
16510
17724
  field: string;
16511
17725
  };
17726
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
16512
17727
  }[] | undefined;
16513
17728
  } | {
16514
17729
  type: "query";
@@ -16654,6 +17869,16 @@ declare const NarrativeSchema: z.ZodObject<{
16654
17869
  url?: string | undefined;
16655
17870
  originatingPrompt?: string | undefined;
16656
17871
  } | undefined;
17872
+ ui?: {
17873
+ layoutId: string;
17874
+ mode: "custom" | "as-is" | "modify";
17875
+ regions: Record<string, {
17876
+ name: string;
17877
+ id: string;
17878
+ slots?: Record<string, unknown> | undefined;
17879
+ }[]>;
17880
+ customizationNotes?: string | undefined;
17881
+ } | undefined;
16657
17882
  } | undefined;
16658
17883
  request?: string | undefined;
16659
17884
  mappings?: {
@@ -16667,6 +17892,7 @@ declare const NarrativeSchema: z.ZodObject<{
16667
17892
  name: string;
16668
17893
  field: string;
16669
17894
  };
17895
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
16670
17896
  }[] | undefined;
16671
17897
  } | {
16672
17898
  type: "react";
@@ -16809,6 +18035,16 @@ declare const NarrativeSchema: z.ZodObject<{
16809
18035
  url?: string | undefined;
16810
18036
  originatingPrompt?: string | undefined;
16811
18037
  } | undefined;
18038
+ ui?: {
18039
+ layoutId: string;
18040
+ mode: "custom" | "as-is" | "modify";
18041
+ regions: Record<string, {
18042
+ name: string;
18043
+ id: string;
18044
+ slots?: Record<string, unknown> | undefined;
18045
+ }[]>;
18046
+ customizationNotes?: string | undefined;
18047
+ } | undefined;
16812
18048
  } | undefined;
16813
18049
  } | {
16814
18050
  type: "experience";
@@ -16827,6 +18063,16 @@ declare const NarrativeSchema: z.ZodObject<{
16827
18063
  url?: string | undefined;
16828
18064
  originatingPrompt?: string | undefined;
16829
18065
  } | undefined;
18066
+ ui?: {
18067
+ layoutId: string;
18068
+ mode: "custom" | "as-is" | "modify";
18069
+ regions: Record<string, {
18070
+ name: string;
18071
+ id: string;
18072
+ slots?: Record<string, unknown> | undefined;
18073
+ }[]>;
18074
+ customizationNotes?: string | undefined;
18075
+ } | undefined;
16830
18076
  } | undefined;
16831
18077
  })[];
16832
18078
  sourceFile?: string | undefined;
@@ -16838,6 +18084,16 @@ declare const NarrativeSchema: z.ZodObject<{
16838
18084
  url?: string | undefined;
16839
18085
  originatingPrompt?: string | undefined;
16840
18086
  } | undefined;
18087
+ ui?: {
18088
+ layoutId: string;
18089
+ mode: "custom" | "as-is" | "modify";
18090
+ regions: Record<string, {
18091
+ name: string;
18092
+ id: string;
18093
+ slots?: Record<string, unknown> | undefined;
18094
+ }[]>;
18095
+ customizationNotes?: string | undefined;
18096
+ } | undefined;
16841
18097
  } | undefined;
16842
18098
  scene?: {
16843
18099
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -16995,6 +18251,16 @@ declare const NarrativeSchema: z.ZodObject<{
16995
18251
  url?: string | undefined;
16996
18252
  originatingPrompt?: string | undefined;
16997
18253
  } | undefined;
18254
+ ui?: {
18255
+ layoutId: string;
18256
+ mode: "custom" | "as-is" | "modify";
18257
+ regions: Record<string, {
18258
+ name: string;
18259
+ id: string;
18260
+ slots?: Record<string, unknown> | undefined;
18261
+ }[]>;
18262
+ customizationNotes?: string | undefined;
18263
+ } | undefined;
16998
18264
  } | undefined;
16999
18265
  request?: string | undefined;
17000
18266
  mappings?: {
@@ -17008,6 +18274,7 @@ declare const NarrativeSchema: z.ZodObject<{
17008
18274
  name: string;
17009
18275
  field: string;
17010
18276
  };
18277
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
17011
18278
  }[] | undefined;
17012
18279
  } | {
17013
18280
  type: "query";
@@ -17153,6 +18420,16 @@ declare const NarrativeSchema: z.ZodObject<{
17153
18420
  url?: string | undefined;
17154
18421
  originatingPrompt?: string | undefined;
17155
18422
  } | undefined;
18423
+ ui?: {
18424
+ layoutId: string;
18425
+ mode: "custom" | "as-is" | "modify";
18426
+ regions: Record<string, {
18427
+ name: string;
18428
+ id: string;
18429
+ slots?: Record<string, unknown> | undefined;
18430
+ }[]>;
18431
+ customizationNotes?: string | undefined;
18432
+ } | undefined;
17156
18433
  } | undefined;
17157
18434
  request?: string | undefined;
17158
18435
  mappings?: {
@@ -17166,6 +18443,7 @@ declare const NarrativeSchema: z.ZodObject<{
17166
18443
  name: string;
17167
18444
  field: string;
17168
18445
  };
18446
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
17169
18447
  }[] | undefined;
17170
18448
  } | {
17171
18449
  type: "react";
@@ -17308,6 +18586,16 @@ declare const NarrativeSchema: z.ZodObject<{
17308
18586
  url?: string | undefined;
17309
18587
  originatingPrompt?: string | undefined;
17310
18588
  } | undefined;
18589
+ ui?: {
18590
+ layoutId: string;
18591
+ mode: "custom" | "as-is" | "modify";
18592
+ regions: Record<string, {
18593
+ name: string;
18594
+ id: string;
18595
+ slots?: Record<string, unknown> | undefined;
18596
+ }[]>;
18597
+ customizationNotes?: string | undefined;
18598
+ } | undefined;
17311
18599
  } | undefined;
17312
18600
  } | {
17313
18601
  type: "experience";
@@ -17326,6 +18614,16 @@ declare const NarrativeSchema: z.ZodObject<{
17326
18614
  url?: string | undefined;
17327
18615
  originatingPrompt?: string | undefined;
17328
18616
  } | undefined;
18617
+ ui?: {
18618
+ layoutId: string;
18619
+ mode: "custom" | "as-is" | "modify";
18620
+ regions: Record<string, {
18621
+ name: string;
18622
+ id: string;
18623
+ slots?: Record<string, unknown> | undefined;
18624
+ }[]>;
18625
+ customizationNotes?: string | undefined;
18626
+ } | undefined;
17329
18627
  } | undefined;
17330
18628
  })[];
17331
18629
  sourceFile?: string | undefined;
@@ -17337,6 +18635,16 @@ declare const NarrativeSchema: z.ZodObject<{
17337
18635
  url?: string | undefined;
17338
18636
  originatingPrompt?: string | undefined;
17339
18637
  } | undefined;
18638
+ ui?: {
18639
+ layoutId: string;
18640
+ mode: "custom" | "as-is" | "modify";
18641
+ regions: Record<string, {
18642
+ name: string;
18643
+ id: string;
18644
+ slots?: Record<string, unknown> | undefined;
18645
+ }[]>;
18646
+ customizationNotes?: string | undefined;
18647
+ } | undefined;
17340
18648
  } | undefined;
17341
18649
  scene?: {
17342
18650
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -17665,18 +18973,74 @@ export declare const modelSchema: z.ZodObject<{
17665
18973
  originatingPrompt?: string | undefined;
17666
18974
  }>>;
17667
18975
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18976
+ ui: z.ZodOptional<z.ZodObject<{
18977
+ layoutId: z.ZodString;
18978
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
18979
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
18980
+ id: z.ZodString;
18981
+ name: z.ZodString;
18982
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18983
+ }, "strip", z.ZodTypeAny, {
18984
+ name: string;
18985
+ id: string;
18986
+ slots?: Record<string, unknown> | undefined;
18987
+ }, {
18988
+ name: string;
18989
+ id: string;
18990
+ slots?: Record<string, unknown> | undefined;
18991
+ }>, "many">>;
18992
+ customizationNotes: z.ZodOptional<z.ZodString>;
18993
+ }, "strip", z.ZodTypeAny, {
18994
+ layoutId: string;
18995
+ mode: "custom" | "as-is" | "modify";
18996
+ regions: Record<string, {
18997
+ name: string;
18998
+ id: string;
18999
+ slots?: Record<string, unknown> | undefined;
19000
+ }[]>;
19001
+ customizationNotes?: string | undefined;
19002
+ }, {
19003
+ layoutId: string;
19004
+ mode: "custom" | "as-is" | "modify";
19005
+ regions: Record<string, {
19006
+ name: string;
19007
+ id: string;
19008
+ slots?: Record<string, unknown> | undefined;
19009
+ }[]>;
19010
+ customizationNotes?: string | undefined;
19011
+ }>>;
17668
19012
  }, "strip", z.ZodTypeAny, {
17669
19013
  metadata?: Record<string, unknown> | undefined;
17670
19014
  imageAsset?: {
17671
19015
  url?: string | undefined;
17672
19016
  originatingPrompt?: string | undefined;
17673
19017
  } | undefined;
19018
+ ui?: {
19019
+ layoutId: string;
19020
+ mode: "custom" | "as-is" | "modify";
19021
+ regions: Record<string, {
19022
+ name: string;
19023
+ id: string;
19024
+ slots?: Record<string, unknown> | undefined;
19025
+ }[]>;
19026
+ customizationNotes?: string | undefined;
19027
+ } | undefined;
17674
19028
  }, {
17675
19029
  metadata?: Record<string, unknown> | undefined;
17676
19030
  imageAsset?: {
17677
19031
  url?: string | undefined;
17678
19032
  originatingPrompt?: string | undefined;
17679
19033
  } | undefined;
19034
+ ui?: {
19035
+ layoutId: string;
19036
+ mode: "custom" | "as-is" | "modify";
19037
+ regions: Record<string, {
19038
+ name: string;
19039
+ id: string;
19040
+ slots?: Record<string, unknown> | undefined;
19041
+ }[]>;
19042
+ customizationNotes?: string | undefined;
19043
+ } | undefined;
17680
19044
  }>>;
17681
19045
  } & {
17682
19046
  type: z.ZodLiteral<"command">;
@@ -17715,6 +19079,7 @@ export declare const modelSchema: z.ZodObject<{
17715
19079
  name: string;
17716
19080
  field: string;
17717
19081
  }>;
19082
+ operator: z.ZodOptional<z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte"]>>;
17718
19083
  }, "strip", z.ZodTypeAny, {
17719
19084
  target: {
17720
19085
  type: "Command" | "Event" | "State" | "Query";
@@ -17726,6 +19091,7 @@ export declare const modelSchema: z.ZodObject<{
17726
19091
  name: string;
17727
19092
  field: string;
17728
19093
  };
19094
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
17729
19095
  }, {
17730
19096
  target: {
17731
19097
  type: "Command" | "Event" | "State" | "Query";
@@ -17737,6 +19103,7 @@ export declare const modelSchema: z.ZodObject<{
17737
19103
  name: string;
17738
19104
  field: string;
17739
19105
  };
19106
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
17740
19107
  }>, "many">>;
17741
19108
  server: z.ZodObject<{
17742
19109
  description: z.ZodString;
@@ -19000,6 +20367,16 @@ export declare const modelSchema: z.ZodObject<{
19000
20367
  url?: string | undefined;
19001
20368
  originatingPrompt?: string | undefined;
19002
20369
  } | undefined;
20370
+ ui?: {
20371
+ layoutId: string;
20372
+ mode: "custom" | "as-is" | "modify";
20373
+ regions: Record<string, {
20374
+ name: string;
20375
+ id: string;
20376
+ slots?: Record<string, unknown> | undefined;
20377
+ }[]>;
20378
+ customizationNotes?: string | undefined;
20379
+ } | undefined;
19003
20380
  } | undefined;
19004
20381
  request?: string | undefined;
19005
20382
  mappings?: {
@@ -19013,6 +20390,7 @@ export declare const modelSchema: z.ZodObject<{
19013
20390
  name: string;
19014
20391
  field: string;
19015
20392
  };
20393
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
19016
20394
  }[] | undefined;
19017
20395
  }, {
19018
20396
  type: "command";
@@ -19158,6 +20536,16 @@ export declare const modelSchema: z.ZodObject<{
19158
20536
  url?: string | undefined;
19159
20537
  originatingPrompt?: string | undefined;
19160
20538
  } | undefined;
20539
+ ui?: {
20540
+ layoutId: string;
20541
+ mode: "custom" | "as-is" | "modify";
20542
+ regions: Record<string, {
20543
+ name: string;
20544
+ id: string;
20545
+ slots?: Record<string, unknown> | undefined;
20546
+ }[]>;
20547
+ customizationNotes?: string | undefined;
20548
+ } | undefined;
19161
20549
  } | undefined;
19162
20550
  request?: string | undefined;
19163
20551
  mappings?: {
@@ -19171,6 +20559,7 @@ export declare const modelSchema: z.ZodObject<{
19171
20559
  name: string;
19172
20560
  field: string;
19173
20561
  };
20562
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
19174
20563
  }[] | undefined;
19175
20564
  }>, z.ZodObject<{
19176
20565
  name: z.ZodString;
@@ -19191,18 +20580,74 @@ export declare const modelSchema: z.ZodObject<{
19191
20580
  originatingPrompt?: string | undefined;
19192
20581
  }>>;
19193
20582
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20583
+ ui: z.ZodOptional<z.ZodObject<{
20584
+ layoutId: z.ZodString;
20585
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
20586
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
20587
+ id: z.ZodString;
20588
+ name: z.ZodString;
20589
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20590
+ }, "strip", z.ZodTypeAny, {
20591
+ name: string;
20592
+ id: string;
20593
+ slots?: Record<string, unknown> | undefined;
20594
+ }, {
20595
+ name: string;
20596
+ id: string;
20597
+ slots?: Record<string, unknown> | undefined;
20598
+ }>, "many">>;
20599
+ customizationNotes: z.ZodOptional<z.ZodString>;
20600
+ }, "strip", z.ZodTypeAny, {
20601
+ layoutId: string;
20602
+ mode: "custom" | "as-is" | "modify";
20603
+ regions: Record<string, {
20604
+ name: string;
20605
+ id: string;
20606
+ slots?: Record<string, unknown> | undefined;
20607
+ }[]>;
20608
+ customizationNotes?: string | undefined;
20609
+ }, {
20610
+ layoutId: string;
20611
+ mode: "custom" | "as-is" | "modify";
20612
+ regions: Record<string, {
20613
+ name: string;
20614
+ id: string;
20615
+ slots?: Record<string, unknown> | undefined;
20616
+ }[]>;
20617
+ customizationNotes?: string | undefined;
20618
+ }>>;
19194
20619
  }, "strip", z.ZodTypeAny, {
19195
20620
  metadata?: Record<string, unknown> | undefined;
19196
20621
  imageAsset?: {
19197
20622
  url?: string | undefined;
19198
20623
  originatingPrompt?: string | undefined;
19199
20624
  } | undefined;
20625
+ ui?: {
20626
+ layoutId: string;
20627
+ mode: "custom" | "as-is" | "modify";
20628
+ regions: Record<string, {
20629
+ name: string;
20630
+ id: string;
20631
+ slots?: Record<string, unknown> | undefined;
20632
+ }[]>;
20633
+ customizationNotes?: string | undefined;
20634
+ } | undefined;
19200
20635
  }, {
19201
20636
  metadata?: Record<string, unknown> | undefined;
19202
20637
  imageAsset?: {
19203
20638
  url?: string | undefined;
19204
20639
  originatingPrompt?: string | undefined;
19205
20640
  } | undefined;
20641
+ ui?: {
20642
+ layoutId: string;
20643
+ mode: "custom" | "as-is" | "modify";
20644
+ regions: Record<string, {
20645
+ name: string;
20646
+ id: string;
20647
+ slots?: Record<string, unknown> | undefined;
20648
+ }[]>;
20649
+ customizationNotes?: string | undefined;
20650
+ } | undefined;
19206
20651
  }>>;
19207
20652
  } & {
19208
20653
  type: z.ZodLiteral<"query">;
@@ -19241,6 +20686,7 @@ export declare const modelSchema: z.ZodObject<{
19241
20686
  name: string;
19242
20687
  field: string;
19243
20688
  }>;
20689
+ operator: z.ZodOptional<z.ZodEnum<["eq", "ne", "gt", "gte", "lt", "lte"]>>;
19244
20690
  }, "strip", z.ZodTypeAny, {
19245
20691
  target: {
19246
20692
  type: "Command" | "Event" | "State" | "Query";
@@ -19252,6 +20698,7 @@ export declare const modelSchema: z.ZodObject<{
19252
20698
  name: string;
19253
20699
  field: string;
19254
20700
  };
20701
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
19255
20702
  }, {
19256
20703
  target: {
19257
20704
  type: "Command" | "Event" | "State" | "Query";
@@ -19263,6 +20710,7 @@ export declare const modelSchema: z.ZodObject<{
19263
20710
  name: string;
19264
20711
  field: string;
19265
20712
  };
20713
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
19266
20714
  }>, "many">>;
19267
20715
  server: z.ZodObject<{
19268
20716
  description: z.ZodString;
@@ -20526,6 +21974,16 @@ export declare const modelSchema: z.ZodObject<{
20526
21974
  url?: string | undefined;
20527
21975
  originatingPrompt?: string | undefined;
20528
21976
  } | undefined;
21977
+ ui?: {
21978
+ layoutId: string;
21979
+ mode: "custom" | "as-is" | "modify";
21980
+ regions: Record<string, {
21981
+ name: string;
21982
+ id: string;
21983
+ slots?: Record<string, unknown> | undefined;
21984
+ }[]>;
21985
+ customizationNotes?: string | undefined;
21986
+ } | undefined;
20529
21987
  } | undefined;
20530
21988
  request?: string | undefined;
20531
21989
  mappings?: {
@@ -20539,6 +21997,7 @@ export declare const modelSchema: z.ZodObject<{
20539
21997
  name: string;
20540
21998
  field: string;
20541
21999
  };
22000
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
20542
22001
  }[] | undefined;
20543
22002
  }, {
20544
22003
  type: "query";
@@ -20684,6 +22143,16 @@ export declare const modelSchema: z.ZodObject<{
20684
22143
  url?: string | undefined;
20685
22144
  originatingPrompt?: string | undefined;
20686
22145
  } | undefined;
22146
+ ui?: {
22147
+ layoutId: string;
22148
+ mode: "custom" | "as-is" | "modify";
22149
+ regions: Record<string, {
22150
+ name: string;
22151
+ id: string;
22152
+ slots?: Record<string, unknown> | undefined;
22153
+ }[]>;
22154
+ customizationNotes?: string | undefined;
22155
+ } | undefined;
20687
22156
  } | undefined;
20688
22157
  request?: string | undefined;
20689
22158
  mappings?: {
@@ -20697,6 +22166,7 @@ export declare const modelSchema: z.ZodObject<{
20697
22166
  name: string;
20698
22167
  field: string;
20699
22168
  };
22169
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
20700
22170
  }[] | undefined;
20701
22171
  }>, z.ZodObject<{
20702
22172
  name: z.ZodString;
@@ -20717,18 +22187,74 @@ export declare const modelSchema: z.ZodObject<{
20717
22187
  originatingPrompt?: string | undefined;
20718
22188
  }>>;
20719
22189
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22190
+ ui: z.ZodOptional<z.ZodObject<{
22191
+ layoutId: z.ZodString;
22192
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
22193
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
22194
+ id: z.ZodString;
22195
+ name: z.ZodString;
22196
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22197
+ }, "strip", z.ZodTypeAny, {
22198
+ name: string;
22199
+ id: string;
22200
+ slots?: Record<string, unknown> | undefined;
22201
+ }, {
22202
+ name: string;
22203
+ id: string;
22204
+ slots?: Record<string, unknown> | undefined;
22205
+ }>, "many">>;
22206
+ customizationNotes: z.ZodOptional<z.ZodString>;
22207
+ }, "strip", z.ZodTypeAny, {
22208
+ layoutId: string;
22209
+ mode: "custom" | "as-is" | "modify";
22210
+ regions: Record<string, {
22211
+ name: string;
22212
+ id: string;
22213
+ slots?: Record<string, unknown> | undefined;
22214
+ }[]>;
22215
+ customizationNotes?: string | undefined;
22216
+ }, {
22217
+ layoutId: string;
22218
+ mode: "custom" | "as-is" | "modify";
22219
+ regions: Record<string, {
22220
+ name: string;
22221
+ id: string;
22222
+ slots?: Record<string, unknown> | undefined;
22223
+ }[]>;
22224
+ customizationNotes?: string | undefined;
22225
+ }>>;
20720
22226
  }, "strip", z.ZodTypeAny, {
20721
22227
  metadata?: Record<string, unknown> | undefined;
20722
22228
  imageAsset?: {
20723
22229
  url?: string | undefined;
20724
22230
  originatingPrompt?: string | undefined;
20725
22231
  } | undefined;
22232
+ ui?: {
22233
+ layoutId: string;
22234
+ mode: "custom" | "as-is" | "modify";
22235
+ regions: Record<string, {
22236
+ name: string;
22237
+ id: string;
22238
+ slots?: Record<string, unknown> | undefined;
22239
+ }[]>;
22240
+ customizationNotes?: string | undefined;
22241
+ } | undefined;
20726
22242
  }, {
20727
22243
  metadata?: Record<string, unknown> | undefined;
20728
22244
  imageAsset?: {
20729
22245
  url?: string | undefined;
20730
22246
  originatingPrompt?: string | undefined;
20731
22247
  } | undefined;
22248
+ ui?: {
22249
+ layoutId: string;
22250
+ mode: "custom" | "as-is" | "modify";
22251
+ regions: Record<string, {
22252
+ name: string;
22253
+ id: string;
22254
+ slots?: Record<string, unknown> | undefined;
22255
+ }[]>;
22256
+ customizationNotes?: string | undefined;
22257
+ } | undefined;
20732
22258
  }>>;
20733
22259
  } & {
20734
22260
  type: z.ZodLiteral<"react">;
@@ -21991,6 +23517,16 @@ export declare const modelSchema: z.ZodObject<{
21991
23517
  url?: string | undefined;
21992
23518
  originatingPrompt?: string | undefined;
21993
23519
  } | undefined;
23520
+ ui?: {
23521
+ layoutId: string;
23522
+ mode: "custom" | "as-is" | "modify";
23523
+ regions: Record<string, {
23524
+ name: string;
23525
+ id: string;
23526
+ slots?: Record<string, unknown> | undefined;
23527
+ }[]>;
23528
+ customizationNotes?: string | undefined;
23529
+ } | undefined;
21994
23530
  } | undefined;
21995
23531
  }, {
21996
23532
  type: "react";
@@ -22133,6 +23669,16 @@ export declare const modelSchema: z.ZodObject<{
22133
23669
  url?: string | undefined;
22134
23670
  originatingPrompt?: string | undefined;
22135
23671
  } | undefined;
23672
+ ui?: {
23673
+ layoutId: string;
23674
+ mode: "custom" | "as-is" | "modify";
23675
+ regions: Record<string, {
23676
+ name: string;
23677
+ id: string;
23678
+ slots?: Record<string, unknown> | undefined;
23679
+ }[]>;
23680
+ customizationNotes?: string | undefined;
23681
+ } | undefined;
22136
23682
  } | undefined;
22137
23683
  }>, z.ZodObject<{
22138
23684
  name: z.ZodString;
@@ -22153,18 +23699,74 @@ export declare const modelSchema: z.ZodObject<{
22153
23699
  originatingPrompt?: string | undefined;
22154
23700
  }>>;
22155
23701
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23702
+ ui: z.ZodOptional<z.ZodObject<{
23703
+ layoutId: z.ZodString;
23704
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
23705
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
23706
+ id: z.ZodString;
23707
+ name: z.ZodString;
23708
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23709
+ }, "strip", z.ZodTypeAny, {
23710
+ name: string;
23711
+ id: string;
23712
+ slots?: Record<string, unknown> | undefined;
23713
+ }, {
23714
+ name: string;
23715
+ id: string;
23716
+ slots?: Record<string, unknown> | undefined;
23717
+ }>, "many">>;
23718
+ customizationNotes: z.ZodOptional<z.ZodString>;
23719
+ }, "strip", z.ZodTypeAny, {
23720
+ layoutId: string;
23721
+ mode: "custom" | "as-is" | "modify";
23722
+ regions: Record<string, {
23723
+ name: string;
23724
+ id: string;
23725
+ slots?: Record<string, unknown> | undefined;
23726
+ }[]>;
23727
+ customizationNotes?: string | undefined;
23728
+ }, {
23729
+ layoutId: string;
23730
+ mode: "custom" | "as-is" | "modify";
23731
+ regions: Record<string, {
23732
+ name: string;
23733
+ id: string;
23734
+ slots?: Record<string, unknown> | undefined;
23735
+ }[]>;
23736
+ customizationNotes?: string | undefined;
23737
+ }>>;
22156
23738
  }, "strip", z.ZodTypeAny, {
22157
23739
  metadata?: Record<string, unknown> | undefined;
22158
23740
  imageAsset?: {
22159
23741
  url?: string | undefined;
22160
23742
  originatingPrompt?: string | undefined;
22161
23743
  } | undefined;
23744
+ ui?: {
23745
+ layoutId: string;
23746
+ mode: "custom" | "as-is" | "modify";
23747
+ regions: Record<string, {
23748
+ name: string;
23749
+ id: string;
23750
+ slots?: Record<string, unknown> | undefined;
23751
+ }[]>;
23752
+ customizationNotes?: string | undefined;
23753
+ } | undefined;
22162
23754
  }, {
22163
23755
  metadata?: Record<string, unknown> | undefined;
22164
23756
  imageAsset?: {
22165
23757
  url?: string | undefined;
22166
23758
  originatingPrompt?: string | undefined;
22167
23759
  } | undefined;
23760
+ ui?: {
23761
+ layoutId: string;
23762
+ mode: "custom" | "as-is" | "modify";
23763
+ regions: Record<string, {
23764
+ name: string;
23765
+ id: string;
23766
+ slots?: Record<string, unknown> | undefined;
23767
+ }[]>;
23768
+ customizationNotes?: string | undefined;
23769
+ } | undefined;
22168
23770
  }>>;
22169
23771
  } & {
22170
23772
  type: z.ZodLiteral<"experience">;
@@ -22192,6 +23794,16 @@ export declare const modelSchema: z.ZodObject<{
22192
23794
  url?: string | undefined;
22193
23795
  originatingPrompt?: string | undefined;
22194
23796
  } | undefined;
23797
+ ui?: {
23798
+ layoutId: string;
23799
+ mode: "custom" | "as-is" | "modify";
23800
+ regions: Record<string, {
23801
+ name: string;
23802
+ id: string;
23803
+ slots?: Record<string, unknown> | undefined;
23804
+ }[]>;
23805
+ customizationNotes?: string | undefined;
23806
+ } | undefined;
22195
23807
  } | undefined;
22196
23808
  }, {
22197
23809
  type: "experience";
@@ -22210,6 +23822,16 @@ export declare const modelSchema: z.ZodObject<{
22210
23822
  url?: string | undefined;
22211
23823
  originatingPrompt?: string | undefined;
22212
23824
  } | undefined;
23825
+ ui?: {
23826
+ layoutId: string;
23827
+ mode: "custom" | "as-is" | "modify";
23828
+ regions: Record<string, {
23829
+ name: string;
23830
+ id: string;
23831
+ slots?: Record<string, unknown> | undefined;
23832
+ }[]>;
23833
+ customizationNotes?: string | undefined;
23834
+ } | undefined;
22213
23835
  } | undefined;
22214
23836
  }>]>, "many">;
22215
23837
  sourceFile: z.ZodOptional<z.ZodString>;
@@ -22263,18 +23885,74 @@ export declare const modelSchema: z.ZodObject<{
22263
23885
  originatingPrompt?: string | undefined;
22264
23886
  }>>;
22265
23887
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23888
+ ui: z.ZodOptional<z.ZodObject<{
23889
+ layoutId: z.ZodString;
23890
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
23891
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
23892
+ id: z.ZodString;
23893
+ name: z.ZodString;
23894
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23895
+ }, "strip", z.ZodTypeAny, {
23896
+ name: string;
23897
+ id: string;
23898
+ slots?: Record<string, unknown> | undefined;
23899
+ }, {
23900
+ name: string;
23901
+ id: string;
23902
+ slots?: Record<string, unknown> | undefined;
23903
+ }>, "many">>;
23904
+ customizationNotes: z.ZodOptional<z.ZodString>;
23905
+ }, "strip", z.ZodTypeAny, {
23906
+ layoutId: string;
23907
+ mode: "custom" | "as-is" | "modify";
23908
+ regions: Record<string, {
23909
+ name: string;
23910
+ id: string;
23911
+ slots?: Record<string, unknown> | undefined;
23912
+ }[]>;
23913
+ customizationNotes?: string | undefined;
23914
+ }, {
23915
+ layoutId: string;
23916
+ mode: "custom" | "as-is" | "modify";
23917
+ regions: Record<string, {
23918
+ name: string;
23919
+ id: string;
23920
+ slots?: Record<string, unknown> | undefined;
23921
+ }[]>;
23922
+ customizationNotes?: string | undefined;
23923
+ }>>;
22266
23924
  }, "strip", z.ZodTypeAny, {
22267
23925
  metadata?: Record<string, unknown> | undefined;
22268
23926
  imageAsset?: {
22269
23927
  url?: string | undefined;
22270
23928
  originatingPrompt?: string | undefined;
22271
23929
  } | undefined;
23930
+ ui?: {
23931
+ layoutId: string;
23932
+ mode: "custom" | "as-is" | "modify";
23933
+ regions: Record<string, {
23934
+ name: string;
23935
+ id: string;
23936
+ slots?: Record<string, unknown> | undefined;
23937
+ }[]>;
23938
+ customizationNotes?: string | undefined;
23939
+ } | undefined;
22272
23940
  }, {
22273
23941
  metadata?: Record<string, unknown> | undefined;
22274
23942
  imageAsset?: {
22275
23943
  url?: string | undefined;
22276
23944
  originatingPrompt?: string | undefined;
22277
23945
  } | undefined;
23946
+ ui?: {
23947
+ layoutId: string;
23948
+ mode: "custom" | "as-is" | "modify";
23949
+ regions: Record<string, {
23950
+ name: string;
23951
+ id: string;
23952
+ slots?: Record<string, unknown> | undefined;
23953
+ }[]>;
23954
+ customizationNotes?: string | undefined;
23955
+ } | undefined;
22278
23956
  }>>;
22279
23957
  }, "strip", z.ZodTypeAny, {
22280
23958
  name: string;
@@ -22422,6 +24100,16 @@ export declare const modelSchema: z.ZodObject<{
22422
24100
  url?: string | undefined;
22423
24101
  originatingPrompt?: string | undefined;
22424
24102
  } | undefined;
24103
+ ui?: {
24104
+ layoutId: string;
24105
+ mode: "custom" | "as-is" | "modify";
24106
+ regions: Record<string, {
24107
+ name: string;
24108
+ id: string;
24109
+ slots?: Record<string, unknown> | undefined;
24110
+ }[]>;
24111
+ customizationNotes?: string | undefined;
24112
+ } | undefined;
22425
24113
  } | undefined;
22426
24114
  request?: string | undefined;
22427
24115
  mappings?: {
@@ -22435,6 +24123,7 @@ export declare const modelSchema: z.ZodObject<{
22435
24123
  name: string;
22436
24124
  field: string;
22437
24125
  };
24126
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
22438
24127
  }[] | undefined;
22439
24128
  } | {
22440
24129
  type: "query";
@@ -22580,6 +24269,16 @@ export declare const modelSchema: z.ZodObject<{
22580
24269
  url?: string | undefined;
22581
24270
  originatingPrompt?: string | undefined;
22582
24271
  } | undefined;
24272
+ ui?: {
24273
+ layoutId: string;
24274
+ mode: "custom" | "as-is" | "modify";
24275
+ regions: Record<string, {
24276
+ name: string;
24277
+ id: string;
24278
+ slots?: Record<string, unknown> | undefined;
24279
+ }[]>;
24280
+ customizationNotes?: string | undefined;
24281
+ } | undefined;
22583
24282
  } | undefined;
22584
24283
  request?: string | undefined;
22585
24284
  mappings?: {
@@ -22593,6 +24292,7 @@ export declare const modelSchema: z.ZodObject<{
22593
24292
  name: string;
22594
24293
  field: string;
22595
24294
  };
24295
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
22596
24296
  }[] | undefined;
22597
24297
  } | {
22598
24298
  type: "react";
@@ -22735,6 +24435,16 @@ export declare const modelSchema: z.ZodObject<{
22735
24435
  url?: string | undefined;
22736
24436
  originatingPrompt?: string | undefined;
22737
24437
  } | undefined;
24438
+ ui?: {
24439
+ layoutId: string;
24440
+ mode: "custom" | "as-is" | "modify";
24441
+ regions: Record<string, {
24442
+ name: string;
24443
+ id: string;
24444
+ slots?: Record<string, unknown> | undefined;
24445
+ }[]>;
24446
+ customizationNotes?: string | undefined;
24447
+ } | undefined;
22738
24448
  } | undefined;
22739
24449
  } | {
22740
24450
  type: "experience";
@@ -22753,6 +24463,16 @@ export declare const modelSchema: z.ZodObject<{
22753
24463
  url?: string | undefined;
22754
24464
  originatingPrompt?: string | undefined;
22755
24465
  } | undefined;
24466
+ ui?: {
24467
+ layoutId: string;
24468
+ mode: "custom" | "as-is" | "modify";
24469
+ regions: Record<string, {
24470
+ name: string;
24471
+ id: string;
24472
+ slots?: Record<string, unknown> | undefined;
24473
+ }[]>;
24474
+ customizationNotes?: string | undefined;
24475
+ } | undefined;
22756
24476
  } | undefined;
22757
24477
  })[];
22758
24478
  sourceFile?: string | undefined;
@@ -22764,6 +24484,16 @@ export declare const modelSchema: z.ZodObject<{
22764
24484
  url?: string | undefined;
22765
24485
  originatingPrompt?: string | undefined;
22766
24486
  } | undefined;
24487
+ ui?: {
24488
+ layoutId: string;
24489
+ mode: "custom" | "as-is" | "modify";
24490
+ regions: Record<string, {
24491
+ name: string;
24492
+ id: string;
24493
+ slots?: Record<string, unknown> | undefined;
24494
+ }[]>;
24495
+ customizationNotes?: string | undefined;
24496
+ } | undefined;
22767
24497
  } | undefined;
22768
24498
  scene?: {
22769
24499
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -22921,6 +24651,16 @@ export declare const modelSchema: z.ZodObject<{
22921
24651
  url?: string | undefined;
22922
24652
  originatingPrompt?: string | undefined;
22923
24653
  } | undefined;
24654
+ ui?: {
24655
+ layoutId: string;
24656
+ mode: "custom" | "as-is" | "modify";
24657
+ regions: Record<string, {
24658
+ name: string;
24659
+ id: string;
24660
+ slots?: Record<string, unknown> | undefined;
24661
+ }[]>;
24662
+ customizationNotes?: string | undefined;
24663
+ } | undefined;
22924
24664
  } | undefined;
22925
24665
  request?: string | undefined;
22926
24666
  mappings?: {
@@ -22934,6 +24674,7 @@ export declare const modelSchema: z.ZodObject<{
22934
24674
  name: string;
22935
24675
  field: string;
22936
24676
  };
24677
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
22937
24678
  }[] | undefined;
22938
24679
  } | {
22939
24680
  type: "query";
@@ -23079,6 +24820,16 @@ export declare const modelSchema: z.ZodObject<{
23079
24820
  url?: string | undefined;
23080
24821
  originatingPrompt?: string | undefined;
23081
24822
  } | undefined;
24823
+ ui?: {
24824
+ layoutId: string;
24825
+ mode: "custom" | "as-is" | "modify";
24826
+ regions: Record<string, {
24827
+ name: string;
24828
+ id: string;
24829
+ slots?: Record<string, unknown> | undefined;
24830
+ }[]>;
24831
+ customizationNotes?: string | undefined;
24832
+ } | undefined;
23082
24833
  } | undefined;
23083
24834
  request?: string | undefined;
23084
24835
  mappings?: {
@@ -23092,6 +24843,7 @@ export declare const modelSchema: z.ZodObject<{
23092
24843
  name: string;
23093
24844
  field: string;
23094
24845
  };
24846
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
23095
24847
  }[] | undefined;
23096
24848
  } | {
23097
24849
  type: "react";
@@ -23234,6 +24986,16 @@ export declare const modelSchema: z.ZodObject<{
23234
24986
  url?: string | undefined;
23235
24987
  originatingPrompt?: string | undefined;
23236
24988
  } | undefined;
24989
+ ui?: {
24990
+ layoutId: string;
24991
+ mode: "custom" | "as-is" | "modify";
24992
+ regions: Record<string, {
24993
+ name: string;
24994
+ id: string;
24995
+ slots?: Record<string, unknown> | undefined;
24996
+ }[]>;
24997
+ customizationNotes?: string | undefined;
24998
+ } | undefined;
23237
24999
  } | undefined;
23238
25000
  } | {
23239
25001
  type: "experience";
@@ -23252,6 +25014,16 @@ export declare const modelSchema: z.ZodObject<{
23252
25014
  url?: string | undefined;
23253
25015
  originatingPrompt?: string | undefined;
23254
25016
  } | undefined;
25017
+ ui?: {
25018
+ layoutId: string;
25019
+ mode: "custom" | "as-is" | "modify";
25020
+ regions: Record<string, {
25021
+ name: string;
25022
+ id: string;
25023
+ slots?: Record<string, unknown> | undefined;
25024
+ }[]>;
25025
+ customizationNotes?: string | undefined;
25026
+ } | undefined;
23255
25027
  } | undefined;
23256
25028
  })[];
23257
25029
  sourceFile?: string | undefined;
@@ -23263,6 +25035,16 @@ export declare const modelSchema: z.ZodObject<{
23263
25035
  url?: string | undefined;
23264
25036
  originatingPrompt?: string | undefined;
23265
25037
  } | undefined;
25038
+ ui?: {
25039
+ layoutId: string;
25040
+ mode: "custom" | "as-is" | "modify";
25041
+ regions: Record<string, {
25042
+ name: string;
25043
+ id: string;
25044
+ slots?: Record<string, unknown> | undefined;
25045
+ }[]>;
25046
+ customizationNotes?: string | undefined;
25047
+ } | undefined;
23266
25048
  } | undefined;
23267
25049
  scene?: {
23268
25050
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -23603,18 +25385,74 @@ export declare const modelSchema: z.ZodObject<{
23603
25385
  originatingPrompt?: string | undefined;
23604
25386
  }>>;
23605
25387
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25388
+ ui: z.ZodOptional<z.ZodObject<{
25389
+ layoutId: z.ZodString;
25390
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
25391
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
25392
+ id: z.ZodString;
25393
+ name: z.ZodString;
25394
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25395
+ }, "strip", z.ZodTypeAny, {
25396
+ name: string;
25397
+ id: string;
25398
+ slots?: Record<string, unknown> | undefined;
25399
+ }, {
25400
+ name: string;
25401
+ id: string;
25402
+ slots?: Record<string, unknown> | undefined;
25403
+ }>, "many">>;
25404
+ customizationNotes: z.ZodOptional<z.ZodString>;
25405
+ }, "strip", z.ZodTypeAny, {
25406
+ layoutId: string;
25407
+ mode: "custom" | "as-is" | "modify";
25408
+ regions: Record<string, {
25409
+ name: string;
25410
+ id: string;
25411
+ slots?: Record<string, unknown> | undefined;
25412
+ }[]>;
25413
+ customizationNotes?: string | undefined;
25414
+ }, {
25415
+ layoutId: string;
25416
+ mode: "custom" | "as-is" | "modify";
25417
+ regions: Record<string, {
25418
+ name: string;
25419
+ id: string;
25420
+ slots?: Record<string, unknown> | undefined;
25421
+ }[]>;
25422
+ customizationNotes?: string | undefined;
25423
+ }>>;
23606
25424
  }, "strip", z.ZodTypeAny, {
23607
25425
  metadata?: Record<string, unknown> | undefined;
23608
25426
  imageAsset?: {
23609
25427
  url?: string | undefined;
23610
25428
  originatingPrompt?: string | undefined;
23611
25429
  } | undefined;
25430
+ ui?: {
25431
+ layoutId: string;
25432
+ mode: "custom" | "as-is" | "modify";
25433
+ regions: Record<string, {
25434
+ name: string;
25435
+ id: string;
25436
+ slots?: Record<string, unknown> | undefined;
25437
+ }[]>;
25438
+ customizationNotes?: string | undefined;
25439
+ } | undefined;
23612
25440
  }, {
23613
25441
  metadata?: Record<string, unknown> | undefined;
23614
25442
  imageAsset?: {
23615
25443
  url?: string | undefined;
23616
25444
  originatingPrompt?: string | undefined;
23617
25445
  } | undefined;
25446
+ ui?: {
25447
+ layoutId: string;
25448
+ mode: "custom" | "as-is" | "modify";
25449
+ regions: Record<string, {
25450
+ name: string;
25451
+ id: string;
25452
+ slots?: Record<string, unknown> | undefined;
25453
+ }[]>;
25454
+ customizationNotes?: string | undefined;
25455
+ } | undefined;
23618
25456
  }>>;
23619
25457
  }, "strip", z.ZodTypeAny, {
23620
25458
  name: string;
@@ -23627,6 +25465,16 @@ export declare const modelSchema: z.ZodObject<{
23627
25465
  url?: string | undefined;
23628
25466
  originatingPrompt?: string | undefined;
23629
25467
  } | undefined;
25468
+ ui?: {
25469
+ layoutId: string;
25470
+ mode: "custom" | "as-is" | "modify";
25471
+ regions: Record<string, {
25472
+ name: string;
25473
+ id: string;
25474
+ slots?: Record<string, unknown> | undefined;
25475
+ }[]>;
25476
+ customizationNotes?: string | undefined;
25477
+ } | undefined;
23630
25478
  } | undefined;
23631
25479
  actors?: string[] | undefined;
23632
25480
  }, {
@@ -23640,6 +25488,16 @@ export declare const modelSchema: z.ZodObject<{
23640
25488
  url?: string | undefined;
23641
25489
  originatingPrompt?: string | undefined;
23642
25490
  } | undefined;
25491
+ ui?: {
25492
+ layoutId: string;
25493
+ mode: "custom" | "as-is" | "modify";
25494
+ regions: Record<string, {
25495
+ name: string;
25496
+ id: string;
25497
+ slots?: Record<string, unknown> | undefined;
25498
+ }[]>;
25499
+ customizationNotes?: string | undefined;
25500
+ } | undefined;
23643
25501
  } | undefined;
23644
25502
  actors?: string[] | undefined;
23645
25503
  }>, "many">>;
@@ -23655,18 +25513,113 @@ export declare const modelSchema: z.ZodObject<{
23655
25513
  originatingPrompt?: string | undefined;
23656
25514
  }>>;
23657
25515
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25516
+ ui: z.ZodOptional<z.ZodObject<{
25517
+ layoutId: z.ZodString;
25518
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
25519
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
25520
+ id: z.ZodString;
25521
+ name: z.ZodString;
25522
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25523
+ }, "strip", z.ZodTypeAny, {
25524
+ name: string;
25525
+ id: string;
25526
+ slots?: Record<string, unknown> | undefined;
25527
+ }, {
25528
+ name: string;
25529
+ id: string;
25530
+ slots?: Record<string, unknown> | undefined;
25531
+ }>, "many">>;
25532
+ customizationNotes: z.ZodOptional<z.ZodString>;
25533
+ }, "strip", z.ZodTypeAny, {
25534
+ layoutId: string;
25535
+ mode: "custom" | "as-is" | "modify";
25536
+ regions: Record<string, {
25537
+ name: string;
25538
+ id: string;
25539
+ slots?: Record<string, unknown> | undefined;
25540
+ }[]>;
25541
+ customizationNotes?: string | undefined;
25542
+ }, {
25543
+ layoutId: string;
25544
+ mode: "custom" | "as-is" | "modify";
25545
+ regions: Record<string, {
25546
+ name: string;
25547
+ id: string;
25548
+ slots?: Record<string, unknown> | undefined;
25549
+ }[]>;
25550
+ customizationNotes?: string | undefined;
25551
+ }>>;
25552
+ } & {
25553
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
25554
+ id: z.ZodString;
25555
+ name: z.ZodString;
25556
+ category: z.ZodString;
25557
+ description: z.ZodString;
25558
+ slots: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25559
+ template: z.ZodString;
25560
+ }, "strip", z.ZodTypeAny, {
25561
+ name: string;
25562
+ description: string;
25563
+ id: string;
25564
+ slots: Record<string, unknown>;
25565
+ category: string;
25566
+ template: string;
25567
+ }, {
25568
+ name: string;
25569
+ description: string;
25570
+ id: string;
25571
+ slots: Record<string, unknown>;
25572
+ category: string;
25573
+ template: string;
25574
+ }>, "many">>;
23658
25575
  }, "strip", z.ZodTypeAny, {
23659
25576
  metadata?: Record<string, unknown> | undefined;
23660
25577
  imageAsset?: {
23661
25578
  url?: string | undefined;
23662
25579
  originatingPrompt?: string | undefined;
23663
25580
  } | undefined;
25581
+ ui?: {
25582
+ layoutId: string;
25583
+ mode: "custom" | "as-is" | "modify";
25584
+ regions: Record<string, {
25585
+ name: string;
25586
+ id: string;
25587
+ slots?: Record<string, unknown> | undefined;
25588
+ }[]>;
25589
+ customizationNotes?: string | undefined;
25590
+ } | undefined;
25591
+ components?: {
25592
+ name: string;
25593
+ description: string;
25594
+ id: string;
25595
+ slots: Record<string, unknown>;
25596
+ category: string;
25597
+ template: string;
25598
+ }[] | undefined;
23664
25599
  }, {
23665
25600
  metadata?: Record<string, unknown> | undefined;
23666
25601
  imageAsset?: {
23667
25602
  url?: string | undefined;
23668
25603
  originatingPrompt?: string | undefined;
23669
25604
  } | undefined;
25605
+ ui?: {
25606
+ layoutId: string;
25607
+ mode: "custom" | "as-is" | "modify";
25608
+ regions: Record<string, {
25609
+ name: string;
25610
+ id: string;
25611
+ slots?: Record<string, unknown> | undefined;
25612
+ }[]>;
25613
+ customizationNotes?: string | undefined;
25614
+ } | undefined;
25615
+ components?: {
25616
+ name: string;
25617
+ description: string;
25618
+ id: string;
25619
+ slots: Record<string, unknown>;
25620
+ category: string;
25621
+ template: string;
25622
+ }[] | undefined;
23670
25623
  }>>;
23671
25624
  }, "strip", z.ZodTypeAny, {
23672
25625
  messages: ({
@@ -23874,6 +25827,16 @@ export declare const modelSchema: z.ZodObject<{
23874
25827
  url?: string | undefined;
23875
25828
  originatingPrompt?: string | undefined;
23876
25829
  } | undefined;
25830
+ ui?: {
25831
+ layoutId: string;
25832
+ mode: "custom" | "as-is" | "modify";
25833
+ regions: Record<string, {
25834
+ name: string;
25835
+ id: string;
25836
+ slots?: Record<string, unknown> | undefined;
25837
+ }[]>;
25838
+ customizationNotes?: string | undefined;
25839
+ } | undefined;
23877
25840
  } | undefined;
23878
25841
  request?: string | undefined;
23879
25842
  mappings?: {
@@ -23887,6 +25850,7 @@ export declare const modelSchema: z.ZodObject<{
23887
25850
  name: string;
23888
25851
  field: string;
23889
25852
  };
25853
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
23890
25854
  }[] | undefined;
23891
25855
  } | {
23892
25856
  type: "query";
@@ -24032,6 +25996,16 @@ export declare const modelSchema: z.ZodObject<{
24032
25996
  url?: string | undefined;
24033
25997
  originatingPrompt?: string | undefined;
24034
25998
  } | undefined;
25999
+ ui?: {
26000
+ layoutId: string;
26001
+ mode: "custom" | "as-is" | "modify";
26002
+ regions: Record<string, {
26003
+ name: string;
26004
+ id: string;
26005
+ slots?: Record<string, unknown> | undefined;
26006
+ }[]>;
26007
+ customizationNotes?: string | undefined;
26008
+ } | undefined;
24035
26009
  } | undefined;
24036
26010
  request?: string | undefined;
24037
26011
  mappings?: {
@@ -24045,6 +26019,7 @@ export declare const modelSchema: z.ZodObject<{
24045
26019
  name: string;
24046
26020
  field: string;
24047
26021
  };
26022
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
24048
26023
  }[] | undefined;
24049
26024
  } | {
24050
26025
  type: "react";
@@ -24187,6 +26162,16 @@ export declare const modelSchema: z.ZodObject<{
24187
26162
  url?: string | undefined;
24188
26163
  originatingPrompt?: string | undefined;
24189
26164
  } | undefined;
26165
+ ui?: {
26166
+ layoutId: string;
26167
+ mode: "custom" | "as-is" | "modify";
26168
+ regions: Record<string, {
26169
+ name: string;
26170
+ id: string;
26171
+ slots?: Record<string, unknown> | undefined;
26172
+ }[]>;
26173
+ customizationNotes?: string | undefined;
26174
+ } | undefined;
24190
26175
  } | undefined;
24191
26176
  } | {
24192
26177
  type: "experience";
@@ -24205,6 +26190,16 @@ export declare const modelSchema: z.ZodObject<{
24205
26190
  url?: string | undefined;
24206
26191
  originatingPrompt?: string | undefined;
24207
26192
  } | undefined;
26193
+ ui?: {
26194
+ layoutId: string;
26195
+ mode: "custom" | "as-is" | "modify";
26196
+ regions: Record<string, {
26197
+ name: string;
26198
+ id: string;
26199
+ slots?: Record<string, unknown> | undefined;
26200
+ }[]>;
26201
+ customizationNotes?: string | undefined;
26202
+ } | undefined;
24208
26203
  } | undefined;
24209
26204
  })[];
24210
26205
  sourceFile?: string | undefined;
@@ -24216,6 +26211,16 @@ export declare const modelSchema: z.ZodObject<{
24216
26211
  url?: string | undefined;
24217
26212
  originatingPrompt?: string | undefined;
24218
26213
  } | undefined;
26214
+ ui?: {
26215
+ layoutId: string;
26216
+ mode: "custom" | "as-is" | "modify";
26217
+ regions: Record<string, {
26218
+ name: string;
26219
+ id: string;
26220
+ slots?: Record<string, unknown> | undefined;
26221
+ }[]>;
26222
+ customizationNotes?: string | undefined;
26223
+ } | undefined;
24219
26224
  } | undefined;
24220
26225
  scene?: {
24221
26226
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -24247,6 +26252,24 @@ export declare const modelSchema: z.ZodObject<{
24247
26252
  url?: string | undefined;
24248
26253
  originatingPrompt?: string | undefined;
24249
26254
  } | undefined;
26255
+ ui?: {
26256
+ layoutId: string;
26257
+ mode: "custom" | "as-is" | "modify";
26258
+ regions: Record<string, {
26259
+ name: string;
26260
+ id: string;
26261
+ slots?: Record<string, unknown> | undefined;
26262
+ }[]>;
26263
+ customizationNotes?: string | undefined;
26264
+ } | undefined;
26265
+ components?: {
26266
+ name: string;
26267
+ description: string;
26268
+ id: string;
26269
+ slots: Record<string, unknown>;
26270
+ category: string;
26271
+ template: string;
26272
+ }[] | undefined;
24250
26273
  } | undefined;
24251
26274
  journeys?: {
24252
26275
  name: string;
@@ -24259,6 +26282,16 @@ export declare const modelSchema: z.ZodObject<{
24259
26282
  url?: string | undefined;
24260
26283
  originatingPrompt?: string | undefined;
24261
26284
  } | undefined;
26285
+ ui?: {
26286
+ layoutId: string;
26287
+ mode: "custom" | "as-is" | "modify";
26288
+ regions: Record<string, {
26289
+ name: string;
26290
+ id: string;
26291
+ slots?: Record<string, unknown> | undefined;
26292
+ }[]>;
26293
+ customizationNotes?: string | undefined;
26294
+ } | undefined;
24262
26295
  } | undefined;
24263
26296
  actors?: string[] | undefined;
24264
26297
  }[] | undefined;
@@ -24473,6 +26506,16 @@ export declare const modelSchema: z.ZodObject<{
24473
26506
  url?: string | undefined;
24474
26507
  originatingPrompt?: string | undefined;
24475
26508
  } | undefined;
26509
+ ui?: {
26510
+ layoutId: string;
26511
+ mode: "custom" | "as-is" | "modify";
26512
+ regions: Record<string, {
26513
+ name: string;
26514
+ id: string;
26515
+ slots?: Record<string, unknown> | undefined;
26516
+ }[]>;
26517
+ customizationNotes?: string | undefined;
26518
+ } | undefined;
24476
26519
  } | undefined;
24477
26520
  request?: string | undefined;
24478
26521
  mappings?: {
@@ -24486,6 +26529,7 @@ export declare const modelSchema: z.ZodObject<{
24486
26529
  name: string;
24487
26530
  field: string;
24488
26531
  };
26532
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
24489
26533
  }[] | undefined;
24490
26534
  } | {
24491
26535
  type: "query";
@@ -24631,6 +26675,16 @@ export declare const modelSchema: z.ZodObject<{
24631
26675
  url?: string | undefined;
24632
26676
  originatingPrompt?: string | undefined;
24633
26677
  } | undefined;
26678
+ ui?: {
26679
+ layoutId: string;
26680
+ mode: "custom" | "as-is" | "modify";
26681
+ regions: Record<string, {
26682
+ name: string;
26683
+ id: string;
26684
+ slots?: Record<string, unknown> | undefined;
26685
+ }[]>;
26686
+ customizationNotes?: string | undefined;
26687
+ } | undefined;
24634
26688
  } | undefined;
24635
26689
  request?: string | undefined;
24636
26690
  mappings?: {
@@ -24644,6 +26698,7 @@ export declare const modelSchema: z.ZodObject<{
24644
26698
  name: string;
24645
26699
  field: string;
24646
26700
  };
26701
+ operator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | undefined;
24647
26702
  }[] | undefined;
24648
26703
  } | {
24649
26704
  type: "react";
@@ -24786,6 +26841,16 @@ export declare const modelSchema: z.ZodObject<{
24786
26841
  url?: string | undefined;
24787
26842
  originatingPrompt?: string | undefined;
24788
26843
  } | undefined;
26844
+ ui?: {
26845
+ layoutId: string;
26846
+ mode: "custom" | "as-is" | "modify";
26847
+ regions: Record<string, {
26848
+ name: string;
26849
+ id: string;
26850
+ slots?: Record<string, unknown> | undefined;
26851
+ }[]>;
26852
+ customizationNotes?: string | undefined;
26853
+ } | undefined;
24789
26854
  } | undefined;
24790
26855
  } | {
24791
26856
  type: "experience";
@@ -24804,6 +26869,16 @@ export declare const modelSchema: z.ZodObject<{
24804
26869
  url?: string | undefined;
24805
26870
  originatingPrompt?: string | undefined;
24806
26871
  } | undefined;
26872
+ ui?: {
26873
+ layoutId: string;
26874
+ mode: "custom" | "as-is" | "modify";
26875
+ regions: Record<string, {
26876
+ name: string;
26877
+ id: string;
26878
+ slots?: Record<string, unknown> | undefined;
26879
+ }[]>;
26880
+ customizationNotes?: string | undefined;
26881
+ } | undefined;
24807
26882
  } | undefined;
24808
26883
  })[];
24809
26884
  sourceFile?: string | undefined;
@@ -24815,6 +26890,16 @@ export declare const modelSchema: z.ZodObject<{
24815
26890
  url?: string | undefined;
24816
26891
  originatingPrompt?: string | undefined;
24817
26892
  } | undefined;
26893
+ ui?: {
26894
+ layoutId: string;
26895
+ mode: "custom" | "as-is" | "modify";
26896
+ regions: Record<string, {
26897
+ name: string;
26898
+ id: string;
26899
+ slots?: Record<string, unknown> | undefined;
26900
+ }[]>;
26901
+ customizationNotes?: string | undefined;
26902
+ } | undefined;
24818
26903
  } | undefined;
24819
26904
  scene?: {
24820
26905
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -24846,6 +26931,24 @@ export declare const modelSchema: z.ZodObject<{
24846
26931
  url?: string | undefined;
24847
26932
  originatingPrompt?: string | undefined;
24848
26933
  } | undefined;
26934
+ ui?: {
26935
+ layoutId: string;
26936
+ mode: "custom" | "as-is" | "modify";
26937
+ regions: Record<string, {
26938
+ name: string;
26939
+ id: string;
26940
+ slots?: Record<string, unknown> | undefined;
26941
+ }[]>;
26942
+ customizationNotes?: string | undefined;
26943
+ } | undefined;
26944
+ components?: {
26945
+ name: string;
26946
+ description: string;
26947
+ id: string;
26948
+ slots: Record<string, unknown>;
26949
+ category: string;
26950
+ template: string;
26951
+ }[] | undefined;
24849
26952
  } | undefined;
24850
26953
  journeys?: {
24851
26954
  name: string;
@@ -24858,6 +26961,16 @@ export declare const modelSchema: z.ZodObject<{
24858
26961
  url?: string | undefined;
24859
26962
  originatingPrompt?: string | undefined;
24860
26963
  } | undefined;
26964
+ ui?: {
26965
+ layoutId: string;
26966
+ mode: "custom" | "as-is" | "modify";
26967
+ regions: Record<string, {
26968
+ name: string;
26969
+ id: string;
26970
+ slots?: Record<string, unknown> | undefined;
26971
+ }[]>;
26972
+ customizationNotes?: string | undefined;
26973
+ } | undefined;
24861
26974
  } | undefined;
24862
26975
  actors?: string[] | undefined;
24863
26976
  }[] | undefined;
@@ -24868,7 +26981,7 @@ export declare const modelSchema: z.ZodObject<{
24868
26981
  }[] | undefined;
24869
26982
  }>;
24870
26983
  export type { ClientSpecNode };
24871
- export { MessageFieldSchema, MessageSchema, CommandSchema, EventSchema, StateSchema, QuerySchema, IntegrationSchema, CommandSliceSchema, QuerySliceSchema, ReactSliceSchema, ExperienceSliceSchema, SliceSchema, NarrativeSchema, ExampleSchema, RuleSchema, SpecSchema, DataSinkSchema, DataSourceSchema, DataTargetSchema, StepSchema, StepErrorSchema, StepWithDocStringSchema, StepWithErrorSchema, };
26984
+ export { MessageFieldSchema, MessageSchema, CommandSchema, EventSchema, StateSchema, QuerySchema, IntegrationSchema, CommandSliceSchema, QuerySliceSchema, ReactSliceSchema, ExperienceSliceSchema, SliceSchema, NarrativeSchema, ExampleSchema, RuleSchema, SpecSchema, DataSinkSchema, DataSourceSchema, DataTargetSchema, StepSchema, StepErrorSchema, StepWithDocStringSchema, StepWithErrorSchema, RegionEntrySchema, UISchema, ComponentDefinitionSchema, };
24872
26985
  export type Model = z.infer<typeof modelSchema>;
24873
26986
  export type Narrative = z.infer<typeof NarrativeSchema>;
24874
26987
  export type Slice = z.infer<typeof SliceSchema>;
@@ -24893,4 +27006,7 @@ export type SceneRoute = z.infer<typeof SceneRouteSchema>;
24893
27006
  export type JourneyPlanning = z.infer<typeof JourneyPlanningSchema>;
24894
27007
  export type ImageAsset = z.infer<typeof ImageAssetSchema>;
24895
27008
  export type Design = z.infer<typeof DesignSchema>;
27009
+ export type RegionEntry = z.infer<typeof RegionEntrySchema>;
27010
+ export type UI = z.infer<typeof UISchema>;
27011
+ export type ComponentDefinition = z.infer<typeof ComponentDefinitionSchema>;
24896
27012
  //# sourceMappingURL=schema.d.ts.map