Skip to content

Commit

Permalink
Add posthog to decohub
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgr committed Sep 11, 2024
1 parent 19f4124 commit ba42a41
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 30 deletions.
1 change: 1 addition & 0 deletions decohub/apps/posthog.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default, preview } from "../../posthog/mod.ts";
58 changes: 30 additions & 28 deletions decohub/manifest.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,21 @@ import * as $$$$$$$$$$$11 from "./apps/linx-impulse.ts";
import * as $$$$$$$$$$$12 from "./apps/linx.ts";
import * as $$$$$$$$$$$13 from "./apps/mailchimp.ts";
import * as $$$$$$$$$$$14 from "./apps/nuvemshop.ts";
import * as $$$$$$$$$$$15 from "./apps/power-reviews.ts";
import * as $$$$$$$$$$$16 from "./apps/ra-trustvox.ts";
import * as $$$$$$$$$$$17 from "./apps/resend.ts";
import * as $$$$$$$$$$$18 from "./apps/shopify.ts";
import * as $$$$$$$$$$$19 from "./apps/smarthint.ts";
import * as $$$$$$$$$$$20 from "./apps/sourei.ts";
import * as $$$$$$$$$$$21 from "./apps/typesense.ts";
import * as $$$$$$$$$$$22 from "./apps/verified-reviews.ts";
import * as $$$$$$$$$$$23 from "./apps/vnda.ts";
import * as $$$$$$$$$$$24 from "./apps/vtex.ts";
import * as $$$$$$$$$$$25 from "./apps/wake.ts";
import * as $$$$$$$$$$$26 from "./apps/wap.ts";
import * as $$$$$$$$$$$27 from "./apps/weather.ts";
import * as $$$$$$$$$$$28 from "./apps/workflows.ts";
import * as $$$$$$$$$$$15 from "./apps/posthog.ts";
import * as $$$$$$$$$$$16 from "./apps/power-reviews.ts";
import * as $$$$$$$$$$$17 from "./apps/ra-trustvox.ts";
import * as $$$$$$$$$$$18 from "./apps/resend.ts";
import * as $$$$$$$$$$$19 from "./apps/shopify.ts";
import * as $$$$$$$$$$$20 from "./apps/smarthint.ts";
import * as $$$$$$$$$$$21 from "./apps/sourei.ts";
import * as $$$$$$$$$$$22 from "./apps/typesense.ts";
import * as $$$$$$$$$$$23 from "./apps/verified-reviews.ts";
import * as $$$$$$$$$$$24 from "./apps/vnda.ts";
import * as $$$$$$$$$$$25 from "./apps/vtex.ts";
import * as $$$$$$$$$$$26 from "./apps/wake.ts";
import * as $$$$$$$$$$$27 from "./apps/wap.ts";
import * as $$$$$$$$$$$28 from "./apps/weather.ts";
import * as $$$$$$$$$$$29 from "./apps/workflows.ts";

const manifest = {
"apps": {
Expand All @@ -49,20 +50,21 @@ const manifest = {
"decohub/apps/linx.ts": $$$$$$$$$$$12,
"decohub/apps/mailchimp.ts": $$$$$$$$$$$13,
"decohub/apps/nuvemshop.ts": $$$$$$$$$$$14,
"decohub/apps/power-reviews.ts": $$$$$$$$$$$15,
"decohub/apps/ra-trustvox.ts": $$$$$$$$$$$16,
"decohub/apps/resend.ts": $$$$$$$$$$$17,
"decohub/apps/shopify.ts": $$$$$$$$$$$18,
"decohub/apps/smarthint.ts": $$$$$$$$$$$19,
"decohub/apps/sourei.ts": $$$$$$$$$$$20,
"decohub/apps/typesense.ts": $$$$$$$$$$$21,
"decohub/apps/verified-reviews.ts": $$$$$$$$$$$22,
"decohub/apps/vnda.ts": $$$$$$$$$$$23,
"decohub/apps/vtex.ts": $$$$$$$$$$$24,
"decohub/apps/wake.ts": $$$$$$$$$$$25,
"decohub/apps/wap.ts": $$$$$$$$$$$26,
"decohub/apps/weather.ts": $$$$$$$$$$$27,
"decohub/apps/workflows.ts": $$$$$$$$$$$28,
"decohub/apps/posthog.ts": $$$$$$$$$$$15,
"decohub/apps/power-reviews.ts": $$$$$$$$$$$16,
"decohub/apps/ra-trustvox.ts": $$$$$$$$$$$17,
"decohub/apps/resend.ts": $$$$$$$$$$$18,
"decohub/apps/shopify.ts": $$$$$$$$$$$19,
"decohub/apps/smarthint.ts": $$$$$$$$$$$20,
"decohub/apps/sourei.ts": $$$$$$$$$$$21,
"decohub/apps/typesense.ts": $$$$$$$$$$$22,
"decohub/apps/verified-reviews.ts": $$$$$$$$$$$23,
"decohub/apps/vnda.ts": $$$$$$$$$$$24,
"decohub/apps/vtex.ts": $$$$$$$$$$$25,
"decohub/apps/wake.ts": $$$$$$$$$$$26,
"decohub/apps/wap.ts": $$$$$$$$$$$27,
"decohub/apps/weather.ts": $$$$$$$$$$$28,
"decohub/apps/workflows.ts": $$$$$$$$$$$29,
},
"name": "decohub",
"baseUrl": import.meta.url,
Expand Down
2 changes: 1 addition & 1 deletion posthog/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function App(
};
}

export const Preview = () => {
export const preview = () => {
return {
Component: PreviewContainer,
props: {
Expand Down
2 changes: 1 addition & 1 deletion website/handlers/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export const router = (
}
return new URLPattern({
pathname: url.pathname,
...(url.search ? {search: url.search} : {}),
...(url.search ? { search: url.search } : {}),
});
})();
const res = pattern.exec(req.url);
Expand Down

0 comments on commit ba42a41

Please sign in to comment.