File tree Expand file tree Collapse file tree 5 files changed +21
-25
lines changed Expand file tree Collapse file tree 5 files changed +21
-25
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,7 @@ export default {
44
44
cloud : {
45
45
driver : 'aws' ,
46
46
47
- storage : {
48
- useFileSystem : true ,
49
- } ,
47
+ storage : { } ,
50
48
51
49
firewall : {
52
50
immunity : 0 ,
@@ -94,6 +92,12 @@ export default {
94
92
queryStrings : [ ] ,
95
93
} ,
96
94
} ,
95
+
96
+ deploy : {
97
+ docs : true ,
98
+ api : true ,
99
+ fileSystem : true ,
100
+ } ,
97
101
} ,
98
102
99
103
database : {
Original file line number Diff line number Diff line change 1
1
export interface CloudOptions {
2
2
driver : 'aws'
3
3
4
- storage : {
5
- /**
6
- * Whether or not to also attach a file system to the cloud.
7
- * This is in addition to the S3 storage. Disable this
8
- * if you do not need to access the file system.
9
- *
10
- * @default true
11
- * @example
12
- * ```ts
13
- * export default {
14
- * storage: {
15
- * useFileSystem: false
16
- * }
17
- * }
18
- * ```
19
- */
20
- useFileSystem : boolean
21
- }
4
+ storage : { }
22
5
23
6
firewall : {
24
7
immunity : number
@@ -68,6 +51,12 @@ export interface CloudOptions {
68
51
queryStrings : string [ ]
69
52
}
70
53
}
54
+
55
+ deploy : {
56
+ docs : boolean
57
+ api : boolean
58
+ fileSystem : boolean
59
+ }
71
60
}
72
61
73
62
export type CloudConfig = Partial < CloudOptions >
Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ import security from './security'
11
11
export default {
12
12
driver : 'aws' ,
13
13
firewall : security . app . firewall ,
14
- storage : {
15
- useFileSystem : true ,
16
- } ,
14
+ storage : { } ,
17
15
cdn : {
18
16
enableLogging : true ,
19
17
compress : true ,
@@ -31,4 +29,9 @@ export default {
31
29
queryStrings : [ ] ,
32
30
} ,
33
31
} ,
32
+ deploy : {
33
+ docs : true , // enables docs
34
+ api : true , // enables api
35
+ fileSystem : true , // enables file system
36
+ } ,
34
37
} satisfies CloudConfig
Original file line number Diff line number Diff line change 1
1
dependencies :
2
2
npmjs.com : ^9.7.2
3
- bun.sh : ^0.8.1
3
+ bun.sh : ^1.0.0
4
4
sqlite.org : ^3.42.0
5
5
redis.io : ^7.0.11
6
6
aws.amazon.com/cli : ^2.13.7
You can’t perform that action at this time.
0 commit comments