Skip to content

Commit

Permalink
Return value on the workflow finished
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Apr 30, 2023
1 parent 1592962 commit c1e393e
Show file tree
Hide file tree
Showing 5 changed files with 312 additions and 112 deletions.
2 changes: 1 addition & 1 deletion import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"imports": {
"deco-sites/fashion/": "./",
"deco-sites/std/": "https://denopkg.com/deco-sites/[email protected]/",
"$live/": "https://denopkg.com/deco-cx/live@a856b6cf6d45f1437dc1fa801c0429c32a3f7db4/",
"$live/": "../live/",
"$fresh/": "https://deno.land/x/[email protected]/",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
Expand Down
30 changes: 18 additions & 12 deletions live.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ import * as $live_inspect from "$live/routes/live/inspect/[...block].ts";
import * as $live_meta from "$live/routes/live/_meta.ts";
import * as $live_previews from "$live/routes/live/previews/[...block].tsx";
import * as $live_catchall from "$live/routes/[...catchall].tsx";
import * as i1$0 from "$live/loaders/workflows/get.ts";
import * as i2$$$$$0 from "$live/handlers/devPage.ts";
import * as i2$$$$$1 from "$live/handlers/fresh.ts";
import * as i1$2 from "$live/handlers/redirect.ts";
import * as i1$$2 from "$live/handlers/redirect.ts";
import * as i2$$$$$2 from "$live/handlers/router.ts";
import * as i2$$$$$3 from "$live/handlers/routesSelection.ts";
import * as i1$5 from "$live/handlers/workflowRunner.ts";
import * as i1$$5 from "$live/handlers/workflowRunner.ts";
import * as i2$$$$$$0 from "$live/pages/LivePage.tsx";
import * as i2$$$$0 from "$live/sections/PageInclude.tsx";
import * as i2$$$$1 from "$live/sections/Slot.tsx";
Expand All @@ -60,8 +61,10 @@ import * as i2$$$$$$$5 from "$live/matchers/MatchSite.ts";
import * as i2$$$$$$$6 from "$live/matchers/MatchUserAgent.ts";
import * as i2$$$$$$$$0 from "$live/flags/audience.ts";
import * as i2$$$$$$$$1 from "$live/flags/everyone.ts";
import * as i1$$$$$$0 from "$live/actions/workflows/run.ts";
import * as i1$$$$$$1 from "$live/actions/workflows/start.ts";
import * as i1$$$$$$$0 from "$live/actions/workflows/cancel.ts";
import * as i1$$$$$$$1 from "$live/actions/workflows/run.ts";
import * as i1$$$$$$$2 from "$live/actions/workflows/signal.ts";
import * as i1$$$$$$$3 from "$live/actions/workflows/start.ts";
import * as i2$0 from "deco-sites/std/functions/occProductDetailsPage.ts";
import * as i2$1 from "deco-sites/std/functions/segment.ts";
import * as i2$2 from "deco-sites/std/functions/shopifyProductDetailsPage.ts";
Expand Down Expand Up @@ -156,20 +159,27 @@ const manifest = {
"deco-sites/std/sections/SEOPLP.tsx": i2$$$$11,
},
"actions": {
"$live/actions/workflows/run.ts": i1$$$$$$0,
"$live/actions/workflows/start.ts": i1$$$$$$1,
"$live/actions/workflows/cancel.ts": i1$$$$$$$0,
"$live/actions/workflows/run.ts": i1$$$$$$$1,
"$live/actions/workflows/signal.ts": i1$$$$$$$2,
"$live/actions/workflows/start.ts": i1$$$$$$$3,
"deco-sites/fashion/actions/charge.ts": $$$$$$$$$$$0,
},
"workflows": {
"deco-sites/fashion/workflows/simple.ts": $$$$$$$$$$$$0,
},
"loaders": {
"$live/loaders/workflows/get.ts": i1$0,
"deco-sites/std/loaders/vtexLegacyProductDetailsPage.ts": i2$$$0,
"deco-sites/std/loaders/vtexLegacyRelatedProductsLoader.ts": i2$$$1,
},
"handlers": {
"$live/handlers/devPage.ts": i2$$$$$0,
"$live/handlers/fresh.ts": i2$$$$$1,
"$live/handlers/redirect.ts": i1$2,
"$live/handlers/redirect.ts": i1$$2,
"$live/handlers/router.ts": i2$$$$$2,
"$live/handlers/routesSelection.ts": i2$$$$$3,
"$live/handlers/workflowRunner.ts": i1$5,
"$live/handlers/workflowRunner.ts": i1$$5,
},
"pages": {
"$live/pages/LivePage.tsx": i2$$$$$$0,
Expand Down Expand Up @@ -217,10 +227,6 @@ const manifest = {
"deco-sites/std/accounts/vtex.ts": i2$$3,
"deco-sites/std/accounts/yourViews.ts": i2$$4,
},
"loaders": {
"deco-sites/std/loaders/vtexLegacyProductDetailsPage.ts": i2$$$0,
"deco-sites/std/loaders/vtexLegacyRelatedProductsLoader.ts": i2$$$1,
},
"config": config,
"baseUrl": import.meta.url,
};
Expand Down
1 change: 0 additions & 1 deletion runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ import { withManifest } from "$live/clients/withManifest.ts";
import type { Manifest } from "./live.gen.ts";

export const Runtime = withManifest<Manifest>();

Loading

0 comments on commit c1e393e

Please sign in to comment.