Skip to content

Commit 5e27d43

Browse files
hey
1 parent 9b85a50 commit 5e27d43

18 files changed

Lines changed: 118 additions & 1135 deletions

File tree

apps/cms/sst-env.d.ts

Lines changed: 4 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -2,134 +2,8 @@
22
/* tslint:disable */
33
/* eslint-disable */
44
/* deno-fmt-ignore-file */
5+
6+
/// <reference path="../../sst-env.d.ts" />
7+
58
import "sst"
6-
export {}
7-
declare module "sst" {
8-
export interface Resource {
9-
"AuthHandler": {
10-
"name": string
11-
"type": "sst.aws.Function"
12-
"url": string
13-
}
14-
"AuthHandlerSigningSecret": {
15-
"type": "sst.sst.Secret"
16-
"value": string
17-
}
18-
"Bucket": {
19-
"name": string
20-
"type": "sst.aws.Bucket"
21-
}
22-
"ClerkEncryptionKey": {
23-
"type": "sst.sst.Secret"
24-
"value": string
25-
}
26-
"ClerkPublishableKey": {
27-
"type": "sst.sst.Secret"
28-
"value": string
29-
}
30-
"ClerkSecretKey": {
31-
"type": "sst.sst.Secret"
32-
"value": string
33-
}
34-
"CrispWebsiteId": {
35-
"type": "sst.sst.Secret"
36-
"value": string
37-
}
38-
"DatabaseUrl": {
39-
"type": "sst.sst.Secret"
40-
"value": string
41-
}
42-
"Environment": {
43-
"type": "sst.sst.Secret"
44-
"value": string
45-
}
46-
"InngestEventKey": {
47-
"type": "sst.sst.Secret"
48-
"value": string
49-
}
50-
"InngestSigningKey": {
51-
"type": "sst.sst.Secret"
52-
"value": string
53-
}
54-
"LogoUrl": {
55-
"type": "sst.sst.Secret"
56-
"value": string
57-
}
58-
"OpenAIApiKey": {
59-
"type": "sst.sst.Secret"
60-
"value": string
61-
}
62-
"Orchestration": {
63-
"name": string
64-
"type": "sst.aws.Function"
65-
"url": string
66-
}
67-
"PosthogKey": {
68-
"type": "sst.sst.Secret"
69-
"value": string
70-
}
71-
"ResendApiKey": {
72-
"type": "sst.sst.Secret"
73-
"value": string
74-
}
75-
"ResendAudienceId": {
76-
"type": "sst.sst.Secret"
77-
"value": string
78-
}
79-
"SentryDsn": {
80-
"type": "sst.sst.Secret"
81-
"value": string
82-
}
83-
"Server": {
84-
"name": string
85-
"type": "sst.aws.Function"
86-
"url": string
87-
}
88-
"StripeBillingDashboardUrl": {
89-
"type": "sst.sst.Secret"
90-
"value": string
91-
}
92-
"StripeHandler": {
93-
"name": string
94-
"type": "sst.aws.Function"
95-
"url": string
96-
}
97-
"StripePublishableKey": {
98-
"type": "sst.sst.Secret"
99-
"value": string
100-
}
101-
"StripeReferralCouponId": {
102-
"type": "sst.sst.Secret"
103-
"value": string
104-
}
105-
"StripeSecretKey": {
106-
"type": "sst.sst.Secret"
107-
"value": string
108-
}
109-
"StripeWebhookSecret": {
110-
"type": "sst.sst.Secret"
111-
"value": string
112-
}
113-
"UpstashRedisToken": {
114-
"type": "sst.sst.Secret"
115-
"value": string
116-
}
117-
"UpstashRedisUrl": {
118-
"type": "sst.sst.Secret"
119-
"value": string
120-
}
121-
"Web": {
122-
"type": "sst.aws.Nextjs"
123-
"url": string
124-
}
125-
"WebUrl": {
126-
"type": "sst.sst.Secret"
127-
"value": string
128-
}
129-
"WebsocketApi": {
130-
"managementEndpoint": string
131-
"type": "sst.aws.ApiGatewayWebSocket"
132-
"url": string
133-
}
134-
}
135-
}
9+
export {}

apps/server/sst-env.d.ts

