sst 2.13.8 → 2.13.9
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/Metadata.d.ts
CHANGED
|
@@ -36,6 +36,12 @@ import type { WebSocketApi } from "./WebSocketApi.js";
|
|
|
36
36
|
export type WebSocketApiMetadata = ExtractMetadata<WebSocketApi>;
|
|
37
37
|
import type { RDS } from "./RDS.js";
|
|
38
38
|
export type RDSMetadata = ExtractMetadata<RDS>;
|
|
39
|
+
import type { Auth } from "./future/Auth.js";
|
|
40
|
+
export type AuthMetadata = ExtractMetadata<Auth>;
|
|
41
|
+
import type { Script } from "./Script.js";
|
|
42
|
+
export type ScriptMetadata = ExtractMetadata<Script>;
|
|
43
|
+
import type { Job } from "./Job.js";
|
|
44
|
+
export type JobMetadata = ExtractMetadata<Job>;
|
|
39
45
|
import type { NextjsSite } from "./NextjsSite.js";
|
|
40
46
|
export type NextjsSiteMetadata = ExtractMetadata<NextjsSite>;
|
|
41
47
|
import type { AstroSite } from "./AstroSite.js";
|
|
@@ -47,5 +53,5 @@ export type SvelteKitSiteMetadata = ExtractMetadata<SvelteKitSite>;
|
|
|
47
53
|
import type { SolidStartSite } from "./SolidStartSite.js";
|
|
48
54
|
export type SolidStartSiteMetadata = ExtractMetadata<SolidStartSite>;
|
|
49
55
|
export type SSRSiteMetadata = NextjsSiteMetadata | AstroSiteMetadata | RemixSiteMetadata | SolidStartSiteMetadata | SvelteKitSiteMetadata;
|
|
50
|
-
export type Metadata = ApiMetadata | ApiGatewayV1ApiMetadata | CognitoMetadata | AppSyncApiMetadata | BucketMetadata | CronMetadata | EventBusMetadata | FunctionMetadata | KinesisStreamMetadata | SlsNextjsMetadata | QueueMetadata | StaticSiteMetadata | TableMetadata | TopicMetadata | WebSocketApiMetadata | RDSMetadata | SSRSiteMetadata;
|
|
56
|
+
export type Metadata = ApiMetadata | ApiGatewayV1ApiMetadata | CognitoMetadata | AppSyncApiMetadata | BucketMetadata | CronMetadata | EventBusMetadata | FunctionMetadata | KinesisStreamMetadata | SlsNextjsMetadata | QueueMetadata | StaticSiteMetadata | TableMetadata | TopicMetadata | WebSocketApiMetadata | RDSMetadata | AuthMetadata | ScriptMetadata | JobMetadata | SSRSiteMetadata;
|
|
51
57
|
export {};
|
|
@@ -183,6 +183,7 @@ export class WebSocketApi extends Construct {
|
|
|
183
183
|
return {
|
|
184
184
|
type: "WebSocketApi",
|
|
185
185
|
data: {
|
|
186
|
+
url: this.url,
|
|
186
187
|
httpApiId: this.cdk.webSocketApi.apiId,
|
|
187
188
|
customDomainUrl: this._customDomainUrl,
|
|
188
189
|
routes: Object.entries(this.functions).map(([routeKey, fn]) => ({
|