wip: cloud

This commit is contained in:
Dax Raad
2025-09-02 03:14:56 -04:00
parent 47d4c87bdd
commit 810c9cff1d
33 changed files with 579 additions and 2197 deletions

View File

@@ -1,5 +1,4 @@
/// <reference path="./.sst/platform/config.d.ts" />
export default $config({
app(input) {
return {
@@ -11,16 +10,17 @@ export default $config({
stripe: {
apiKey: process.env.STRIPE_SECRET_KEY,
},
planetscale: "0.4.1",
},
}
};
},
async run() {
const { api } = await import("./infra/app.js")
const { auth, gateway } = await import("./infra/cloud.js")
const { api } = await import("./infra/app.js");
const { auth, gateway } = await import("./infra/cloud.js");
return {
api: api.url,
gateway: gateway.url,
auth: auth.url,
}
};
},
})
});