sst 2.34.5 → 2.34.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/constructs/AppSyncApi.js
CHANGED
|
@@ -8,7 +8,7 @@ export async function weakImport(pkg) {
|
|
|
8
8
|
return {};
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
|
-
const { print
|
|
11
|
+
const { print } = await weakImport("graphql");
|
|
12
12
|
const { mergeTypeDefs } = await weakImport("@graphql-tools/merge");
|
|
13
13
|
import { Construct } from "constructs";
|
|
14
14
|
import { Stack } from "./Stack.js";
|
|
@@ -295,9 +295,7 @@ export class AppSyncApi extends Construct {
|
|
|
295
295
|
throw new Error("Invalid schema. At least one schema file must be provided");
|
|
296
296
|
}
|
|
297
297
|
// merge schema files
|
|
298
|
-
const mergedSchema = mergeTypeDefs(schema
|
|
299
|
-
.map((file) => fs.readFileSync(file).toString())
|
|
300
|
-
.map(buildSchema));
|
|
298
|
+
const mergedSchema = mergeTypeDefs(schema.map((file) => fs.readFileSync(file).toString()));
|
|
301
299
|
const filePath = path.join(useProject().paths.out, `appsyncapi-${id}-${this.node.addr}.graphql`);
|
|
302
300
|
fs.writeFileSync(filePath, print(mergedSchema));
|
|
303
301
|
mainSchema = SchemaFile.fromAsset(filePath);
|
package/constructs/RDS.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface RDSProps {
|
|
|
13
13
|
/**
|
|
14
14
|
* Database engine of the cluster. Cannot be changed once set.
|
|
15
15
|
*/
|
|
16
|
-
engine: "mysql5.6" | "mysql5.7" | "postgresql11.13" | "postgresql11.16" | "postgresql13.9";
|
|
16
|
+
engine: "mysql5.6" | "mysql5.7" | "mysql8.0" | "postgresql11.13" | "postgresql11.16" | "postgresql13.9";
|
|
17
17
|
/**
|
|
18
18
|
* Name of a database which is automatically created inside the cluster.
|
|
19
19
|
*/
|
|
@@ -191,7 +191,7 @@ export declare class RDS extends Construct implements SSTConstruct {
|
|
|
191
191
|
getConstructMetadata(): {
|
|
192
192
|
type: "RDS";
|
|
193
193
|
data: {
|
|
194
|
-
engine: "mysql5.6" | "mysql5.7" | "postgresql11.13" | "postgresql11.16" | "postgresql13.9";
|
|
194
|
+
engine: "mysql5.6" | "mysql5.7" | "mysql8.0" | "postgresql11.13" | "postgresql11.16" | "postgresql13.9";
|
|
195
195
|
secretArn: string;
|
|
196
196
|
types: RDSTypes | undefined;
|
|
197
197
|
clusterArn: string;
|
package/constructs/RDS.js
CHANGED
|
@@ -204,6 +204,11 @@ export class RDS extends Construct {
|
|
|
204
204
|
version: AuroraMysqlEngineVersion.VER_2_07_1,
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
+
else if (engine === "mysql8.0") {
|
|
208
|
+
return DatabaseClusterEngine.auroraMysql({
|
|
209
|
+
version: AuroraMysqlEngineVersion.VER_3_04_0,
|
|
210
|
+
});
|
|
211
|
+
}
|
|
207
212
|
else if (engine === "postgresql11.13") {
|
|
208
213
|
return DatabaseClusterEngine.auroraPostgres({
|
|
209
214
|
version: AuroraPostgresEngineVersion.VER_11_13,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"sideEffects": false,
|
|
3
3
|
"name": "sst",
|
|
4
|
-
"version": "2.34.
|
|
4
|
+
"version": "2.34.7",
|
|
5
5
|
"bin": {
|
|
6
6
|
"sst": "cli/sst.js"
|
|
7
7
|
},
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"@types/ws": "^8.5.3",
|
|
121
121
|
"@types/yargs": "^17.0.13",
|
|
122
122
|
"archiver": "^5.3.1",
|
|
123
|
-
"astro-sst": "2.34.
|
|
123
|
+
"astro-sst": "2.34.7",
|
|
124
124
|
"async": "^3.2.4",
|
|
125
125
|
"tsx": "^3.12.1",
|
|
126
126
|
"typescript": "^5.2.2",
|