diff --git a/compat/$live/manifest.gen.ts b/compat/$live/manifest.gen.ts index 403db8556..c1fd806cc 100644 --- a/compat/$live/manifest.gen.ts +++ b/compat/$live/manifest.gen.ts @@ -3,27 +3,27 @@ // This file is automatically updated during development when running `dev.ts`. import * as $$$0 from "./loaders/state.ts"; -import * as $$$$0 from "./handlers/devPage.ts"; -import * as $$$$1 from "./handlers/router.ts"; +import * as $$$$0 from "./handlers/router.ts"; +import * as $$$$1 from "./handlers/devPage.ts"; import * as $$$$$$0 from "./sections/UseSlot.tsx"; -import * as $$$$$$1 from "./sections/EmptySection.tsx"; -import * as $$$$$$2 from "./sections/Conditional_Beta.tsx"; -import * as $$$$$$3 from "./sections/Slot.tsx"; -import * as $$$$$$4 from "./sections/PageInclude.tsx"; +import * as $$$$$$1 from "./sections/Slot.tsx"; +import * as $$$$$$2 from "./sections/EmptySection.tsx"; +import * as $$$$$$3 from "./sections/PageInclude.tsx"; +import * as $$$$$$4 from "./sections/Conditional_Beta.tsx"; const manifest = { "loaders": { "$live/loaders/state.ts": $$$0, }, "handlers": { - "$live/handlers/devPage.ts": $$$$0, - "$live/handlers/router.ts": $$$$1, + "$live/handlers/devPage.ts": $$$$1, + "$live/handlers/router.ts": $$$$0, }, "sections": { - "$live/sections/Conditional_Beta.tsx": $$$$$$2, - "$live/sections/EmptySection.tsx": $$$$$$1, - "$live/sections/PageInclude.tsx": $$$$$$4, - "$live/sections/Slot.tsx": $$$$$$3, + "$live/sections/Conditional_Beta.tsx": $$$$$$4, + "$live/sections/EmptySection.tsx": $$$$$$2, + "$live/sections/PageInclude.tsx": $$$$$$3, + "$live/sections/Slot.tsx": $$$$$$1, "$live/sections/UseSlot.tsx": $$$$$$0, }, "name": "$live", diff --git a/compat/std/manifest.gen.ts b/compat/std/manifest.gen.ts index 4b83b9abc..f16bab937 100644 --- a/compat/std/manifest.gen.ts +++ b/compat/std/manifest.gen.ts @@ -5,10 +5,10 @@ import * as $0 from "./functions/requestToParam.ts"; import * as $$$0 from "./loaders/x/redirects.ts"; import * as $$$1 from "./loaders/x/font.ts"; -import * as $$$$$$0 from "./sections/SEOPDP.tsx"; -import * as $$$$$$1 from "./sections/SEOPLP.tsx"; -import * as $$$$$$2 from "./sections/Analytics.tsx"; -import * as $$$$$$3 from "./sections/VTEXPortalDataLayerCompatibility.tsx"; +import * as $$$$$$0 from "./sections/SEOPLP.tsx"; +import * as $$$$$$1 from "./sections/Analytics.tsx"; +import * as $$$$$$2 from "./sections/VTEXPortalDataLayerCompatibility.tsx"; +import * as $$$$$$3 from "./sections/SEOPDP.tsx"; const manifest = { "functions": { @@ -19,10 +19,10 @@ const manifest = { "deco-sites/std/loaders/x/redirects.ts": $$$0, }, "sections": { - "deco-sites/std/sections/Analytics.tsx": $$$$$$2, - "deco-sites/std/sections/SEOPDP.tsx": $$$$$$0, - "deco-sites/std/sections/SEOPLP.tsx": $$$$$$1, - "deco-sites/std/sections/VTEXPortalDataLayerCompatibility.tsx": $$$$$$3, + "deco-sites/std/sections/Analytics.tsx": $$$$$$1, + "deco-sites/std/sections/SEOPDP.tsx": $$$$$$3, + "deco-sites/std/sections/SEOPLP.tsx": $$$$$$0, + "deco-sites/std/sections/VTEXPortalDataLayerCompatibility.tsx": $$$$$$2, }, "name": "deco-sites/std", "baseUrl": import.meta.url, diff --git a/decohub/manifest.gen.ts b/decohub/manifest.gen.ts index f12090e8d..44d905a21 100644 --- a/decohub/manifest.gen.ts +++ b/decohub/manifest.gen.ts @@ -3,13 +3,13 @@ // This file is automatically updated during development when running `dev.ts`. import * as $$$$$$$$$$$0 from "./apps/workflows.ts"; -import * as $$$$$$$$$$$1 from "./apps/verified-reviews.ts"; -import * as $$$$$$$$$$$2 from "./apps/handlebars.ts"; +import * as $$$$$$$$$$$1 from "./apps/handlebars.ts"; +import * as $$$$$$$$$$$2 from "./apps/verified-reviews.ts"; const manifest = { "apps": { - "decohub/apps/handlebars.ts": $$$$$$$$$$$2, - "decohub/apps/verified-reviews.ts": $$$$$$$$$$$1, + "decohub/apps/handlebars.ts": $$$$$$$$$$$1, + "decohub/apps/verified-reviews.ts": $$$$$$$$$$$2, "decohub/apps/workflows.ts": $$$$$$$$$$$0, }, "name": "decohub", diff --git a/shopify/manifest.gen.ts b/shopify/manifest.gen.ts index 8b6eac825..18018b218 100644 --- a/shopify/manifest.gen.ts +++ b/shopify/manifest.gen.ts @@ -3,10 +3,10 @@ // This file is automatically updated during development when running `dev.ts`. import * as $$$0 from "./loaders/ProductList.ts"; -import * as $$$1 from "./loaders/ProductListingPage.ts"; -import * as $$$2 from "./loaders/proxy.ts"; -import * as $$$3 from "./loaders/cart.ts"; -import * as $$$4 from "./loaders/ProductDetailsPage.ts"; +import * as $$$1 from "./loaders/ProductDetailsPage.ts"; +import * as $$$2 from "./loaders/ProductListingPage.ts"; +import * as $$$3 from "./loaders/proxy.ts"; +import * as $$$4 from "./loaders/cart.ts"; import * as $$$$0 from "./handlers/sitemap.ts"; import * as $$$$$$$$$0 from "./actions/cart/updateCoupons.ts"; import * as $$$$$$$$$1 from "./actions/cart/updateItems.ts"; @@ -14,11 +14,11 @@ import * as $$$$$$$$$2 from "./actions/cart/addItems.ts"; const manifest = { "loaders": { - "shopify/loaders/cart.ts": $$$3, - "shopify/loaders/ProductDetailsPage.ts": $$$4, + "shopify/loaders/cart.ts": $$$4, + "shopify/loaders/ProductDetailsPage.ts": $$$1, "shopify/loaders/ProductList.ts": $$$0, - "shopify/loaders/ProductListingPage.ts": $$$1, - "shopify/loaders/proxy.ts": $$$2, + "shopify/loaders/ProductListingPage.ts": $$$2, + "shopify/loaders/proxy.ts": $$$3, }, "handlers": { "shopify/handlers/sitemap.ts": $$$$0, diff --git a/vnda/manifest.gen.ts b/vnda/manifest.gen.ts index 9a7df237d..4ee4749cc 100644 --- a/vnda/manifest.gen.ts +++ b/vnda/manifest.gen.ts @@ -2,29 +2,29 @@ // This file SHOULD be checked into source version control. // This file is automatically updated during development when running `dev.ts`. -import * as $$$0 from "./loaders/proxy.ts"; -import * as $$$1 from "./loaders/cart.ts"; -import * as $$$2 from "./loaders/productList.ts"; -import * as $$$3 from "./loaders/productListingPage.ts"; -import * as $$$4 from "./loaders/productDetailsPage.ts"; -import * as $$$$$$$$$0 from "./actions/cart/addItem.ts"; -import * as $$$$$$$$$1 from "./actions/cart/simulation.ts"; -import * as $$$$$$$$$2 from "./actions/cart/updateCart.ts"; -import * as $$$$$$$$$3 from "./actions/cart/updateItem.ts"; +import * as $$$0 from "./loaders/productList.ts"; +import * as $$$1 from "./loaders/productDetailsPage.ts"; +import * as $$$2 from "./loaders/productListingPage.ts"; +import * as $$$3 from "./loaders/proxy.ts"; +import * as $$$4 from "./loaders/cart.ts"; +import * as $$$$$$$$$0 from "./actions/cart/updateItem.ts"; +import * as $$$$$$$$$1 from "./actions/cart/updateCart.ts"; +import * as $$$$$$$$$2 from "./actions/cart/addItem.ts"; +import * as $$$$$$$$$3 from "./actions/cart/simulation.ts"; const manifest = { "loaders": { - "vnda/loaders/cart.ts": $$$1, - "vnda/loaders/productDetailsPage.ts": $$$4, - "vnda/loaders/productList.ts": $$$2, - "vnda/loaders/productListingPage.ts": $$$3, - "vnda/loaders/proxy.ts": $$$0, + "vnda/loaders/cart.ts": $$$4, + "vnda/loaders/productDetailsPage.ts": $$$1, + "vnda/loaders/productList.ts": $$$0, + "vnda/loaders/productListingPage.ts": $$$2, + "vnda/loaders/proxy.ts": $$$3, }, "actions": { - "vnda/actions/cart/addItem.ts": $$$$$$$$$0, - "vnda/actions/cart/simulation.ts": $$$$$$$$$1, - "vnda/actions/cart/updateCart.ts": $$$$$$$$$2, - "vnda/actions/cart/updateItem.ts": $$$$$$$$$3, + "vnda/actions/cart/addItem.ts": $$$$$$$$$2, + "vnda/actions/cart/simulation.ts": $$$$$$$$$3, + "vnda/actions/cart/updateCart.ts": $$$$$$$$$1, + "vnda/actions/cart/updateItem.ts": $$$$$$$$$0, }, "name": "vnda", "baseUrl": import.meta.url, diff --git a/vtex/manifest.gen.ts b/vtex/manifest.gen.ts index 977969d5d..81f2f63fd 100644 --- a/vtex/manifest.gen.ts +++ b/vtex/manifest.gen.ts @@ -2,77 +2,77 @@ // This file SHOULD be checked into source version control. // This file is automatically updated during development when running `dev.ts`. -import * as $$$0 from "./loaders/legacy/suggestions.ts"; -import * as $$$1 from "./loaders/legacy/productList.ts"; +import * as $$$0 from "./loaders/legacy/productList.ts"; +import * as $$$1 from "./loaders/legacy/productDetailsPage.ts"; import * as $$$2 from "./loaders/legacy/productListingPage.ts"; -import * as $$$3 from "./loaders/legacy/productDetailsPage.ts"; -import * as $$$4 from "./loaders/legacy/relatedProductsLoader.ts"; +import * as $$$3 from "./loaders/legacy/relatedProductsLoader.ts"; +import * as $$$4 from "./loaders/legacy/suggestions.ts"; import * as $$$5 from "./loaders/wishlist.ts"; -import * as $$$6 from "./loaders/user.ts"; +import * as $$$6 from "./loaders/navbar.ts"; import * as $$$7 from "./loaders/proxy.ts"; -import * as $$$8 from "./loaders/cart.ts"; -import * as $$$9 from "./loaders/navbar.ts"; -import * as $$$10 from "./loaders/intelligentSearch/suggestions.ts"; -import * as $$$11 from "./loaders/intelligentSearch/productList.ts"; -import * as $$$12 from "./loaders/intelligentSearch/productListingPage.ts"; -import * as $$$13 from "./loaders/intelligentSearch/productDetailsPage.ts"; +import * as $$$8 from "./loaders/intelligentSearch/productList.ts"; +import * as $$$9 from "./loaders/intelligentSearch/productDetailsPage.ts"; +import * as $$$10 from "./loaders/intelligentSearch/productListingPage.ts"; +import * as $$$11 from "./loaders/intelligentSearch/suggestions.ts"; +import * as $$$12 from "./loaders/cart.ts"; +import * as $$$13 from "./loaders/user.ts"; import * as $$$$0 from "./handlers/sitemap.ts"; import * as $$$$$$$$$0 from "./actions/notifyme.ts"; -import * as $$$$$$$$$1 from "./actions/newsletter/subscribe.ts"; -import * as $$$$$$$$$2 from "./actions/analytics/sendEvent.ts"; -import * as $$$$$$$$$3 from "./actions/cart/updateCoupons.ts"; -import * as $$$$$$$$$4 from "./actions/cart/updateItemPrice.ts"; -import * as $$$$$$$$$5 from "./actions/cart/updateAttachment.ts"; -import * as $$$$$$$$$6 from "./actions/cart/updateUser.ts"; -import * as $$$$$$$$$7 from "./actions/cart/simulation.ts"; -import * as $$$$$$$$$8 from "./actions/cart/updateProfile.ts"; -import * as $$$$$$$$$9 from "./actions/cart/updateItems.ts"; -import * as $$$$$$$$$10 from "./actions/cart/getInstallment.ts"; -import * as $$$$$$$$$11 from "./actions/cart/updateItemAttachment.ts"; -import * as $$$$$$$$$12 from "./actions/cart/removeItems.ts"; -import * as $$$$$$$$$13 from "./actions/cart/removeItemAttachment.ts"; -import * as $$$$$$$$$14 from "./actions/cart/addItems.ts"; +import * as $$$$$$$$$1 from "./actions/cart/updateCoupons.ts"; +import * as $$$$$$$$$2 from "./actions/cart/updateAttachment.ts"; +import * as $$$$$$$$$3 from "./actions/cart/updateItems.ts"; +import * as $$$$$$$$$4 from "./actions/cart/updateItemAttachment.ts"; +import * as $$$$$$$$$5 from "./actions/cart/updateUser.ts"; +import * as $$$$$$$$$6 from "./actions/cart/addItems.ts"; +import * as $$$$$$$$$7 from "./actions/cart/removeItems.ts"; +import * as $$$$$$$$$8 from "./actions/cart/getInstallment.ts"; +import * as $$$$$$$$$9 from "./actions/cart/updateItemPrice.ts"; +import * as $$$$$$$$$10 from "./actions/cart/updateProfile.ts"; +import * as $$$$$$$$$11 from "./actions/cart/simulation.ts"; +import * as $$$$$$$$$12 from "./actions/cart/removeItemAttachment.ts"; +import * as $$$$$$$$$13 from "./actions/newsletter/subscribe.ts"; +import * as $$$$$$$$$14 from "./actions/wishlist/removeItem.ts"; import * as $$$$$$$$$15 from "./actions/wishlist/addItem.ts"; -import * as $$$$$$$$$16 from "./actions/wishlist/removeItem.ts"; +import * as $$$$$$$$$16 from "./actions/analytics/sendEvent.ts"; const manifest = { "loaders": { - "vtex/loaders/cart.ts": $$$8, - "vtex/loaders/intelligentSearch/productDetailsPage.ts": $$$13, - "vtex/loaders/intelligentSearch/productList.ts": $$$11, - "vtex/loaders/intelligentSearch/productListingPage.ts": $$$12, - "vtex/loaders/intelligentSearch/suggestions.ts": $$$10, - "vtex/loaders/legacy/productDetailsPage.ts": $$$3, - "vtex/loaders/legacy/productList.ts": $$$1, + "vtex/loaders/cart.ts": $$$12, + "vtex/loaders/intelligentSearch/productDetailsPage.ts": $$$9, + "vtex/loaders/intelligentSearch/productList.ts": $$$8, + "vtex/loaders/intelligentSearch/productListingPage.ts": $$$10, + "vtex/loaders/intelligentSearch/suggestions.ts": $$$11, + "vtex/loaders/legacy/productDetailsPage.ts": $$$1, + "vtex/loaders/legacy/productList.ts": $$$0, "vtex/loaders/legacy/productListingPage.ts": $$$2, - "vtex/loaders/legacy/relatedProductsLoader.ts": $$$4, - "vtex/loaders/legacy/suggestions.ts": $$$0, - "vtex/loaders/navbar.ts": $$$9, + "vtex/loaders/legacy/relatedProductsLoader.ts": $$$3, + "vtex/loaders/legacy/suggestions.ts": $$$4, + "vtex/loaders/navbar.ts": $$$6, "vtex/loaders/proxy.ts": $$$7, - "vtex/loaders/user.ts": $$$6, + "vtex/loaders/user.ts": $$$13, "vtex/loaders/wishlist.ts": $$$5, }, "handlers": { "vtex/handlers/sitemap.ts": $$$$0, }, "actions": { - "vtex/actions/analytics/sendEvent.ts": $$$$$$$$$2, - "vtex/actions/cart/addItems.ts": $$$$$$$$$14, - "vtex/actions/cart/getInstallment.ts": $$$$$$$$$10, - "vtex/actions/cart/removeItemAttachment.ts": $$$$$$$$$13, - "vtex/actions/cart/removeItems.ts": $$$$$$$$$12, - "vtex/actions/cart/simulation.ts": $$$$$$$$$7, - "vtex/actions/cart/updateAttachment.ts": $$$$$$$$$5, - "vtex/actions/cart/updateCoupons.ts": $$$$$$$$$3, - "vtex/actions/cart/updateItemAttachment.ts": $$$$$$$$$11, - "vtex/actions/cart/updateItemPrice.ts": $$$$$$$$$4, - "vtex/actions/cart/updateItems.ts": $$$$$$$$$9, - "vtex/actions/cart/updateProfile.ts": $$$$$$$$$8, - "vtex/actions/cart/updateUser.ts": $$$$$$$$$6, - "vtex/actions/newsletter/subscribe.ts": $$$$$$$$$1, + "vtex/actions/analytics/sendEvent.ts": $$$$$$$$$16, + "vtex/actions/cart/addItems.ts": $$$$$$$$$6, + "vtex/actions/cart/getInstallment.ts": $$$$$$$$$8, + "vtex/actions/cart/removeItemAttachment.ts": $$$$$$$$$12, + "vtex/actions/cart/removeItems.ts": $$$$$$$$$7, + "vtex/actions/cart/simulation.ts": $$$$$$$$$11, + "vtex/actions/cart/updateAttachment.ts": $$$$$$$$$2, + "vtex/actions/cart/updateCoupons.ts": $$$$$$$$$1, + "vtex/actions/cart/updateItemAttachment.ts": $$$$$$$$$4, + "vtex/actions/cart/updateItemPrice.ts": $$$$$$$$$9, + "vtex/actions/cart/updateItems.ts": $$$$$$$$$3, + "vtex/actions/cart/updateProfile.ts": $$$$$$$$$10, + "vtex/actions/cart/updateUser.ts": $$$$$$$$$5, + "vtex/actions/newsletter/subscribe.ts": $$$$$$$$$13, "vtex/actions/notifyme.ts": $$$$$$$$$0, "vtex/actions/wishlist/addItem.ts": $$$$$$$$$15, - "vtex/actions/wishlist/removeItem.ts": $$$$$$$$$16, + "vtex/actions/wishlist/removeItem.ts": $$$$$$$$$14, }, "name": "vtex", "baseUrl": import.meta.url, diff --git a/wake/manifest.gen.ts b/wake/manifest.gen.ts index bdd8f590e..6894a7e83 100644 --- a/wake/manifest.gen.ts +++ b/wake/manifest.gen.ts @@ -2,29 +2,29 @@ // This file SHOULD be checked into source version control. // This file is automatically updated during development when running `dev.ts`. -import * as $$$0 from "./loaders/proxy.ts"; -import * as $$$1 from "./loaders/cart.ts"; -import * as $$$2 from "./loaders/productList.ts"; -import * as $$$3 from "./loaders/productListingPage.ts"; -import * as $$$4 from "./loaders/productDetailsPage.ts"; -import * as $$$$$$$$$0 from "./actions/cart/updateItemQuantity.ts"; +import * as $$$0 from "./loaders/productList.ts"; +import * as $$$1 from "./loaders/productDetailsPage.ts"; +import * as $$$2 from "./loaders/productListingPage.ts"; +import * as $$$3 from "./loaders/proxy.ts"; +import * as $$$4 from "./loaders/cart.ts"; +import * as $$$$$$$$$0 from "./actions/cart/addCoupon.ts"; import * as $$$$$$$$$1 from "./actions/cart/addItem.ts"; -import * as $$$$$$$$$2 from "./actions/cart/addCoupon.ts"; +import * as $$$$$$$$$2 from "./actions/cart/updateItemQuantity.ts"; import * as $$$$$$$$$3 from "./actions/cart/removeCoupon.ts"; const manifest = { "loaders": { - "wake/loaders/cart.ts": $$$1, - "wake/loaders/productDetailsPage.ts": $$$4, - "wake/loaders/productList.ts": $$$2, - "wake/loaders/productListingPage.ts": $$$3, - "wake/loaders/proxy.ts": $$$0, + "wake/loaders/cart.ts": $$$4, + "wake/loaders/productDetailsPage.ts": $$$1, + "wake/loaders/productList.ts": $$$0, + "wake/loaders/productListingPage.ts": $$$2, + "wake/loaders/proxy.ts": $$$3, }, "actions": { - "wake/actions/cart/addCoupon.ts": $$$$$$$$$2, + "wake/actions/cart/addCoupon.ts": $$$$$$$$$0, "wake/actions/cart/addItem.ts": $$$$$$$$$1, "wake/actions/cart/removeCoupon.ts": $$$$$$$$$3, - "wake/actions/cart/updateItemQuantity.ts": $$$$$$$$$0, + "wake/actions/cart/updateItemQuantity.ts": $$$$$$$$$2, }, "name": "wake", "baseUrl": import.meta.url, diff --git a/website/manifest.gen.ts b/website/manifest.gen.ts index 62aaf1fa0..fc096d49b 100644 --- a/website/manifest.gen.ts +++ b/website/manifest.gen.ts @@ -3,14 +3,14 @@ // This file is automatically updated during development when running `dev.ts`. import * as $0 from "./functions/requestToParam.ts"; -import * as $$$0 from "./loaders/extension.ts"; -import * as $$$1 from "./loaders/image.ts"; -import * as $$$2 from "./loaders/secret.ts"; -import * as $$$3 from "./loaders/fonts/local.ts"; -import * as $$$4 from "./loaders/fonts/googleFonts.ts"; -import * as $$$5 from "./loaders/pages.ts"; -import * as $$$6 from "./loaders/asset.ts"; -import * as $$$7 from "./loaders/redirectsFromCsv.ts"; +import * as $$$0 from "./loaders/image.ts"; +import * as $$$1 from "./loaders/redirectsFromCsv.ts"; +import * as $$$2 from "./loaders/extension.ts"; +import * as $$$3 from "./loaders/secret.ts"; +import * as $$$4 from "./loaders/pages.ts"; +import * as $$$5 from "./loaders/asset.ts"; +import * as $$$6 from "./loaders/fonts/local.ts"; +import * as $$$7 from "./loaders/fonts/googleFonts.ts"; import * as $$$$0 from "./handlers/router.ts"; import * as $$$$1 from "./handlers/sitemap.ts"; import * as $$$$2 from "./handlers/proxy.ts"; @@ -18,22 +18,23 @@ import * as $$$$3 from "./handlers/fresh.ts"; import * as $$$$4 from "./handlers/redirect.ts"; import * as $$$$$0 from "./pages/Page.tsx"; import * as $$$$$$0 from "./sections/Seo/Seo.tsx"; -import * as $$$$$$$0 from "./matchers/device.ts"; -import * as $$$$$$$1 from "./matchers/multi.ts"; -import * as $$$$$$$2 from "./matchers/negate.ts"; -import * as $$$$$$$3 from "./matchers/userAgent.ts"; -import * as $$$$$$$4 from "./matchers/always.ts"; -import * as $$$$$$$5 from "./matchers/site.ts"; -import * as $$$$$$$6 from "./matchers/environment.ts"; -import * as $$$$$$$7 from "./matchers/host.ts"; -import * as $$$$$$$8 from "./matchers/date.ts"; -import * as $$$$$$$9 from "./matchers/cron.ts"; -import * as $$$$$$$10 from "./matchers/location.ts"; -import * as $$$$$$$11 from "./matchers/random.ts"; -import * as $$$$$$$$0 from "./flags/everyone.ts"; -import * as $$$$$$$$1 from "./flags/flag.ts"; -import * as $$$$$$$$2 from "./flags/audience.ts"; -import * as $$$$$$$$3 from "./flags/multivariate.ts"; +import * as $$$$$$$0 from "./matchers/date.ts"; +import * as $$$$$$$1 from "./matchers/environment.ts"; +import * as $$$$$$$2 from "./matchers/site.ts"; +import * as $$$$$$$3 from "./matchers/location.ts"; +import * as $$$$$$$4 from "./matchers/cookie.ts"; +import * as $$$$$$$5 from "./matchers/random.ts"; +import * as $$$$$$$6 from "./matchers/multi.ts"; +import * as $$$$$$$7 from "./matchers/negate.ts"; +import * as $$$$$$$8 from "./matchers/cron.ts"; +import * as $$$$$$$9 from "./matchers/device.ts"; +import * as $$$$$$$10 from "./matchers/host.ts"; +import * as $$$$$$$11 from "./matchers/always.ts"; +import * as $$$$$$$12 from "./matchers/userAgent.ts"; +import * as $$$$$$$$0 from "./flags/audience.ts"; +import * as $$$$$$$$1 from "./flags/multivariate.ts"; +import * as $$$$$$$$2 from "./flags/everyone.ts"; +import * as $$$$$$$$3 from "./flags/flag.ts"; import * as $$$$$$$$$0 from "./actions/secrets/encrypt.ts"; const manifest = { @@ -41,14 +42,14 @@ const manifest = { "website/functions/requestToParam.ts": $0, }, "loaders": { - "website/loaders/asset.ts": $$$6, - "website/loaders/extension.ts": $$$0, - "website/loaders/fonts/googleFonts.ts": $$$4, - "website/loaders/fonts/local.ts": $$$3, - "website/loaders/image.ts": $$$1, - "website/loaders/pages.ts": $$$5, - "website/loaders/redirectsFromCsv.ts": $$$7, - "website/loaders/secret.ts": $$$2, + "website/loaders/asset.ts": $$$5, + "website/loaders/extension.ts": $$$2, + "website/loaders/fonts/googleFonts.ts": $$$7, + "website/loaders/fonts/local.ts": $$$6, + "website/loaders/image.ts": $$$0, + "website/loaders/pages.ts": $$$4, + "website/loaders/redirectsFromCsv.ts": $$$1, + "website/loaders/secret.ts": $$$3, }, "handlers": { "website/handlers/fresh.ts": $$$$3, @@ -64,24 +65,25 @@ const manifest = { "website/sections/Seo/Seo.tsx": $$$$$$0, }, "matchers": { - "website/matchers/always.ts": $$$$$$$4, - "website/matchers/cron.ts": $$$$$$$9, - "website/matchers/date.ts": $$$$$$$8, - "website/matchers/device.ts": $$$$$$$0, - "website/matchers/environment.ts": $$$$$$$6, - "website/matchers/host.ts": $$$$$$$7, - "website/matchers/location.ts": $$$$$$$10, - "website/matchers/multi.ts": $$$$$$$1, - "website/matchers/negate.ts": $$$$$$$2, - "website/matchers/random.ts": $$$$$$$11, - "website/matchers/site.ts": $$$$$$$5, - "website/matchers/userAgent.ts": $$$$$$$3, + "website/matchers/always.ts": $$$$$$$11, + "website/matchers/cookie.ts": $$$$$$$4, + "website/matchers/cron.ts": $$$$$$$8, + "website/matchers/date.ts": $$$$$$$0, + "website/matchers/device.ts": $$$$$$$9, + "website/matchers/environment.ts": $$$$$$$1, + "website/matchers/host.ts": $$$$$$$10, + "website/matchers/location.ts": $$$$$$$3, + "website/matchers/multi.ts": $$$$$$$6, + "website/matchers/negate.ts": $$$$$$$7, + "website/matchers/random.ts": $$$$$$$5, + "website/matchers/site.ts": $$$$$$$2, + "website/matchers/userAgent.ts": $$$$$$$12, }, "flags": { - "website/flags/audience.ts": $$$$$$$$2, - "website/flags/everyone.ts": $$$$$$$$0, - "website/flags/flag.ts": $$$$$$$$1, - "website/flags/multivariate.ts": $$$$$$$$3, + "website/flags/audience.ts": $$$$$$$$0, + "website/flags/everyone.ts": $$$$$$$$2, + "website/flags/flag.ts": $$$$$$$$3, + "website/flags/multivariate.ts": $$$$$$$$1, }, "actions": { "website/actions/secrets/encrypt.ts": $$$$$$$$$0, diff --git a/website/matchers/cookie.ts b/website/matchers/cookie.ts new file mode 100644 index 000000000..6f6209cbb --- /dev/null +++ b/website/matchers/cookie.ts @@ -0,0 +1,23 @@ +import { MatchContext } from "deco/blocks/matcher.ts"; +import { getCookies } from "std/http/cookie.ts"; + +/** + * @title Cookie + */ +export interface Props { + name: string; + value: string; +} + +/** + * @title Cookie Matcher + */ +const MatchCookie = ( + { name, value }: Props, + { request }: MatchContext, +) => { + const cookies = getCookies(request.headers); + return cookies[name] === value; +}; + +export default MatchCookie; diff --git a/workflows/manifest.gen.ts b/workflows/manifest.gen.ts index 5daca902a..ba355de7d 100644 --- a/workflows/manifest.gen.ts +++ b/workflows/manifest.gen.ts @@ -2,8 +2,8 @@ // This file SHOULD be checked into source version control. // This file is automatically updated during development when running `dev.ts`. -import * as $$$0 from "./loaders/events.ts"; -import * as $$$1 from "./loaders/get.ts"; +import * as $$$0 from "./loaders/get.ts"; +import * as $$$1 from "./loaders/events.ts"; import * as $$$$0 from "./handlers/workflowRunner.ts"; import * as $$$$$$$$$0 from "./actions/start.ts"; import * as $$$$$$$$$1 from "./actions/cancel.ts"; @@ -11,8 +11,8 @@ import * as $$$$$$$$$2 from "./actions/signal.ts"; const manifest = { "loaders": { - "workflows/loaders/events.ts": $$$0, - "workflows/loaders/get.ts": $$$1, + "workflows/loaders/events.ts": $$$1, + "workflows/loaders/get.ts": $$$0, }, "handlers": { "workflows/handlers/workflowRunner.ts": $$$$0,