@replohq/canopy-sdk 2.6.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_vendor/replo-utils/lib/fonts.mjs +1 -0
- package/_vendor/replo-utils/lib/geometry.mjs +2 -0
- package/_vendor/replo-utils/lib/json.mjs +1 -0
- package/_vendor/replo-utils/lib/misc.mjs +1 -0
- package/_vendor/replo-utils/lib/posthogReplay.mjs +2 -0
- package/_vendor/replo-utils/lib/url.mjs +1 -0
- package/_vendor/replo-utils/react/use-iframe-rpc-channel.mjs +1 -1
- package/_vendor/schemas/designLibrary.mjs +1 -1
- package/_vendor/schemas/generated/consent.d.ts +2 -0
- package/_vendor/schemas/generated/selectModeIframeRpc.d.ts +8 -0
- package/_vendor/schemas/iframeRpcChannel.mjs +2 -1
- package/_vendor/schemas/loaderKeys.d.ts +1 -1
- package/_vendor/schemas/loaderKeys.mjs +103 -23
- package/_vendor/schemas/money.mjs +1860 -3
- package/_vendor/schemas/pageAnnotations.mjs +1 -1
- package/_vendor/schemas/routing/match.mjs +1 -0
- package/_vendor/schemas/routing/rules.mjs +2 -1
- package/_vendor/schemas/selectMode.d.ts +4 -4
- package/_vendor/schemas/selectMode.mjs +1 -0
- package/_vendor/schemas/selectModeIframeRpc.d.ts +25 -5
- package/_vendor/schemas/selectModeIframeRpc.mjs +12 -3
- package/analytics/analytics-provider.d.ts +5 -10
- package/analytics/analytics-provider.js +14 -101
- package/analytics/analytics-provider.js.map +2 -2
- package/analytics/get-analytics-sinks.d.ts +2 -19
- package/analytics/get-analytics-sinks.js +9 -46
- package/analytics/get-analytics-sinks.js.map +2 -2
- package/analytics/hooks/use-product-viewed-analytics.d.ts +2 -6
- package/analytics/hooks/use-product-viewed-analytics.js +6 -28
- package/analytics/hooks/use-product-viewed-analytics.js.map +2 -2
- package/analytics/replo-first-party-pixel.d.ts +3 -12
- package/analytics/replo-first-party-pixel.js +8 -24
- package/analytics/replo-first-party-pixel.js.map +2 -2
- package/analytics/replo-pixel-script.d.ts +4 -10
- package/analytics/replo-pixel-script.js +9 -23
- package/analytics/replo-pixel-script.js.map +2 -2
- package/analytics/sinks/ga4-sink.d.ts +10 -9
- package/analytics/sinks/ga4-sink.js +99 -50
- package/analytics/sinks/ga4-sink.js.map +2 -2
- package/analytics/sinks/meta-sink.d.ts +5 -4
- package/analytics/sinks/meta-sink.js +82 -29
- package/analytics/sinks/meta-sink.js.map +2 -2
- package/analytics/sinks/pinterest-sink.d.ts +7 -6
- package/analytics/sinks/pinterest-sink.js +82 -49
- package/analytics/sinks/pinterest-sink.js.map +2 -2
- package/analytics/sinks/reddit-sink.d.ts +8 -7
- package/analytics/sinks/reddit-sink.js +82 -53
- package/analytics/sinks/reddit-sink.js.map +2 -2
- package/analytics/sinks/replo-sink.d.ts +9 -8
- package/analytics/sinks/replo-sink.js +89 -37
- package/analytics/sinks/replo-sink.js.map +2 -2
- package/analytics/sinks/snapchat-sink.d.ts +6 -5
- package/analytics/sinks/snapchat-sink.js +82 -40
- package/analytics/sinks/snapchat-sink.js.map +2 -2
- package/analytics/sinks/tiktok-sink.d.ts +8 -7
- package/analytics/sinks/tiktok-sink.js +82 -52
- package/analytics/sinks/tiktok-sink.js.map +2 -2
- package/analytics/sinks/window-sink.d.ts +11 -14
- package/analytics/sinks/window-sink.js +101 -28
- package/analytics/sinks/window-sink.js.map +2 -2
- package/analytics/utils/analytics-utils.d.ts +4 -2
- package/analytics/utils/analytics-utils.js +19 -123
- package/analytics/utils/analytics-utils.js.map +2 -2
- package/analytics/utils/navigation-tracker.d.ts +2 -1
- package/analytics/utils/navigation-tracker.js +37 -30
- package/analytics/utils/navigation-tracker.js.map +2 -2
- package/analytics/utils/shopify-funnel-gate.d.ts +2 -7
- package/analytics/utils/shopify-funnel-gate.js +8 -15
- package/analytics/utils/shopify-funnel-gate.js.map +2 -2
- package/cart/buy-now-action.d.ts +2 -9
- package/cart/buy-now-action.js +5 -97
- package/cart/buy-now-action.js.map +2 -2
- package/cart/cart-actions.d.ts +12 -56
- package/cart/cart-actions.js +88 -68
- package/cart/cart-actions.js.map +2 -2
- package/cart/cart-loader.d.ts +3 -9
- package/cart/cart-loader.js +14 -6
- package/cart/cart-loader.js.map +2 -2
- package/cart/cart-provider.d.ts +6 -58
- package/cart/cart-provider.js +13 -359
- package/cart/cart-provider.js.map +3 -3
- package/cart/cart-schema.d.ts +2 -1
- package/cart/cart-schema.js +12 -64
- package/cart/cart-schema.js.map +2 -2
- package/cart/cart-types.d.ts +1 -1
- package/cart/cart-types.js +5 -4
- package/cart/cart-types.js.map +2 -2
- package/cart/gateways/cart-constants.d.ts +1 -0
- package/cart/gateways/cart-constants.js.map +2 -2
- package/cart/gateways/cart-gateway.d.ts +1 -0
- package/cart/gateways/cart-gateway.js +13 -12
- package/cart/gateways/cart-gateway.js.map +2 -2
- package/cart/gateways/cookie-cart-gateway.d.ts +8 -11
- package/cart/gateways/cookie-cart-gateway.js +93 -97
- package/cart/gateways/cookie-cart-gateway.js.map +2 -2
- package/cart/gateways/default-cart-gateway.d.ts +10 -16
- package/cart/gateways/default-cart-gateway.js +13 -23
- package/cart/gateways/default-cart-gateway.js.map +2 -2
- package/cart/gateways/resolver-cart-gateway.d.ts +1 -0
- package/cart/gateways/resolver-cart-gateway.js +13 -102
- package/cart/gateways/resolver-cart-gateway.js.map +2 -2
- package/cart/gateways/stripe-cart-gateway.d.ts +10 -16
- package/cart/gateways/stripe-cart-gateway.js +13 -21
- package/cart/gateways/stripe-cart-gateway.js.map +2 -2
- package/cart/hooks/use-add-to-cart.d.ts +3 -47
- package/cart/hooks/use-add-to-cart.js +10 -115
- package/cart/hooks/use-add-to-cart.js.map +2 -2
- package/cart/hooks/use-buy-now.d.ts +1 -39
- package/cart/hooks/use-buy-now.js +5 -55
- package/cart/hooks/use-buy-now.js.map +2 -2
- package/cart/utils/cart-utils.d.ts +8 -35
- package/cart/utils/cart-utils.js +21 -35
- package/cart/utils/cart-utils.js.map +2 -2
- package/cart/utils/cookie-cart-persistence.d.ts +16 -41
- package/cart/utils/cookie-cart-persistence.js +38 -143
- package/cart/utils/cookie-cart-persistence.js.map +2 -2
- package/cart/utils/variant-to-cart-line.d.ts +12 -42
- package/cart/utils/variant-to-cart-line.js +31 -147
- package/cart/utils/variant-to-cart-line.js.map +2 -2
- package/chunk-UJCSKKID.mjs +27 -0
- package/{chunk-OFU2QEDR.mjs → chunk-ZZPQ3E7S.mjs} +50 -5
- package/consent/consent-action.d.ts +2 -1
- package/consent/consent-action.js +10 -20
- package/consent/consent-action.js.map +2 -2
- package/consent/consent-actions.d.ts +2 -13
- package/consent/consent-actions.js +9 -29
- package/consent/consent-actions.js.map +2 -2
- package/consent/consent-store.d.ts +9 -36
- package/consent/consent-store.js +12 -182
- package/consent/consent-store.js.map +2 -2
- package/consent/cookie.d.ts +9 -12
- package/consent/cookie.js +32 -64
- package/consent/cookie.js.map +2 -2
- package/consent/replo-scripts.d.ts +5 -18
- package/consent/replo-scripts.js +11 -94
- package/consent/replo-scripts.js.map +2 -2
- package/consent/script-registration-store.d.ts +6 -2
- package/consent/script-registration-store.js +33 -47
- package/consent/script-registration-store.js.map +2 -2
- package/consent/script-snippets.d.ts +4 -18
- package/consent/script-snippets.js +19 -127
- package/consent/script-snippets.js.map +2 -2
- package/consent/window-api.d.ts +4 -15
- package/consent/window-api.js +8 -63
- package/consent/window-api.js.map +2 -2
- package/editor/ClientErrorBoundary.d.ts +4 -10
- package/editor/ClientErrorBoundary.js +7 -55
- package/editor/ClientErrorBoundary.js.map +2 -2
- package/editor/DocumentReadyBeacon.d.ts +3 -1
- package/editor/DocumentReadyBeacon.js +6 -3
- package/editor/DocumentReadyBeacon.js.map +2 -2
- package/editor/LinkInterceptor.d.ts +1 -0
- package/editor/LinkInterceptor.js +6 -121
- package/editor/LinkInterceptor.js.map +2 -2
- package/editor/NextErrorReporter.d.ts +1 -0
- package/editor/NextErrorReporter.js +6 -85
- package/editor/NextErrorReporter.js.map +2 -2
- package/editor/annotations/AnnotationLayerMount.d.ts +1 -0
- package/editor/annotations/AnnotationLayerMount.js +6 -6
- package/editor/annotations/AnnotationLayerMount.js.map +2 -2
- package/editor/annotations/annotationController.d.ts +1 -0
- package/editor/annotations/annotationController.js +6 -378
- package/editor/annotations/annotationController.js.map +2 -2
- package/editor/annotations/bridgeGate.d.ts +4 -7
- package/editor/annotations/bridgeGate.js +13 -15
- package/editor/annotations/bridgeGate.js.map +2 -2
- package/editor/design-library-preview/DesignLibraryPreview.d.ts +1 -0
- package/editor/design-library-preview/DesignLibraryPreview.js +6 -86
- package/editor/design-library-preview/DesignLibraryPreview.js.map +2 -2
- package/editor/posthog-relay.d.ts +1 -10
- package/editor/posthog-relay.js +6 -65
- package/editor/posthog-relay.js.map +2 -2
- package/editor/select-mode/EditorSelection.d.ts +1 -23
- package/editor/select-mode/EditorSelection.js +5 -87
- package/editor/select-mode/EditorSelection.js.map +2 -2
- package/editor/select-mode/annotationFrames.d.ts +9 -9
- package/editor/select-mode/annotationFrames.js +22 -103
- package/editor/select-mode/annotationFrames.js.map +2 -2
- package/editor/select-mode/descriptor/elementDescriptor.d.ts +6 -21
- package/editor/select-mode/descriptor/elementDescriptor.js +19 -192
- package/editor/select-mode/descriptor/elementDescriptor.js.map +3 -3
- package/editor/select-mode/descriptor/styleExtraction.d.ts +4 -2
- package/editor/select-mode/descriptor/styleExtraction.js +11 -262
- package/editor/select-mode/descriptor/styleExtraction.js.map +2 -2
- package/editor/select-mode/displayModeStore.d.ts +2 -0
- package/editor/select-mode/displayModeStore.js +14 -39
- package/editor/select-mode/displayModeStore.js.map +2 -2
- package/editor/select-mode/fast-refresh-relay.d.ts +2 -1
- package/editor/select-mode/fast-refresh-relay.js +7 -28
- package/editor/select-mode/fast-refresh-relay.js.map +2 -2
- package/editor/select-mode/fiber.d.ts +14 -7
- package/editor/select-mode/fiber.js +40 -286
- package/editor/select-mode/fiber.js.map +2 -2
- package/editor/select-mode/hooks/useCrosshairCursor.d.ts +2 -9
- package/editor/select-mode/hooks/useCrosshairCursor.js +7 -15
- package/editor/select-mode/hooks/useCrosshairCursor.js.map +2 -2
- package/editor/select-mode/hooks/useEditModeStateMachine.d.ts +5 -3
- package/editor/select-mode/hooks/useEditModeStateMachine.js +13 -228
- package/editor/select-mode/hooks/useEditModeStateMachine.js.map +2 -2
- package/editor/select-mode/hooks/useOptimisticOverrides.d.ts +2 -1
- package/editor/select-mode/hooks/useOptimisticOverrides.js +6 -277
- package/editor/select-mode/hooks/useOptimisticOverrides.js.map +2 -2
- package/editor/select-mode/hooks/useParentMessaging.d.ts +2 -20
- package/editor/select-mode/hooks/useParentMessaging.js +7 -69
- package/editor/select-mode/hooks/useParentMessaging.js.map +2 -2
- package/editor/select-mode/hooks/useSelectModeController.d.ts +2 -1
- package/editor/select-mode/hooks/useSelectModeController.js +6 -40
- package/editor/select-mode/hooks/useSelectModeController.js.map +2 -2
- package/editor/select-mode/hooks/useSelectionHover.d.ts +2 -16
- package/editor/select-mode/hooks/useSelectionHover.js +7 -105
- package/editor/select-mode/hooks/useSelectionHover.js.map +2 -2
- package/editor/select-mode/hooks/useSelectionInteractions.d.ts +2 -26
- package/editor/select-mode/hooks/useSelectionInteractions.js +7 -348
- package/editor/select-mode/hooks/useSelectionInteractions.js.map +2 -2
- package/editor/select-mode/hooks/useSelectionScrollSync.d.ts +2 -22
- package/editor/select-mode/hooks/useSelectionScrollSync.js +7 -65
- package/editor/select-mode/hooks/useSelectionScrollSync.js.map +2 -2
- package/editor/select-mode/hooks/useSiblingResolution.d.ts +4 -2
- package/editor/select-mode/hooks/useSiblingResolution.js +13 -52
- package/editor/select-mode/hooks/useSiblingResolution.js.map +2 -2
- package/editor/select-mode/iframeRpcChannel.d.ts +10 -349
- package/editor/select-mode/iframeRpcChannel.js +23 -79
- package/editor/select-mode/iframeRpcChannel.js.map +2 -2
- package/editor/select-mode/inlineTextMarks.d.ts +4 -6
- package/editor/select-mode/inlineTextMarks.js +13 -18
- package/editor/select-mode/inlineTextMarks.js.map +2 -2
- package/editor/select-mode/interactions/selectionGeometry.d.ts +19 -61
- package/editor/select-mode/interactions/selectionGeometry.js +57 -165
- package/editor/select-mode/interactions/selectionGeometry.js.map +2 -2
- package/editor/select-mode/selectModeSession.d.ts +1 -0
- package/editor/select-mode/selectModeSession.js +6 -3
- package/editor/select-mode/selectModeSession.js.map +2 -2
- package/editor/select-mode/selectionFrame.d.ts +9 -60
- package/editor/select-mode/selectionFrame.js +28 -116
- package/editor/select-mode/selectionFrame.js.map +2 -2
- package/editor/select-mode/symbolicate.d.ts +2 -1
- package/editor/select-mode/symbolicate.js +7 -195
- package/editor/select-mode/symbolicate.js.map +2 -2
- package/editor/select-mode/tiptapInlineEditor.d.ts +15 -2
- package/editor/select-mode/tiptapInlineEditor.js +6 -114
- package/editor/select-mode/tiptapInlineEditor.js.map +2 -2
- package/env.d.ts +2 -1
- package/env.js +10 -37
- package/env.js.map +2 -2
- package/gateways/canopy-api.d.ts +15 -12
- package/gateways/canopy-api.js +122 -160
- package/gateways/canopy-api.js.map +2 -2
- package/hooks/use-client-value.d.ts +2 -10
- package/hooks/use-client-value.js +10 -7
- package/hooks/use-client-value.js.map +2 -2
- package/hooks/use-formatted-price.d.ts +1 -14
- package/hooks/use-formatted-price.js +6 -14
- package/hooks/use-formatted-price.js.map +2 -2
- package/lib/canopy-error.d.ts +2 -5
- package/lib/canopy-error.js +10 -14
- package/lib/canopy-error.js.map +2 -2
- package/lib/get-query-client.d.ts +2 -1
- package/lib/get-query-client.js +8 -27
- package/lib/get-query-client.js.map +2 -2
- package/lib/integration-utils.d.ts +1 -0
- package/lib/integration-utils.js +9 -3
- package/lib/integration-utils.js.map +2 -2
- package/lib/shopify-utils.d.ts +2 -10
- package/lib/shopify-utils.js +10 -2
- package/lib/shopify-utils.js.map +2 -2
- package/lib/tombstone.d.ts +21 -0
- package/lib/tombstone.js +99 -0
- package/lib/tombstone.js.map +7 -0
- package/lib/url-utils.d.ts +2 -4
- package/lib/url-utils.js +10 -3
- package/lib/url-utils.js.map +2 -2
- package/loaders/collection-loader.d.ts +3 -2
- package/loaders/collection-loader.js +5 -48
- package/loaders/collection-loader.js.map +2 -2
- package/loaders/collection-products-loader.d.ts +3 -2
- package/loaders/collection-products-loader.js +5 -51
- package/loaders/collection-products-loader.js.map +2 -2
- package/loaders/contentful-entries-loader.d.ts +3 -2
- package/loaders/contentful-entries-loader.js +5 -71
- package/loaders/contentful-entries-loader.js.map +2 -2
- package/loaders/contentful-entry-loader.d.ts +3 -2
- package/loaders/contentful-entry-loader.js +5 -53
- package/loaders/contentful-entry-loader.js.map +2 -2
- package/loaders/invoke-loader-action.d.ts +2 -8
- package/loaders/invoke-loader-action.js +13 -8
- package/loaders/invoke-loader-action.js.map +2 -2
- package/loaders/invoke-loader-server.d.ts +2 -14
- package/loaders/invoke-loader-server.js +12 -34
- package/loaders/invoke-loader-server.js.map +2 -2
- package/loaders/invoke-loader.d.ts +6 -12
- package/loaders/invoke-loader.js +27 -29
- package/loaders/invoke-loader.js.map +2 -2
- package/loaders/levanta-product-loader.d.ts +3 -2
- package/loaders/levanta-product-loader.js +5 -46
- package/loaders/levanta-product-loader.js.map +2 -2
- package/loaders/loader-error-boundary.d.ts +9 -15
- package/loaders/loader-error-boundary.js +50 -13
- package/loaders/loader-error-boundary.js.map +2 -2
- package/loaders/loader-keys.d.ts +4 -12
- package/loaders/loader-keys.js +6 -1
- package/loaders/loader-keys.js.map +2 -2
- package/loaders/loader-schemas.d.ts +142 -61
- package/loaders/loader-schemas.js +253 -90
- package/loaders/loader-schemas.js.map +2 -2
- package/loaders/metaobject-loader.d.ts +3 -2
- package/loaders/metaobject-loader.js +5 -47
- package/loaders/metaobject-loader.js.map +2 -2
- package/loaders/metaobjects-loader.d.ts +3 -2
- package/loaders/metaobjects-loader.js +5 -53
- package/loaders/metaobjects-loader.js.map +2 -2
- package/loaders/okendo-review-aggregate-loader.d.ts +9 -10
- package/loaders/okendo-review-aggregate-loader.js +5 -49
- package/loaders/okendo-review-aggregate-loader.js.map +2 -2
- package/loaders/okendo-reviews-loader.d.ts +8 -16
- package/loaders/okendo-reviews-loader.js +5 -47
- package/loaders/okendo-reviews-loader.js.map +2 -2
- package/loaders/prefetch-loaders.d.ts +4 -26
- package/loaders/prefetch-loaders.js +5 -40
- package/loaders/prefetch-loaders.js.map +2 -2
- package/loaders/preview-placeholder.d.ts +8 -22
- package/loaders/preview-placeholder.js +47 -209
- package/loaders/preview-placeholder.js.map +2 -2
- package/loaders/product-loader-args.d.ts +2 -11
- package/loaders/product-loader-args.js +6 -12
- package/loaders/product-loader-args.js.map +2 -2
- package/loaders/product-loader.d.ts +3 -2
- package/loaders/product-loader.js +5 -45
- package/loaders/product-loader.js.map +2 -2
- package/loaders/rebuy-recommendations-loader.d.ts +8 -157
- package/loaders/rebuy-recommendations-loader.js +5 -50
- package/loaders/rebuy-recommendations-loader.js.map +2 -2
- package/loaders/reviews-io-review-aggregate-loader.d.ts +5 -4
- package/loaders/reviews-io-review-aggregate-loader.js +5 -36
- package/loaders/reviews-io-review-aggregate-loader.js.map +2 -2
- package/loaders/reviews-io-reviews-loader.d.ts +5 -4
- package/loaders/reviews-io-reviews-loader.js +5 -58
- package/loaders/reviews-io-reviews-loader.js.map +2 -2
- package/loaders/smile-earning-rules-loader.d.ts +10 -11
- package/loaders/smile-earning-rules-loader.js +5 -37
- package/loaders/smile-earning-rules-loader.js.map +2 -2
- package/loaders/smile-rewards-loader.d.ts +10 -11
- package/loaders/smile-rewards-loader.js +5 -37
- package/loaders/smile-rewards-loader.js.map +2 -2
- package/loaders/smile-vip-tiers-loader.d.ts +9 -10
- package/loaders/smile-vip-tiers-loader.js +5 -36
- package/loaders/smile-vip-tiers-loader.js.map +2 -2
- package/loaders/statsig-experiment-loader.d.ts +3 -8
- package/loaders/statsig-experiment-loader.js +5 -74
- package/loaders/statsig-experiment-loader.js.map +2 -2
- package/loaders/vendor-loader-keys.d.ts +4 -0
- package/loaders/vendor-loader-keys.js +9 -0
- package/loaders/vendor-loader-keys.js.map +7 -0
- package/loaders/yotpo-review-aggregate-loader.d.ts +5 -4
- package/loaders/yotpo-review-aggregate-loader.js +5 -43
- package/loaders/yotpo-review-aggregate-loader.js.map +2 -2
- package/loaders/yotpo-reviews-loader.d.ts +5 -4
- package/loaders/yotpo-reviews-loader.js +5 -58
- package/loaders/yotpo-reviews-loader.js.map +2 -2
- package/money.d.ts +9 -9
- package/money.js +25 -6
- package/money.js.map +2 -2
- package/next/config.d.ts +3 -1
- package/next/config.js +11 -85
- package/next/config.js.map +2 -2
- package/next/image-loader.d.ts +2 -1
- package/next/image-loader.js +7 -47
- package/next/image-loader.js.map +2 -2
- package/next/open-next.d.ts +4 -2
- package/next/open-next.js +6 -19
- package/next/open-next.js.map +2 -2
- package/orders/order-status-schema.d.ts +28 -13
- package/orders/order-status-schema.js +45 -13
- package/orders/order-status-schema.js.map +2 -2
- package/orders/order-status.d.ts +2 -8
- package/orders/order-status.js +6 -36
- package/orders/order-status.js.map +2 -2
- package/package.json +1 -12
- package/providers/query-provider.d.ts +3 -1
- package/providers/query-provider.js +10 -6
- package/providers/query-provider.js.map +2 -2
- package/providers/replo-provider.d.ts +3 -1
- package/providers/replo-provider.js +6 -37
- package/providers/replo-provider.js.map +2 -2
- package/routing/evaluate.d.ts +3 -3
- package/routing/evaluate.js +5 -40
- package/routing/evaluate.js.map +2 -2
- package/routing/rules.d.ts +3 -11
- package/routing/rules.js +7 -1
- package/routing/rules.js.map +2 -2
|
@@ -1,97 +1,98 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
|
|
2
|
+
import { canopyTombstoneObject } from "../lib/tombstone";
|
|
3
|
+
const imageSchemaDefinition = z.object({
|
|
3
4
|
url: z.string(),
|
|
4
5
|
altText: z.string().nullable(),
|
|
5
6
|
width: z.number().nullable(),
|
|
6
7
|
height: z.number().nullable()
|
|
7
8
|
});
|
|
8
|
-
const
|
|
9
|
+
const mediaImageSchemaDefinition = z.object({
|
|
9
10
|
type: z.literal("image"),
|
|
10
11
|
alt: z.string().nullable(),
|
|
11
12
|
url: z.string(),
|
|
12
13
|
width: z.number().nullable(),
|
|
13
14
|
height: z.number().nullable()
|
|
14
15
|
});
|
|
15
|
-
const
|
|
16
|
+
const videoSourceSchemaDefinition = z.object({
|
|
16
17
|
url: z.string(),
|
|
17
18
|
mimeType: z.string(),
|
|
18
19
|
format: z.string(),
|
|
19
20
|
width: z.number().nullable(),
|
|
20
21
|
height: z.number().nullable()
|
|
21
22
|
});
|
|
22
|
-
const
|
|
23
|
+
const previewImageSchemaDefinition = z.object({
|
|
23
24
|
alt: z.string().nullable(),
|
|
24
25
|
url: z.string(),
|
|
25
26
|
width: z.number().nullable(),
|
|
26
27
|
height: z.number().nullable()
|
|
27
28
|
});
|
|
28
|
-
const
|
|
29
|
+
const videoSchemaDefinition = z.object({
|
|
29
30
|
type: z.literal("video"),
|
|
30
31
|
alt: z.string().nullable(),
|
|
31
|
-
sources: z.array(
|
|
32
|
-
previewImage:
|
|
32
|
+
sources: z.array(videoSourceSchemaDefinition),
|
|
33
|
+
previewImage: previewImageSchemaDefinition.nullable()
|
|
33
34
|
});
|
|
34
|
-
const
|
|
35
|
+
const externalVideoSchemaDefinition = z.object({
|
|
35
36
|
type: z.literal("externalVideo"),
|
|
36
37
|
alt: z.string().nullable(),
|
|
37
38
|
embedUrl: z.string(),
|
|
38
39
|
host: z.string(),
|
|
39
40
|
originUrl: z.string(),
|
|
40
|
-
previewImage:
|
|
41
|
+
previewImage: previewImageSchemaDefinition.nullable()
|
|
41
42
|
});
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
const mediaSchemaDefinition = z.discriminatedUnion("type", [
|
|
44
|
+
mediaImageSchemaDefinition,
|
|
45
|
+
videoSchemaDefinition,
|
|
46
|
+
externalVideoSchemaDefinition
|
|
46
47
|
]);
|
|
47
|
-
const
|
|
48
|
+
const priceSchemaDefinition = z.object({
|
|
48
49
|
amount: z.string(),
|
|
49
50
|
currencyCode: z.string()
|
|
50
51
|
});
|
|
51
|
-
const
|
|
52
|
+
const selectedOptionSchemaDefinition = z.object({
|
|
52
53
|
name: z.string(),
|
|
53
54
|
value: z.string()
|
|
54
55
|
});
|
|
55
|
-
const
|
|
56
|
+
const optionValueSwatchSchemaDefinition = z.object({
|
|
56
57
|
color: z.string().nullable(),
|
|
57
58
|
imageUrl: z.string().nullable()
|
|
58
59
|
});
|
|
59
|
-
const
|
|
60
|
+
const optionValueSchemaDefinition = z.object({
|
|
60
61
|
id: z.string(),
|
|
61
62
|
value: z.string(),
|
|
62
|
-
swatch:
|
|
63
|
+
swatch: optionValueSwatchSchemaDefinition.nullable()
|
|
63
64
|
});
|
|
64
|
-
const
|
|
65
|
+
const productOptionSchemaDefinition = z.object({
|
|
65
66
|
id: z.string().optional(),
|
|
66
67
|
name: z.string(),
|
|
67
68
|
values: z.array(z.string()),
|
|
68
|
-
optionValues: z.array(
|
|
69
|
+
optionValues: z.array(optionValueSchemaDefinition).optional()
|
|
69
70
|
});
|
|
70
|
-
const
|
|
71
|
+
const metafieldSchemaDefinition = z.object({
|
|
71
72
|
key: z.string(),
|
|
72
73
|
namespace: z.string(),
|
|
73
74
|
type: z.string(),
|
|
74
75
|
value: z.string()
|
|
75
76
|
});
|
|
76
|
-
const
|
|
77
|
+
const sellingPlanPriceAdjustmentSchemaDefinition = z.object({
|
|
77
78
|
value: z.number(),
|
|
78
79
|
valueType: z.enum(["percentage", "fixedAmount", "price"])
|
|
79
80
|
});
|
|
80
|
-
const
|
|
81
|
+
const sellingPlanOptionValueSchemaDefinition = z.object({
|
|
81
82
|
name: z.string().optional(),
|
|
82
83
|
value: z.string()
|
|
83
84
|
});
|
|
84
|
-
const
|
|
85
|
+
const sellingPlanSchemaDefinition = z.object({
|
|
85
86
|
id: z.string(),
|
|
86
87
|
name: z.string(),
|
|
87
88
|
description: z.string().nullable(),
|
|
88
|
-
optionValues: z.array(
|
|
89
|
-
priceAdjustments: z.array(
|
|
89
|
+
optionValues: z.array(sellingPlanOptionValueSchemaDefinition),
|
|
90
|
+
priceAdjustments: z.array(sellingPlanPriceAdjustmentSchemaDefinition),
|
|
90
91
|
appId: z.string().nullish(),
|
|
91
92
|
price: z.string().optional(),
|
|
92
93
|
externalId: z.string().nullable()
|
|
93
94
|
});
|
|
94
|
-
const
|
|
95
|
+
const sellingPlanGroupSchemaDefinition = z.object({
|
|
95
96
|
appId: z.string().nullable(),
|
|
96
97
|
options: z.array(
|
|
97
98
|
z.object({
|
|
@@ -99,20 +100,20 @@ const sellingPlanGroupSchema = z.object({
|
|
|
99
100
|
values: z.array(z.union([z.string(), z.null()]))
|
|
100
101
|
})
|
|
101
102
|
),
|
|
102
|
-
sellingPlans: z.array(
|
|
103
|
+
sellingPlans: z.array(sellingPlanSchemaDefinition)
|
|
103
104
|
}).describe("SellingPlanGroup");
|
|
104
|
-
const
|
|
105
|
+
const variantSchemaDefinition = z.object({
|
|
105
106
|
id: z.string(),
|
|
106
107
|
title: z.string().optional(),
|
|
107
108
|
availableForSale: z.boolean().optional(),
|
|
108
109
|
sku: z.string().nullish(),
|
|
109
|
-
selectedOptions: z.array(
|
|
110
|
-
image:
|
|
111
|
-
price:
|
|
112
|
-
compareAtPrice:
|
|
110
|
+
selectedOptions: z.array(selectedOptionSchemaDefinition).optional(),
|
|
111
|
+
image: imageSchemaDefinition.nullish(),
|
|
112
|
+
price: priceSchemaDefinition.optional(),
|
|
113
|
+
compareAtPrice: priceSchemaDefinition.nullish(),
|
|
113
114
|
sellingPlanIds: z.array(z.string()).optional()
|
|
114
115
|
});
|
|
115
|
-
const
|
|
116
|
+
const productSchemaDefinition = z.object({
|
|
116
117
|
id: z.string(),
|
|
117
118
|
handle: z.string().optional(),
|
|
118
119
|
title: z.string().optional(),
|
|
@@ -123,22 +124,22 @@ const productSchema = z.object({
|
|
|
123
124
|
// never includes it. Kept in lockstep with `schemas/objectType` by the
|
|
124
125
|
// drift-guard spec.
|
|
125
126
|
status: z.enum(["ACTIVE", "DRAFT", "ARCHIVED", "UNLISTED"]).optional(),
|
|
126
|
-
featuredImage:
|
|
127
|
-
options: z.array(
|
|
128
|
-
variants: z.array(
|
|
129
|
-
minPrice:
|
|
130
|
-
maxPrice:
|
|
131
|
-
compareAtMinPrice:
|
|
132
|
-
compareAtMaxPrice:
|
|
133
|
-
images: z.array(
|
|
134
|
-
media: z.array(
|
|
127
|
+
featuredImage: imageSchemaDefinition.nullish(),
|
|
128
|
+
options: z.array(productOptionSchemaDefinition).optional(),
|
|
129
|
+
variants: z.array(variantSchemaDefinition).optional(),
|
|
130
|
+
minPrice: priceSchemaDefinition.optional(),
|
|
131
|
+
maxPrice: priceSchemaDefinition.optional(),
|
|
132
|
+
compareAtMinPrice: priceSchemaDefinition.optional(),
|
|
133
|
+
compareAtMaxPrice: priceSchemaDefinition.optional(),
|
|
134
|
+
images: z.array(imageSchemaDefinition).optional(),
|
|
135
|
+
media: z.array(mediaSchemaDefinition).optional(),
|
|
135
136
|
vendor: z.string().nullish(),
|
|
136
137
|
productType: z.string().nullish(),
|
|
137
138
|
tags: z.array(z.string()).optional(),
|
|
138
|
-
sellingPlanGroups: z.array(
|
|
139
|
-
metafields: z.array(
|
|
139
|
+
sellingPlanGroups: z.array(sellingPlanGroupSchemaDefinition).optional(),
|
|
140
|
+
metafields: z.array(metafieldSchemaDefinition).optional()
|
|
140
141
|
});
|
|
141
|
-
const
|
|
142
|
+
const okendoReviewSchemaDefinition = z.object({
|
|
142
143
|
id: z.string(),
|
|
143
144
|
title: z.string().optional(),
|
|
144
145
|
body: z.string().optional(),
|
|
@@ -148,46 +149,46 @@ const okendoReviewSchema = z.object({
|
|
|
148
149
|
dateCreated: z.string().optional(),
|
|
149
150
|
status: z.string().optional()
|
|
150
151
|
}).describe("OkendoReview");
|
|
151
|
-
const
|
|
152
|
+
const fullVariantSchemaDefinition = z.object({
|
|
152
153
|
id: z.string(),
|
|
153
154
|
title: z.string(),
|
|
154
155
|
availableForSale: z.boolean(),
|
|
155
156
|
sku: z.string().nullable(),
|
|
156
|
-
selectedOptions: z.array(
|
|
157
|
-
image:
|
|
158
|
-
price:
|
|
159
|
-
compareAtPrice:
|
|
157
|
+
selectedOptions: z.array(selectedOptionSchemaDefinition),
|
|
158
|
+
image: imageSchemaDefinition.nullable(),
|
|
159
|
+
price: priceSchemaDefinition,
|
|
160
|
+
compareAtPrice: priceSchemaDefinition.nullable(),
|
|
160
161
|
sellingPlanIds: z.array(z.string()),
|
|
161
|
-
metafields: z.array(
|
|
162
|
+
metafields: z.array(metafieldSchemaDefinition).optional()
|
|
162
163
|
});
|
|
163
|
-
const
|
|
164
|
+
const fullProductSchemaDefinition = z.object({
|
|
164
165
|
id: z.string(),
|
|
165
166
|
handle: z.string(),
|
|
166
167
|
title: z.string(),
|
|
167
168
|
description: z.string().nullable(),
|
|
168
169
|
descriptionHtml: z.string().nullable(),
|
|
169
170
|
availableForSale: z.boolean(),
|
|
170
|
-
featuredImage:
|
|
171
|
-
options: z.array(
|
|
172
|
-
variants: z.array(
|
|
173
|
-
images: z.array(
|
|
174
|
-
media: z.array(
|
|
171
|
+
featuredImage: imageSchemaDefinition.nullable(),
|
|
172
|
+
options: z.array(productOptionSchemaDefinition),
|
|
173
|
+
variants: z.array(fullVariantSchemaDefinition),
|
|
174
|
+
images: z.array(imageSchemaDefinition),
|
|
175
|
+
media: z.array(mediaSchemaDefinition),
|
|
175
176
|
vendor: z.string().nullable(),
|
|
176
177
|
productType: z.string().nullable(),
|
|
177
178
|
tags: z.array(z.string()),
|
|
178
|
-
sellingPlanGroups: z.array(
|
|
179
|
-
metafields: z.array(
|
|
179
|
+
sellingPlanGroups: z.array(sellingPlanGroupSchemaDefinition),
|
|
180
|
+
metafields: z.array(metafieldSchemaDefinition)
|
|
180
181
|
});
|
|
181
|
-
const
|
|
182
|
+
const fullCollectionSchemaDefinition = z.object({
|
|
182
183
|
id: z.string(),
|
|
183
184
|
handle: z.string(),
|
|
184
185
|
title: z.string(),
|
|
185
186
|
descriptionHtml: z.string().nullable(),
|
|
186
|
-
image:
|
|
187
|
-
metafields: z.array(
|
|
187
|
+
image: imageSchemaDefinition.nullable(),
|
|
188
|
+
metafields: z.array(metafieldSchemaDefinition).optional()
|
|
188
189
|
});
|
|
189
|
-
const
|
|
190
|
-
products: z.array(
|
|
190
|
+
const paginatedProductsSchemaDefinition = z.object({
|
|
191
|
+
products: z.array(productSchemaDefinition),
|
|
191
192
|
pageInfo: z.object({
|
|
192
193
|
hasNextPage: z.boolean(),
|
|
193
194
|
endCursor: z.string().nullable()
|
|
@@ -197,7 +198,7 @@ const levantaAffiliateLinkSchema = z.object({
|
|
|
197
198
|
linkId: z.string(),
|
|
198
199
|
url: z.string()
|
|
199
200
|
});
|
|
200
|
-
const
|
|
201
|
+
const levantaProductFullSchemaDefinition = z.object({
|
|
201
202
|
id: z.string(),
|
|
202
203
|
asin: z.string(),
|
|
203
204
|
title: z.string(),
|
|
@@ -211,7 +212,7 @@ const levantaProductFullSchema = z.object({
|
|
|
211
212
|
marketplace: z.string(),
|
|
212
213
|
affiliateLink: levantaAffiliateLinkSchema.nullable()
|
|
213
214
|
}).describe("LevantaProductFull");
|
|
214
|
-
const
|
|
215
|
+
const yotpoReviewLoaderItemSchemaDefinition = z.object({
|
|
215
216
|
id: z.string(),
|
|
216
217
|
title: z.string().nullable(),
|
|
217
218
|
content: z.string().nullable(),
|
|
@@ -220,15 +221,15 @@ const yotpoReviewLoaderItemSchema = z.object({
|
|
|
220
221
|
verifiedBuyer: z.boolean(),
|
|
221
222
|
reviewerName: z.string().nullable()
|
|
222
223
|
});
|
|
223
|
-
const
|
|
224
|
-
reviews: z.array(
|
|
224
|
+
const yotpoProductReviewsLoaderOutputSchemaDefinition = z.object({
|
|
225
|
+
reviews: z.array(yotpoReviewLoaderItemSchemaDefinition)
|
|
225
226
|
});
|
|
226
|
-
const
|
|
227
|
+
const yotpoProductReviewAggregateLoaderOutputSchemaDefinition = z.object({
|
|
227
228
|
averageScore: z.number(),
|
|
228
229
|
totalReviews: z.number(),
|
|
229
230
|
starDistribution: z.record(z.string(), z.number())
|
|
230
231
|
});
|
|
231
|
-
const
|
|
232
|
+
const reviewsIoReviewLoaderItemSchemaDefinition = z.object({
|
|
232
233
|
id: z.string(),
|
|
233
234
|
title: z.string().nullable(),
|
|
234
235
|
body: z.string().nullable(),
|
|
@@ -239,30 +240,30 @@ const reviewsIoReviewLoaderItemSchema = z.object({
|
|
|
239
240
|
productName: z.string().nullable(),
|
|
240
241
|
sku: z.string().nullable()
|
|
241
242
|
});
|
|
242
|
-
const
|
|
243
|
-
reviews: z.array(
|
|
243
|
+
const reviewsIoProductReviewsLoaderOutputSchemaDefinition = z.object({
|
|
244
|
+
reviews: z.array(reviewsIoReviewLoaderItemSchemaDefinition),
|
|
244
245
|
reviewCount: z.number(),
|
|
245
246
|
reviewAverageValue: z.number()
|
|
246
247
|
});
|
|
247
|
-
const
|
|
248
|
+
const reviewsIoProductReviewAggregateLoaderOutputSchemaDefinition = z.object({
|
|
248
249
|
reviewCount: z.number(),
|
|
249
250
|
reviewAverageValue: z.number()
|
|
250
251
|
});
|
|
251
|
-
const
|
|
252
|
+
const statsigExperimentLoaderOutputSchemaDefinition = z.object({
|
|
252
253
|
experimentName: z.string(),
|
|
253
254
|
groupName: z.string().nullable().describe("The assigned variant group name (e.g. Control, Test)."),
|
|
254
255
|
ruleId: z.string().nullable().describe("The Statsig rule ID that produced this assignment."),
|
|
255
256
|
value: z.record(z.string(), z.unknown()).describe("The parameter values for the assigned group."),
|
|
256
257
|
reason: z.string().describe("The evaluation reason reported by Statsig (for debugging).")
|
|
257
258
|
});
|
|
258
|
-
const
|
|
259
|
+
const contentfulEntryObjectSchemaDefinition = z.object({
|
|
259
260
|
id: z.string(),
|
|
260
261
|
contentTypeId: z.string().nullable(),
|
|
261
262
|
createdAt: z.string().nullable(),
|
|
262
263
|
updatedAt: z.string().nullable(),
|
|
263
264
|
fields: z.record(z.string(), z.unknown())
|
|
264
265
|
}).describe("ContentfulEntryObject");
|
|
265
|
-
const
|
|
266
|
+
const contentfulAssetObjectSchemaDefinition = z.object({
|
|
266
267
|
id: z.string(),
|
|
267
268
|
title: z.string().nullable(),
|
|
268
269
|
description: z.string().nullable(),
|
|
@@ -272,22 +273,22 @@ const contentfulAssetObjectSchema = z.object({
|
|
|
272
273
|
width: z.number().nullable(),
|
|
273
274
|
height: z.number().nullable()
|
|
274
275
|
}).describe("ContentfulAssetObject");
|
|
275
|
-
const
|
|
276
|
-
entries: z.array(
|
|
277
|
-
assets: z.array(
|
|
276
|
+
const contentfulIncludesSchemaDefinition = z.object({
|
|
277
|
+
entries: z.array(contentfulEntryObjectSchemaDefinition),
|
|
278
|
+
assets: z.array(contentfulAssetObjectSchemaDefinition)
|
|
278
279
|
}).describe("ContentfulIncludes");
|
|
279
|
-
const
|
|
280
|
-
entry:
|
|
281
|
-
includes:
|
|
280
|
+
const contentfulEntryLoaderOutputSchemaDefinition = z.object({
|
|
281
|
+
entry: contentfulEntryObjectSchemaDefinition,
|
|
282
|
+
includes: contentfulIncludesSchemaDefinition
|
|
282
283
|
}).describe("ContentfulEntryLoaderOutput");
|
|
283
|
-
const
|
|
284
|
-
items: z.array(
|
|
285
|
-
includes:
|
|
284
|
+
const contentfulEntriesLoaderOutputSchemaDefinition = z.object({
|
|
285
|
+
items: z.array(contentfulEntryObjectSchemaDefinition),
|
|
286
|
+
includes: contentfulIncludesSchemaDefinition,
|
|
286
287
|
total: z.number(),
|
|
287
288
|
skip: z.number(),
|
|
288
289
|
limit: z.number()
|
|
289
290
|
}).describe("ContentfulEntriesLoaderOutput");
|
|
290
|
-
const
|
|
291
|
+
const storefrontMetaobjectSchemaDefinition = z.object({
|
|
291
292
|
id: z.string(),
|
|
292
293
|
type: z.string(),
|
|
293
294
|
handle: z.string(),
|
|
@@ -300,14 +301,176 @@ const storefrontMetaobjectSchema = z.object({
|
|
|
300
301
|
})
|
|
301
302
|
)
|
|
302
303
|
}).describe("StorefrontMetaobject");
|
|
303
|
-
const
|
|
304
|
-
const
|
|
305
|
-
metaobjects: z.array(
|
|
304
|
+
const shopifyMetaobjectLoaderOutputSchemaDefinition = storefrontMetaobjectSchemaDefinition;
|
|
305
|
+
const shopifyMetaobjectsLoaderOutputSchemaDefinition = z.object({
|
|
306
|
+
metaobjects: z.array(storefrontMetaobjectSchemaDefinition),
|
|
306
307
|
pageInfo: z.object({
|
|
307
308
|
hasNextPage: z.boolean(),
|
|
308
309
|
endCursor: z.string().nullable()
|
|
309
310
|
})
|
|
310
311
|
}).describe("ShopifyMetaobjectsLoaderOutput");
|
|
312
|
+
const contentfulAssetObjectSchema = canopyTombstoneObject({
|
|
313
|
+
symbol: "contentfulAssetObjectSchema",
|
|
314
|
+
subpath: "loaders/loader-schemas"
|
|
315
|
+
});
|
|
316
|
+
const contentfulEntriesLoaderOutputSchema = canopyTombstoneObject({
|
|
317
|
+
symbol: "contentfulEntriesLoaderOutputSchema",
|
|
318
|
+
subpath: "loaders/loader-schemas"
|
|
319
|
+
});
|
|
320
|
+
const contentfulEntryLoaderOutputSchema = canopyTombstoneObject({
|
|
321
|
+
symbol: "contentfulEntryLoaderOutputSchema",
|
|
322
|
+
subpath: "loaders/loader-schemas"
|
|
323
|
+
});
|
|
324
|
+
const contentfulEntryObjectSchema = canopyTombstoneObject({
|
|
325
|
+
symbol: "contentfulEntryObjectSchema",
|
|
326
|
+
subpath: "loaders/loader-schemas"
|
|
327
|
+
});
|
|
328
|
+
const contentfulIncludesSchema = canopyTombstoneObject({
|
|
329
|
+
symbol: "contentfulIncludesSchema",
|
|
330
|
+
subpath: "loaders/loader-schemas"
|
|
331
|
+
});
|
|
332
|
+
const externalVideoSchema = canopyTombstoneObject({
|
|
333
|
+
symbol: "externalVideoSchema",
|
|
334
|
+
subpath: "loaders/loader-schemas"
|
|
335
|
+
});
|
|
336
|
+
const fullCollectionSchema = canopyTombstoneObject({
|
|
337
|
+
symbol: "fullCollectionSchema",
|
|
338
|
+
subpath: "loaders/loader-schemas"
|
|
339
|
+
});
|
|
340
|
+
const fullProductSchema = canopyTombstoneObject({
|
|
341
|
+
symbol: "fullProductSchema",
|
|
342
|
+
subpath: "loaders/loader-schemas"
|
|
343
|
+
});
|
|
344
|
+
const fullVariantSchema = canopyTombstoneObject({
|
|
345
|
+
symbol: "fullVariantSchema",
|
|
346
|
+
subpath: "loaders/loader-schemas"
|
|
347
|
+
});
|
|
348
|
+
const imageSchema = canopyTombstoneObject({
|
|
349
|
+
symbol: "imageSchema",
|
|
350
|
+
subpath: "loaders/loader-schemas"
|
|
351
|
+
});
|
|
352
|
+
const levantaProductFullSchema = canopyTombstoneObject({
|
|
353
|
+
symbol: "levantaProductFullSchema",
|
|
354
|
+
subpath: "loaders/loader-schemas"
|
|
355
|
+
});
|
|
356
|
+
const mediaImageSchema = canopyTombstoneObject({
|
|
357
|
+
symbol: "mediaImageSchema",
|
|
358
|
+
subpath: "loaders/loader-schemas"
|
|
359
|
+
});
|
|
360
|
+
const mediaSchema = canopyTombstoneObject({
|
|
361
|
+
symbol: "mediaSchema",
|
|
362
|
+
subpath: "loaders/loader-schemas"
|
|
363
|
+
});
|
|
364
|
+
const metafieldSchema = canopyTombstoneObject({
|
|
365
|
+
symbol: "metafieldSchema",
|
|
366
|
+
subpath: "loaders/loader-schemas"
|
|
367
|
+
});
|
|
368
|
+
const okendoReviewSchema = canopyTombstoneObject({
|
|
369
|
+
symbol: "okendoReviewSchema",
|
|
370
|
+
subpath: "loaders/loader-schemas"
|
|
371
|
+
});
|
|
372
|
+
const optionValueSchema = canopyTombstoneObject({
|
|
373
|
+
symbol: "optionValueSchema",
|
|
374
|
+
subpath: "loaders/loader-schemas"
|
|
375
|
+
});
|
|
376
|
+
const optionValueSwatchSchema = canopyTombstoneObject({
|
|
377
|
+
symbol: "optionValueSwatchSchema",
|
|
378
|
+
subpath: "loaders/loader-schemas"
|
|
379
|
+
});
|
|
380
|
+
const paginatedProductsSchema = canopyTombstoneObject({
|
|
381
|
+
symbol: "paginatedProductsSchema",
|
|
382
|
+
subpath: "loaders/loader-schemas"
|
|
383
|
+
});
|
|
384
|
+
const previewImageSchema = canopyTombstoneObject({
|
|
385
|
+
symbol: "previewImageSchema",
|
|
386
|
+
subpath: "loaders/loader-schemas"
|
|
387
|
+
});
|
|
388
|
+
const priceSchema = canopyTombstoneObject({
|
|
389
|
+
symbol: "priceSchema",
|
|
390
|
+
subpath: "loaders/loader-schemas"
|
|
391
|
+
});
|
|
392
|
+
const productOptionSchema = canopyTombstoneObject({
|
|
393
|
+
symbol: "productOptionSchema",
|
|
394
|
+
subpath: "loaders/loader-schemas"
|
|
395
|
+
});
|
|
396
|
+
const productSchema = canopyTombstoneObject({
|
|
397
|
+
symbol: "productSchema",
|
|
398
|
+
subpath: "loaders/loader-schemas"
|
|
399
|
+
});
|
|
400
|
+
const reviewsIoProductReviewAggregateLoaderOutputSchema = canopyTombstoneObject({
|
|
401
|
+
symbol: "reviewsIoProductReviewAggregateLoaderOutputSchema",
|
|
402
|
+
subpath: "loaders/loader-schemas"
|
|
403
|
+
});
|
|
404
|
+
const reviewsIoProductReviewsLoaderOutputSchema = canopyTombstoneObject({
|
|
405
|
+
symbol: "reviewsIoProductReviewsLoaderOutputSchema",
|
|
406
|
+
subpath: "loaders/loader-schemas"
|
|
407
|
+
});
|
|
408
|
+
const reviewsIoReviewLoaderItemSchema = canopyTombstoneObject({
|
|
409
|
+
symbol: "reviewsIoReviewLoaderItemSchema",
|
|
410
|
+
subpath: "loaders/loader-schemas"
|
|
411
|
+
});
|
|
412
|
+
const selectedOptionSchema = canopyTombstoneObject({
|
|
413
|
+
symbol: "selectedOptionSchema",
|
|
414
|
+
subpath: "loaders/loader-schemas"
|
|
415
|
+
});
|
|
416
|
+
const sellingPlanGroupSchema = canopyTombstoneObject({
|
|
417
|
+
symbol: "sellingPlanGroupSchema",
|
|
418
|
+
subpath: "loaders/loader-schemas"
|
|
419
|
+
});
|
|
420
|
+
const sellingPlanOptionValueSchema = canopyTombstoneObject({
|
|
421
|
+
symbol: "sellingPlanOptionValueSchema",
|
|
422
|
+
subpath: "loaders/loader-schemas"
|
|
423
|
+
});
|
|
424
|
+
const sellingPlanPriceAdjustmentSchema = canopyTombstoneObject({
|
|
425
|
+
symbol: "sellingPlanPriceAdjustmentSchema",
|
|
426
|
+
subpath: "loaders/loader-schemas"
|
|
427
|
+
});
|
|
428
|
+
const sellingPlanSchema = canopyTombstoneObject({
|
|
429
|
+
symbol: "sellingPlanSchema",
|
|
430
|
+
subpath: "loaders/loader-schemas"
|
|
431
|
+
});
|
|
432
|
+
const shopifyMetaobjectLoaderOutputSchema = canopyTombstoneObject({
|
|
433
|
+
symbol: "shopifyMetaobjectLoaderOutputSchema",
|
|
434
|
+
subpath: "loaders/loader-schemas"
|
|
435
|
+
});
|
|
436
|
+
const shopifyMetaobjectsLoaderOutputSchema = canopyTombstoneObject({
|
|
437
|
+
symbol: "shopifyMetaobjectsLoaderOutputSchema",
|
|
438
|
+
subpath: "loaders/loader-schemas"
|
|
439
|
+
});
|
|
440
|
+
const statsigExperimentLoaderOutputSchema = canopyTombstoneObject({
|
|
441
|
+
symbol: "statsigExperimentLoaderOutputSchema",
|
|
442
|
+
subpath: "loaders/loader-schemas"
|
|
443
|
+
});
|
|
444
|
+
const storefrontMetaobjectSchema = canopyTombstoneObject({
|
|
445
|
+
symbol: "storefrontMetaobjectSchema",
|
|
446
|
+
subpath: "loaders/loader-schemas"
|
|
447
|
+
});
|
|
448
|
+
const variantSchema = canopyTombstoneObject({
|
|
449
|
+
symbol: "variantSchema",
|
|
450
|
+
subpath: "loaders/loader-schemas"
|
|
451
|
+
});
|
|
452
|
+
const videoSchema = canopyTombstoneObject({
|
|
453
|
+
symbol: "videoSchema",
|
|
454
|
+
subpath: "loaders/loader-schemas"
|
|
455
|
+
});
|
|
456
|
+
const videoSourceSchema = canopyTombstoneObject({
|
|
457
|
+
symbol: "videoSourceSchema",
|
|
458
|
+
subpath: "loaders/loader-schemas"
|
|
459
|
+
});
|
|
460
|
+
const yotpoProductReviewAggregateLoaderOutputSchema = canopyTombstoneObject({
|
|
461
|
+
symbol: "yotpoProductReviewAggregateLoaderOutputSchema",
|
|
462
|
+
subpath: "loaders/loader-schemas"
|
|
463
|
+
});
|
|
464
|
+
const yotpoProductReviewsLoaderOutputSchema = canopyTombstoneObject(
|
|
465
|
+
{
|
|
466
|
+
symbol: "yotpoProductReviewsLoaderOutputSchema",
|
|
467
|
+
subpath: "loaders/loader-schemas"
|
|
468
|
+
}
|
|
469
|
+
);
|
|
470
|
+
const yotpoReviewLoaderItemSchema = canopyTombstoneObject({
|
|
471
|
+
symbol: "yotpoReviewLoaderItemSchema",
|
|
472
|
+
subpath: "loaders/loader-schemas"
|
|
473
|
+
});
|
|
311
474
|
export {
|
|
312
475
|
contentfulAssetObjectSchema,
|
|
313
476
|
contentfulEntriesLoaderOutputSchema,
|