@marketrix.ai/widget 3.8.502 → 3.8.504

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.
@@ -128,23 +128,6 @@ export declare const widgetContract: {
128
128
  created_by: import("zod").ZodOptional<import("zod").ZodNumber>;
129
129
  }, import("zod/v4/core").$loose>>;
130
130
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
131
- applicationGet: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
132
- application_id: import("zod").ZodCoercedNumber<unknown>;
133
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
134
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
135
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
136
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
137
- slug: import("zod").ZodString;
138
- type: import("zod").ZodEnum<{
139
- app: "app";
140
- website: "website";
141
- }>;
142
- name: import("zod").ZodString;
143
- url: import("zod").ZodString;
144
- workspace_id: import("zod").ZodNumber;
145
- username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
146
- allowed_domains: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
147
- }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
148
131
  chatCreate: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodString, Record<never, never>, Record<never, never>>;
149
132
  widgetDefaultGet: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
150
133
  type: import("zod").ZodEnum<{
@@ -129,23 +129,6 @@ export declare const sdk: {
129
129
  created_by: import("zod").ZodOptional<import("zod").ZodNumber>;
130
130
  }, import("zod/v4/core").$loose>>;
131
131
  }, import("zod/v4/core").$strip>, Record<never, never>>;
132
- applicationGet: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
133
- application_id: import("zod").ZodCoercedNumber<unknown>;
134
- }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
135
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
136
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
137
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
138
- slug: import("zod").ZodString;
139
- type: import("zod").ZodEnum<{
140
- app: "app";
141
- website: "website";
142
- }>;
143
- name: import("zod").ZodString;
144
- url: import("zod").ZodString;
145
- workspace_id: import("zod").ZodNumber;
146
- username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
147
- allowed_domains: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
148
- }, import("zod/v4/core").$strip>, Record<never, never>>;
149
132
  chatCreate: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodString, Record<never, never>>;
150
133
  widgetDefaultGet: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
151
134
  type: import("zod").ZodEnum<{
@@ -13,7 +13,7 @@
13
13
  * the table honest — a field added api-side fails to compile here until guarded, one removed fails as an unknown
14
14
  * key — and `RENDER_CONSTANT_NAMES` mirrors api's `WIDGET_RENDER_CONSTANTS` by hand under the same check.
15
15
  *
16
- * `parseWidgetSettings` PICKS as well as validates: `widgetDefaultGet` returns the render constants too and the
16
+ * `parseWidgetSettings` PICKS as well as validates: a widget's settings arrive carrying the render constants and the
17
17
  * result is spread into the widget config, so unknown keys passing through would leak them where zod used to drop
18
18
  * them. Render constants stay guarded, since a legacy bundle's stored value must keep passing, but are dropped
19
19
  * from the picked result, since nothing renders them.