@fy-stack/fullstack-construct 0.0.130 → 0.0.131
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/dist/lib/fullstack-construct.js +1 -1
- package/dist/lib/types.d.ts +6 -13
- package/dist/lib/types.d.ts.map +1 -1
- package/package.json +11 -11
|
@@ -91,7 +91,7 @@ class FullStackConstruct extends constructs_1.Construct {
|
|
|
91
91
|
if (props.events) {
|
|
92
92
|
this.event = new event_construct_1.EventConstruct(this, 'EventConstruct', {
|
|
93
93
|
resources: { ...this.apps, ...this.tasks },
|
|
94
|
-
|
|
94
|
+
...props.events,
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
97
|
this.secret = new secret_construct_1.SecretsConstruct(this, 'SecretConstruct', {
|
package/dist/lib/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CDNConstructProps } from '@fy-stack/cdn-construct';
|
|
2
|
-
import { DatabaseConstructProps } from '@fy-stack/database-construct';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import type { CDNConstructProps } from '@fy-stack/cdn-construct';
|
|
2
|
+
import type { DatabaseConstructProps } from '@fy-stack/database-construct';
|
|
3
|
+
import type { EventConstructProps } from '@fy-stack/event-construct';
|
|
4
|
+
import type { TaskConstructsProps } from '@fy-stack/task-construct';
|
|
5
|
+
import type { ResourceRef } from '@fy-stack/types';
|
|
6
6
|
export declare enum AppType {
|
|
7
7
|
NODE_APP = "nodeApp",
|
|
8
8
|
NODE_API = "nestApi",
|
|
@@ -42,10 +42,6 @@ export type Task = Omit<TaskConstructsProps, "clusterArn" | "vpc"> & {
|
|
|
42
42
|
export type AppMessage = ResourceRef & {
|
|
43
43
|
messages: string[];
|
|
44
44
|
};
|
|
45
|
-
export type AppCron = {
|
|
46
|
-
messages: string[];
|
|
47
|
-
cron: events.CronOptions;
|
|
48
|
-
};
|
|
49
45
|
export type FullStackConstructProps = {
|
|
50
46
|
vpcId?: string;
|
|
51
47
|
appId: string;
|
|
@@ -57,10 +53,7 @@ export type FullStackConstructProps = {
|
|
|
57
53
|
};
|
|
58
54
|
database?: DatabaseConstructProps;
|
|
59
55
|
apps?: Record<string, App>;
|
|
60
|
-
events?:
|
|
61
|
-
messages?: AppMessage[];
|
|
62
|
-
cron?: AppCron[];
|
|
63
|
-
};
|
|
56
|
+
events?: Omit<EventConstructProps, "resources">;
|
|
64
57
|
cdn?: Omit<CDNConstructProps, "resources">;
|
|
65
58
|
api?: {
|
|
66
59
|
routes: Record<string, ResourceRef>;
|
package/dist/lib/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,oBAAY,OAAO;IACjB,QAAQ,YAAY;IACpB,QAAQ,YAAY;IACpB,SAAS,aAAa;IACtB,eAAe,kBAAkB;IACjC,gBAAgB,mBAAmB;IACnC,cAAc,kBAAkB;CACjC;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OA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C,EAAE,IAAI,CAAC,iBAAiB,EAAE,WAAW,CAAC,CAAC;IAC3C,GAAG,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,WAAW,CAAC,CAAA;KAAE,CAAC;IAC9C,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;CAC7B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fy-stack/fullstack-construct",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.131",
|
|
4
4
|
"repository": "https://github.com/festusyuma/fy-stack",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@fy-stack/apigateway-construct": "0.0.
|
|
7
|
-
"@fy-stack/app-construct": "0.0.
|
|
8
|
-
"@fy-stack/auth-construct": "0.0.
|
|
9
|
-
"@fy-stack/cdn-construct": "0.0.
|
|
10
|
-
"@fy-stack/database-construct": "0.0.
|
|
11
|
-
"@fy-stack/event-construct": "0.0.
|
|
12
|
-
"@fy-stack/secret-construct": "0.0.
|
|
13
|
-
"@fy-stack/storage-construct": "0.0.
|
|
14
|
-
"@fy-stack/task-construct": "0.0.
|
|
15
|
-
"@fy-stack/types": "0.0.
|
|
6
|
+
"@fy-stack/apigateway-construct": "0.0.131",
|
|
7
|
+
"@fy-stack/app-construct": "0.0.131",
|
|
8
|
+
"@fy-stack/auth-construct": "0.0.131",
|
|
9
|
+
"@fy-stack/cdn-construct": "0.0.131",
|
|
10
|
+
"@fy-stack/database-construct": "0.0.131",
|
|
11
|
+
"@fy-stack/event-construct": "0.0.131",
|
|
12
|
+
"@fy-stack/secret-construct": "0.0.131",
|
|
13
|
+
"@fy-stack/storage-construct": "0.0.131",
|
|
14
|
+
"@fy-stack/task-construct": "0.0.131",
|
|
15
|
+
"@fy-stack/types": "0.0.131",
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|