@superbright/indexeddb-orm 1.0.58 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/cms-schemas.generated.cjs +1 -1
- package/dist/api/cms-schemas.generated.cjs.map +1 -1
- package/dist/api/cms-schemas.generated.d.ts +236 -236
- package/dist/api/cms-schemas.generated.mjs +77 -77
- package/dist/api/cms-schemas.generated.mjs.map +1 -1
- package/dist/api/schemas.generated.d.ts +144 -144
- package/dist/base/floorplan.d.ts +2 -2
- package/dist/features/analytics/analytics.d.ts +76 -76
- package/dist/schema.d.ts +16 -16
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./embed-schemas.generated.cjs"),e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),r=e.object({IN_STOCK:e.string(),SOLD_OUT:e.string(),WAIT_LIST:e.string()}),i=e.object({USER:e.string(),ADMIN:e.string()}),o=e.object({FurnitureAvailability:r,UserRole:i}),g=e.object({data:o}),c=e.object({
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./embed-schemas.generated.cjs"),e=require("../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.cjs"),r=e.object({IN_STOCK:e.string(),SOLD_OUT:e.string(),WAIT_LIST:e.string()}),i=e.object({USER:e.string(),ADMIN:e.string()}),o=e.object({FurnitureAvailability:r,UserRole:i}),g=e.object({data:o}),c=e.object({total_records:e.number().int(),total_pages:e.number().int(),current_page:e.number().int(),per_page:e.number().int()}),s=e.object({id:e.number().int(),name:e.string(),description:e.string(),media_id:e.number().int()}),m=e.object({furniture_id:e.number().int(),style_id:e.number().int(),style:s}),y=e.object({media:t.MediaSchema}),l=e.object({id:e.number().int(),name:e.string(),category:e.string(),width:e.string(),depth:e.string(),height:e.string(),availability:e.string(),price:e.string(),currency:e.string(),brand_name:e.string(),store_name:e.string(),external_url:e.string(),inventory_id:e.number().int(),media:t.MediaSchema,styles:e.array(m),signed_url:e.string()}),_=e.object({data:e.array(l),page:c}),u=e.object({id:e.number().int(),name:e.string(),description:e.string(),media_id:e.number().int().nullable().optional(),thumbnail:t.MediaSchema.nullable().optional()}),p=e.object({data:e.array(u)}),n=e.object({id:e.number().int(),name:e.string()}),a=e.object({id:e.number().int(),first_name:e.string(),last_name:e.string()}),d=e.object({id:e.number().int(),name:e.string(),description:e.string(),customer_id:e.number().int().nullable().optional(),blender_version:e.string(),inresi_version:e.string(),properties:e.array(n),customer:a.nullable().optional()}),j=e.object({data:e.array(d)}),S=e.object({id:e.number().int(),name:e.string(),render_generated_image:e.array(t.MediaSchema),colorful_floor_plan_image:e.null().optional()}),b=e.object({id:e.number().int(),name:e.string(),description:e.string(),customer_id:e.number().int(),blender_version:e.string(),render_version:e.number().int(),inresi_version:e.string(),properties:e.array(n),customer:a,blender_file:t.MediaSchema,rooms:e.array(e.unknown()),styles:e.array(e.unknown()),rendered_styles:e.array(S)}),P=e.object({data:b}),h=e.object({id:e.number().int(),account_id:e.number().int(),name:e.string(),url:e.string(),secret:e.string(),is_active:e.boolean(),created_at:e.coerce.date(),updated_at:e.coerce.date()}),D=e.object({data:e.array(h)});exports.CustomerSchema=a;exports.EnumsDataSchema=o;exports.EnumsSchema=g;exports.FurnitureAvailabilitySchema=r;exports.IFloorPlanDetailDataSchema=b;exports.IFloorPlanDetailSchema=P;exports.IFloorPlanSchema=d;exports.IFloorPlansSchema=j;exports.MultiMediaItemSchema=y;exports.PaginationSchema=c;exports.ProductDataSchema=_;exports.ProductSchema=l;exports.PropertyRefSchema=n;exports.RenderedStyleSchema=S;exports.StyleDetailSchema=u;exports.StyleElementSchema=m;exports.StyleSchema=p;exports.StyleStyleSchema=s;exports.UserRoleSchema=i;exports.WebhooksDatumSchema=h;exports.WebhooksSchema=D;
|
|
2
2
|
//# sourceMappingURL=cms-schemas.generated.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cms-schemas.generated.cjs","sources":["../../src/api/cms-schemas.generated.ts"],"sourcesContent":["/**\n * This file was auto-generated from src/scripts/cms-schema-overrides.json.\n * Do not edit manually — run `node scripts/gen-schemas.mjs` to regenerate.\n *\n * CMS admin API response schemas — permanent, separate from the embed SDK.\n */\n\nimport { z } from 'zod';\nimport { MediaSchema } from './embed-schemas.generated';\n\nexport const FurnitureAvailabilitySchema = z.object({\n IN_STOCK: z.string(),\n SOLD_OUT: z.string(),\n WAIT_LIST: z.string(),\n});\nexport type FurnitureAvailability = z.infer<typeof FurnitureAvailabilitySchema>;\n\nexport const UserRoleSchema = z.object({\n USER: z.string(),\n ADMIN: z.string(),\n});\nexport type UserRole = z.infer<typeof UserRoleSchema>;\n\nexport const EnumsDataSchema = z.object({\n FurnitureAvailability: FurnitureAvailabilitySchema,\n UserRole: UserRoleSchema,\n});\nexport type EnumsData = z.infer<typeof EnumsDataSchema>;\n\nexport const EnumsSchema = z.object({\n data: EnumsDataSchema,\n});\nexport type Enums = z.infer<typeof EnumsSchema>;\n\nexport const PaginationSchema = z.object({\n
|
|
1
|
+
{"version":3,"file":"cms-schemas.generated.cjs","sources":["../../src/api/cms-schemas.generated.ts"],"sourcesContent":["/**\n * This file was auto-generated from src/scripts/cms-schema-overrides.json.\n * Do not edit manually — run `node scripts/gen-schemas.mjs` to regenerate.\n *\n * CMS admin API response schemas — permanent, separate from the embed SDK.\n */\n\nimport { z } from 'zod';\nimport { MediaSchema } from './embed-schemas.generated';\n\nexport const FurnitureAvailabilitySchema = z.object({\n IN_STOCK: z.string(),\n SOLD_OUT: z.string(),\n WAIT_LIST: z.string(),\n});\nexport type FurnitureAvailability = z.infer<typeof FurnitureAvailabilitySchema>;\n\nexport const UserRoleSchema = z.object({\n USER: z.string(),\n ADMIN: z.string(),\n});\nexport type UserRole = z.infer<typeof UserRoleSchema>;\n\nexport const EnumsDataSchema = z.object({\n FurnitureAvailability: FurnitureAvailabilitySchema,\n UserRole: UserRoleSchema,\n});\nexport type EnumsData = z.infer<typeof EnumsDataSchema>;\n\nexport const EnumsSchema = z.object({\n data: EnumsDataSchema,\n});\nexport type Enums = z.infer<typeof EnumsSchema>;\n\nexport const PaginationSchema = z.object({\n total_records: z.number().int(),\n total_pages: z.number().int(),\n current_page: z.number().int(),\n per_page: z.number().int(),\n});\nexport type Pagination = z.infer<typeof PaginationSchema>;\n\nexport const StyleStyleSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n description: z.string(),\n media_id: z.number().int(),\n});\nexport type StyleStyle = z.infer<typeof StyleStyleSchema>;\n\nexport const StyleElementSchema = z.object({\n furniture_id: z.number().int(),\n style_id: z.number().int(),\n style: StyleStyleSchema,\n});\nexport type StyleElement = z.infer<typeof StyleElementSchema>;\n\nexport const MultiMediaItemSchema = z.object({\n media: MediaSchema,\n});\nexport type MultiMediaItem = z.infer<typeof MultiMediaItemSchema>;\n\nexport const ProductSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n category: z.string(),\n width: z.string(),\n depth: z.string(),\n height: z.string(),\n availability: z.string(),\n price: z.string(),\n currency: z.string(),\n brand_name: z.string(),\n store_name: z.string(),\n external_url: z.string(),\n inventory_id: z.number().int(),\n media: MediaSchema,\n styles: z.array(StyleElementSchema),\n signed_url: z.string(),\n});\nexport type Product = z.infer<typeof ProductSchema>;\n\nexport const ProductDataSchema = z.object({\n data: z.array(ProductSchema),\n page: PaginationSchema,\n});\nexport type ProductData = z.infer<typeof ProductDataSchema>;\n\nexport const StyleDetailSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n description: z.string(),\n media_id: z.number().int().nullable().optional(),\n thumbnail: MediaSchema.nullable().optional(),\n});\nexport type StyleDetail = z.infer<typeof StyleDetailSchema>;\n\nexport const StyleSchema = z.object({\n data: z.array(StyleDetailSchema),\n});\nexport type Style = z.infer<typeof StyleSchema>;\n\nexport const PropertyRefSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n});\nexport type PropertyRef = z.infer<typeof PropertyRefSchema>;\n\nexport const CustomerSchema = z.object({\n id: z.number().int(),\n first_name: z.string(),\n last_name: z.string(),\n});\nexport type Customer = z.infer<typeof CustomerSchema>;\n\nexport const IFloorPlanSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n description: z.string(),\n customer_id: z.number().int().nullable().optional(),\n blender_version: z.string(),\n inresi_version: z.string(),\n properties: z.array(PropertyRefSchema),\n customer: CustomerSchema.nullable().optional(),\n});\nexport type IFloorPlan = z.infer<typeof IFloorPlanSchema>;\n\nexport const IFloorPlansSchema = z.object({\n data: z.array(IFloorPlanSchema),\n});\nexport type IFloorPlans = z.infer<typeof IFloorPlansSchema>;\n\nexport const RenderedStyleSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n render_generated_image: z.array(MediaSchema),\n colorful_floor_plan_image: z.null().optional(),\n});\nexport type RenderedStyle = z.infer<typeof RenderedStyleSchema>;\n\nexport const IFloorPlanDetailDataSchema = z.object({\n id: z.number().int(),\n name: z.string(),\n description: z.string(),\n customer_id: z.number().int(),\n blender_version: z.string(),\n render_version: z.number().int(),\n inresi_version: z.string(),\n properties: z.array(PropertyRefSchema),\n customer: CustomerSchema,\n blender_file: MediaSchema,\n rooms: z.array(z.unknown()),\n styles: z.array(z.unknown()),\n rendered_styles: z.array(RenderedStyleSchema),\n});\nexport type IFloorPlanDetailData = z.infer<typeof IFloorPlanDetailDataSchema>;\n\nexport const IFloorPlanDetailSchema = z.object({\n data: IFloorPlanDetailDataSchema,\n});\nexport type IFloorPlanDetail = z.infer<typeof IFloorPlanDetailSchema>;\n\nexport const WebhooksDatumSchema = z.object({\n id: z.number().int(),\n account_id: z.number().int(),\n name: z.string(),\n url: z.string(),\n secret: z.string(),\n is_active: z.boolean(),\n created_at: z.coerce.date(),\n updated_at: z.coerce.date(),\n});\nexport type WebhooksDatum = z.infer<typeof WebhooksDatumSchema>;\n\nexport const WebhooksSchema = z.object({\n data: z.array(WebhooksDatumSchema),\n});\nexport type Webhooks = z.infer<typeof WebhooksSchema>;\n"],"names":["FurnitureAvailabilitySchema","z.object","z.string","UserRoleSchema","EnumsDataSchema","EnumsSchema","PaginationSchema","z.number","StyleStyleSchema","StyleElementSchema","MultiMediaItemSchema","MediaSchema","ProductSchema","z.array","ProductDataSchema","StyleDetailSchema","StyleSchema","PropertyRefSchema","CustomerSchema","IFloorPlanSchema","IFloorPlansSchema","RenderedStyleSchema","z.null","IFloorPlanDetailDataSchema","z.unknown","IFloorPlanDetailSchema","WebhooksDatumSchema","z.boolean","z.coerce","WebhooksSchema"],"mappings":"8MAUaA,EAA8BC,EAAAA,OAAS,CAClD,SAAUC,EAAAA,OAAE,EACZ,SAAUA,EAAAA,OAAE,EACZ,UAAWA,EAAAA,OAAE,CACf,CAAC,EAGYC,EAAiBF,EAAAA,OAAS,CACrC,KAAMC,EAAAA,OAAE,EACR,MAAOA,EAAAA,OAAE,CACX,CAAC,EAGYE,EAAkBH,EAAAA,OAAS,CACtC,sBAAuBD,EACvB,SAAUG,CACZ,CAAC,EAGYE,EAAcJ,EAAAA,OAAS,CAClC,KAAMG,CACR,CAAC,EAGYE,EAAmBL,EAAAA,OAAS,CACvC,cAAeM,EAAAA,OAAE,EAAS,IAAA,EAC1B,YAAaA,EAAAA,OAAE,EAAS,IAAA,EACxB,aAAcA,EAAAA,OAAE,EAAS,IAAA,EACzB,SAAUA,EAAAA,OAAE,EAAS,IAAA,CACvB,CAAC,EAGYC,EAAmBP,EAAAA,OAAS,CACvC,GAAIM,EAAAA,OAAE,EAAS,IAAA,EACf,KAAML,EAAAA,OAAE,EACR,YAAaA,EAAAA,OAAE,EACf,SAAUK,EAAAA,OAAE,EAAS,IAAA,CACvB,CAAC,EAGYE,EAAqBR,EAAAA,OAAS,CACzC,aAAcM,EAAAA,OAAE,EAAS,IAAA,EACzB,SAAUA,EAAAA,OAAE,EAAS,IAAA,EACrB,MAAOC,CACT,CAAC,EAGYE,EAAuBT,EAAAA,OAAS,C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