Lines changed: 4 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -2,134 +2,8 @@
22
/* tslint:disable */
33
/* eslint-disable */
44
/* deno-fmt-ignore-file */
5+
6+
/// <reference path="../../sst-env.d.ts" />
7+
58
import "sst"
6-
export {}
7-
declare module "sst" {
8-
export interface Resource {
9-
"AuthHandler": {
10-
"name": string
11-
"type": "sst.aws.Function"
12-
"url": string
13-
}
14-
"AuthHandlerSigningSecret": {
15-
"type": "sst.sst.Secret"
16-
"value": string
17-
}
18-
"Bucket": {
19-
"name": string
20-
"type": "sst.aws.Bucket"
21-
}
22-
"ClerkEncryptionKey": {
23-
"type": "sst.sst.Secret"
24-
"value": string
25-
}
26-
"ClerkPublishableKey": {
27-
"type": "sst.sst.Secret"
28-
"value": string
29-
}
30-
"ClerkSecretKey": {
31-
"type": "sst.sst.Secret"
32-
"value": string
33-
}
34-
"CrispWebsiteId": {
35-
"type": "sst.sst.Secret"
36-
"value": string
37-
}
38-
"DatabaseUrl": {
39-
"type": "sst.sst.Secret"
40-
"value": string
41-
}
42-
"Environment": {
43-
"type": "sst.sst.Secret"
44-
"value": string
45-
}
46-
"InngestEventKey": {
47-
"type": "sst.sst.Secret"
48-
"value": string
49-
}
50-
"InngestSigningKey": {
51-
"type": "sst.sst.Secret"
52-
"value": string
53-
}
54-
"LogoUrl": {
55-
"type": "sst.sst.Secret"
56-
"value": string
57-
}
58-
"OpenAIApiKey": {
59-
"type": "sst.sst.Secret"
60-
"value": string
61-
}
62-
"Orchestration": {
63-
"name": string
64-
"type": "sst.aws.Function"
65-
"url": string
66-
}
67-
"PosthogKey": {
68-
"type": "sst.sst.Secret"
69-
"value": string
70-
}
71-
"ResendApiKey": {
72-
"type": "sst.sst.Secret"
73-
"value": string
74-
}
75-
"ResendAudienceId": {
76-
"type": "sst.sst.Secret"
77-
"value": string
78-
}
79-
"SentryDsn": {
80-
"type": "sst.sst.Secret"
81-
"value": string
82-
}
83-
"Server": {
84-
"name": string
85-
"type": "sst.aws.Function"
86-
"url": string
87-
}
88-
"StripeBillingDashboardUrl": {
89-
"type": "sst.sst.Secret"
90-
"value": string
91-
}
92-
"StripeHandler": {
93-
"name": string
94-
"type": "sst.aws.Function"
95-
"url": string
96-
}
97-
"StripePublishableKey": {
98-
"type": "sst.sst.Secret"
99-
"value": string
100-
}
101-
"StripeReferralCouponId": {
102-
"type": "sst.sst.Secret"
103-
"value": string
104-
}
105-
"StripeSecretKey": {
106-
"type": "sst.sst.Secret"
107-
"value": string
108-
}
109-
"StripeWebhookSecret": {
110-
"type": "sst.sst.Secret"
111-
"value": string
112-
}
113-
"UpstashRedisToken": {
114-
"type": "sst.sst.Secret"
115-
"value": string
116-
}
117-
"UpstashRedisUrl": {
118-
"type": "sst.sst.Secret"
119-
"value": string
120-
}
121-
"Web": {
122-
"type": "sst.aws.Nextjs"
123-
"url": string
124-
}
125-
"WebUrl": {
126-
"type": "sst.sst.Secret"
127-
"value": string
128-
}
129-
"WebsocketApi": {
130-
"managementEndpoint": string
131-
"type": "sst.aws.ApiGatewayWebSocket"
132-
"url": string
133-
}
134-
}
135-
}
9+
export {}

apps/web/src/app/dashboard/stories/_components/StoryGrid.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { StoryGridFilters } from './StoryGrid.filters'
21
import { Suspense } from 'react'
32
import { StoryGridAsync } from './StoryGrid.async'
43
import { StoryGridSkeleton } from './StoryGrid.skeleton'

apps/web/src/app/dashboard/stories/_components/StoryGrid.view.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const StoryGridView = ({
1818

1919
return (
2020
<>
21-
<div className="py-8 grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
21+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
2222
{storiesWithScenes.map((story) => (
2323
<StoryCard key={story.id} story={story} />
2424
))}

apps/web/src/hooks/use-ws.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ export const useWebsocket = (url: string, userId: string) => {
3030
if (message.payload.length === 'Short') {
3131
if (message.payload.sceneNumber === 1)
3232
showToast(
33-
`🖊️ Your story\s first scene has been written!`,
33+
`🖊️ Your story\'s first scene has been written!`,
3434
)
3535

3636
if (message.payload.sceneNumber === 2)
3737
showToast(
38-
`🖊️ Your story\'s second scene has been written!🖊️ Your story is almost complete!`,
38+
`🖊️ Your story\'s second scene has been written! Your story is almost complete!`,
3939
)
4040

4141
if (message.payload.sceneNumber === 3)

0 commit comments

Comments
 (0)