@fy-stack/event-construct 0.0.126 → 0.0.127

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { EventConstruct } from './lib/event-construct';
2
- export { WebsocketConstruct } from './lib/websocket-construct';
3
2
  export type { AppCron, AppMessage, EventConstructProps, WebsocketConstructProps, } from './lib/types';
4
3
  export { AuthProviderCapability } from './lib/types';
4
+ export { WebsocketConstruct } from './lib/websocket-construct';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EACV,OAAO,EACP,UAAU,EACV,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,YAAY,EACV,OAAO,EACP,UAAU,EACV,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC"}
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthProviderCapability = exports.WebsocketConstruct = exports.EventConstruct = void 0;
3
+ exports.WebsocketConstruct = exports.AuthProviderCapability = exports.EventConstruct = void 0;
4
4
  var event_construct_1 = require("./lib/event-construct");
5
5
  Object.defineProperty(exports, "EventConstruct", { enumerable: true, get: function () { return event_construct_1.EventConstruct; } });
6
- var websocket_construct_1 = require("./lib/websocket-construct");
7
- Object.defineProperty(exports, "WebsocketConstruct", { enumerable: true, get: function () { return websocket_construct_1.WebsocketConstruct; } });
8
6
  var types_1 = require("./lib/types");
9
7
  Object.defineProperty(exports, "AuthProviderCapability", { enumerable: true, get: function () { return types_1.AuthProviderCapability; } });
8
+ var websocket_construct_1 = require("./lib/websocket-construct");
9
+ Object.defineProperty(exports, "WebsocketConstruct", { enumerable: true, get: function () { return websocket_construct_1.WebsocketConstruct; } });
@@ -1,7 +1,7 @@
1
1
  import type { Event, ResourceRef } from '@fy-stack/types';
2
- import type { CronOptions } from 'aws-cdk-lib/aws-events';
3
2
  import { AuthorizationType, CfnApiProps, LambdaAuthorizerConfig } from 'aws-cdk-lib/aws-appsync';
4
3
  import { UserPool } from 'aws-cdk-lib/aws-cognito';
4
+ import type { CronOptions } from 'aws-cdk-lib/aws-events';
5
5
  export type AppMessage = ResourceRef & {
6
6
  messages: string[];
7
7
  };
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EACL,iBAAiB,EACjB,WAAW,EACX,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG;IACrC,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC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AW,GAAG;IACrC,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,OAAO,GAAG;IACpB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,EAAE,WAAW,CAAC;CACnB,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAClC;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;aAEK;QACL,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;QACxB;;aAEK;QACL,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;KAClB,CAAC;CACH;AAED,oBAAY,sBAAsB;IAChC,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,SAAS,cAAc;CACxB;AAED,MAAM,WAAW,uBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,aAAa,GAAG,MAAM,CAAC;IACjD,eAAe;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;SAEK;IACL,aAAa,EAAE,CAAC,CACZ;QACE,qDAAqD;QACrD,IAAI,EAAE,iBAAiB,CAAC,OAAO,CAAC;QAChC;;cAEM;QACN,OAAO,EAAE,MAAM,CAAC;KACjB,GACD;QACE;;aAEK;QACL,IAAI,EAAE,iBAAiB,CAAC,SAAS,CAAC;QAClC,QAAQ,EAAE,QAAQ,CAAC;KACpB,GACD,CAAC;QACC;;aAEK;QACL,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC;KAChC,GAAG,sBAAsB,CAAC,CAC9B,GAAG;QACF;;aAEK;QACL,YAAY,EAAE,sBAAsB,EAAE,CAAC;KACxC,CAAC,EAAE,CAAC;CACN"}
@@ -1,7 +1,7 @@
1
- import { Construct } from 'constructs';
1
+ import { Attachable } from '@fy-stack/types';
2
2
  import { CfnApi, CfnApiKey } from 'aws-cdk-lib/aws-appsync';
3
+ import { Construct } from 'constructs';
3
4
  import { WebsocketConstructProps } from './types';
4
- import { Attachable } from '@fy-stack/types';
5
5
  /**
6
6
  * The Websocket class is a custom construct that creates an Appsync Event Api along with the various event configuration
7
7
  *
@@ -1 +1 @@
1
- {"version":3,"file":"websocket-construct.d.ts","sourceRoot":"","sources":["../../src/lib/websocket-construct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AACvC,OAAO,EAAqB,MAAM,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,EAA0B,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAC1E,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,SAAU,YAAW,UAAU;IACrE,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,GAAG,SAAS,CAAC;gBAElB,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,uBAAuB;IA+ExE,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAarC"}
1
+ {"version":3,"file":"websocket-construct.d.ts","sourceRoot":"","sources":["../../src/lib/websocket-construct.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAqB,MAAM,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,OAAO,EAA0B,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAE1E;;;;GAIG;AACH,qBAAa,kBAAmB,SAAQ,SAAU,YAAW,UAAU;IACrE,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,GAAG,SAAS,CAAC;gBAElB,KAAK,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,uBAAuB;IA+ExE,UAAU,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;CAarC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WebsocketConstruct = void 0;
4
- const constructs_1 = require("constructs");
5
4
  const aws_appsync_1 = require("aws-cdk-lib/aws-appsync");
5
+ const constructs_1 = require("constructs");
6
6
  const types_1 = require("./types");
7
7
  /**
8
8
  * The Websocket class is a custom construct that creates an Appsync Event Api along with the various event configuration
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@fy-stack/event-construct",
3
- "version": "0.0.126",
3
+ "version": "0.0.127",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0",
6
- "@fy-stack/types": "0.0.126"
6
+ "@fy-stack/types": "0.0.127"
7
7
  },
8
8
  "peerDependencies": {
9
9
  "aws-cdk-lib": "2.166.0",