@xube/kit-aws-hooks-infrastructure 0.0.60 → 0.0.62
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { XubeRestAPIProps } from "@xube/kit-aws-infrastructure";
|
|
2
|
+
import { RestApi } from "aws-cdk-lib/aws-apigateway";
|
|
3
3
|
import { ITable, Table } from "aws-cdk-lib/aws-dynamodb";
|
|
4
4
|
import { NodejsFunction } from "aws-cdk-lib/aws-lambda-nodejs";
|
|
5
5
|
import { Construct } from "constructs";
|
|
@@ -7,14 +7,7 @@ export declare const ADD_WEBHOOK_ENDPOINTS_FUNCTION_NAME = "add-webhook-endpoint
|
|
|
7
7
|
export declare const REMOVE_WEBHOOK_ENDPOINTS_FUNCTION_NAME = "remove-webhook-endpoints";
|
|
8
8
|
export declare const GET_WEBHOOK_ENDPOINTS_FUNCTION_NAME = "get-webhook-endpoints";
|
|
9
9
|
export declare const HANDLE_STREAMS_FUNCTION_NAME = "handle-streams";
|
|
10
|
-
export interface WebhookManagementProps {
|
|
11
|
-
name?: string;
|
|
12
|
-
domainName?: IDomainName;
|
|
13
|
-
certificate?: ICertificate;
|
|
14
|
-
authorizer?: IAuthorizer;
|
|
15
|
-
basePath?: string;
|
|
16
|
-
stage?: string;
|
|
17
|
-
corsOptions?: CorsOptions;
|
|
10
|
+
export interface WebhookManagementProps extends XubeRestAPIProps {
|
|
18
11
|
streams: ITable[];
|
|
19
12
|
}
|
|
20
13
|
export declare class WebhookManagement extends Construct {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xube/kit-aws-hooks-infrastructure",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.62",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/XubeLtd/dev-kit#readme",
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@xube/kit-build": "^0.0.
|
|
20
|
+
"@xube/kit-build": "^0.0.62"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@xube/kit-aws": "^0.0.
|
|
24
|
-
"@xube/kit-aws-hooks": "^0.0.
|
|
25
|
-
"@xube/kit-aws-infrastructure": "^0.0.
|
|
26
|
-
"@xube/kit-constants": "^0.0.
|
|
27
|
-
"@xube/kit-log": "^0.0.
|
|
23
|
+
"@xube/kit-aws": "^0.0.62",
|
|
24
|
+
"@xube/kit-aws-hooks": "^0.0.62",
|
|
25
|
+
"@xube/kit-aws-infrastructure": "^0.0.62",
|
|
26
|
+
"@xube/kit-constants": "^0.0.62",
|
|
27
|
+
"@xube/kit-log": "^0.0.62",
|
|
28
28
|
"aws-cdk-lib": "^2.100.0",
|
|
29
29
|
"aws-lambda": "^1.0.7",
|
|
30
30
|
"constructs": "^10.3.0"
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
WEBHOOK_TABLE_INVERTED_INDEX_NAME_ENV_VAR,
|
|
3
3
|
WEBHOOK_TABLE_NAME_ENV_VAR,
|
|
4
4
|
} from "@xube/kit-aws-hooks";
|
|
5
|
+
import { XubeRestAPIProps } from "@xube/kit-aws-infrastructure";
|
|
5
6
|
import { PARTITION_KEY, SORT_KEY } from "@xube/kit-aws-schema";
|
|
6
7
|
import { XubeLog } from "@xube/kit-log";
|
|
7
8
|
import { Duration } from "aws-cdk-lib";
|
|
@@ -28,14 +29,7 @@ export const GET_WEBHOOK_ENDPOINTS_FUNCTION_NAME = "get-webhook-endpoints";
|
|
|
28
29
|
|
|
29
30
|
export const HANDLE_STREAMS_FUNCTION_NAME = "handle-streams";
|
|
30
31
|
|
|
31
|
-
export interface WebhookManagementProps {
|
|
32
|
-
name?: string;
|
|
33
|
-
domainName?: IDomainName;
|
|
34
|
-
certificate?: ICertificate;
|
|
35
|
-
authorizer?: IAuthorizer;
|
|
36
|
-
basePath?: string;
|
|
37
|
-
stage?: string;
|
|
38
|
-
corsOptions?: CorsOptions;
|
|
32
|
+
export interface WebhookManagementProps extends XubeRestAPIProps {
|
|
39
33
|
streams: ITable[];
|
|
40
34
|
}
|
|
41
35
|
|