@takumi-stack/core 1.0.8 → 1.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takumi-stack/core",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "author": "sinapsis.co",
5
5
  "license": "MIT",
6
6
  "dependencies": {
@@ -7,4 +7,5 @@ export * from './queue';
7
7
  export * from './topic';
8
8
  export * from './scheduled';
9
9
  export * from './streams';
10
+ export * from './mqtt';
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../prefab/compute/function/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../prefab/compute/function/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC"}
@@ -23,4 +23,5 @@ __exportStar(require("./queue"), exports);
23
23
  __exportStar(require("./topic"), exports);
24
24
  __exportStar(require("./scheduled"), exports);
25
25
  __exportStar(require("./streams"), exports);
26
+ __exportStar(require("./mqtt"), exports);
26
27
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../prefab/compute/function/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,yCAAuB;AACvB,4CAA0B;AAC1B,yCAAuB;AACvB,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../prefab/compute/function/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,yCAAuB;AACvB,4CAA0B;AAC1B,yCAAuB;AACvB,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,8CAA4B;AAC5B,4CAA0B;AAC1B,yCAAuB"}
@@ -0,0 +1,14 @@
1
+ import { BaseCustomConfigs, Prefab, TakumiStack, PrefabPropsOverride } from '../../../../common';
2
+ import { FunctionConfigs, FunctionPrefab } from '../base';
3
+ export type MqttFunctionHandler = FunctionConfigs;
4
+ export type MqttFunctionPrefabParams<CustomConfigs extends BaseCustomConfigs = BaseCustomConfigs> = FunctionConfigs & {
5
+ name: string;
6
+ entryRootDirectory: string;
7
+ handler: MqttFunctionHandler;
8
+ sqlRulePayload: string;
9
+ };
10
+ export declare class MqttFunctionPrefab<CustomConfigs extends BaseCustomConfigs = BaseCustomConfigs> extends Prefab<MqttFunctionPrefabParams<CustomConfigs>, CustomConfigs> {
11
+ readonly handler: FunctionPrefab<CustomConfigs>;
12
+ constructor(service: TakumiStack<CustomConfigs>, params: MqttFunctionPrefabParams<CustomConfigs>, propsOverride?: PrefabPropsOverride<CustomConfigs>);
13
+ }
14
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../prefab/compute/function/mqtt/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAG1D,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC;AAElD,MAAM,MAAM,wBAAwB,CAAC,aAAa,SAAS,iBAAiB,GAAG,iBAAiB,IAAI,eAAe,GAAG;IACpH,IAAI,EAAE,MAAM,CAAC;IACb,kBAAkB,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,mBAAmB,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,qBAAa,kBAAkB,CAAC,aAAa,SAAS,iBAAiB,GAAG,iBAAiB,CAAE,SAAQ,MAAM,CACzG,wBAAwB,CAAC,aAAa,CAAC,EACvC,aAAa,CACd;IACC,SAAgB,OAAO,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;gBAGrD,OAAO,EAAE,WAAW,CAAC,aAAa,CAAC,EACnC,MAAM,EAAE,wBAAwB,CAAC,aAAa,CAAC,EAC/C,aAAa,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC;CAiDrD"}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MqttFunctionPrefab = void 0;
4
+ const aws_iam_1 = require("aws-cdk-lib/aws-iam");
5
+ const common_1 = require("../../../../common");
6
+ const base_1 = require("../base");
7
+ const aws_iot_1 = require("aws-cdk-lib/aws-iot");
8
+ class MqttFunctionPrefab extends common_1.Prefab {
9
+ handler;
10
+ constructor(service, params, propsOverride) {
11
+ super(MqttFunctionPrefab.name, service, params, propsOverride);
12
+ this.handler = new base_1.FunctionPrefab(service, {
13
+ ...params,
14
+ name: params.name,
15
+ entryRootDirectory: params.entryRootDirectory,
16
+ ...params.handler,
17
+ appendEnvironment: {
18
+ TAKUMI_FUNCTION_TYPE: 'MQTT',
19
+ ...params.handler.appendEnvironment,
20
+ },
21
+ });
22
+ const iotRuleRole = new aws_iam_1.Role(this, this.getId('IoTRuleRole'), {
23
+ assumedBy: new aws_iam_1.ServicePrincipal('iot.amazonaws.com'),
24
+ });
25
+ iotRuleRole.addToPolicy(new aws_iam_1.PolicyStatement({
26
+ effect: aws_iam_1.Effect.ALLOW,
27
+ actions: ['lambda:InvokeFunction'],
28
+ resources: [this.handler.lambdaFunction.functionArn],
29
+ }));
30
+ new aws_iot_1.CfnTopicRule(this, this.getId('IoTLambdaRule'), {
31
+ topicRulePayload: {
32
+ sql: params.sqlRulePayload,
33
+ actions: [
34
+ {
35
+ lambda: {
36
+ functionArn: this.handler.lambdaFunction.functionArn,
37
+ },
38
+ },
39
+ ],
40
+ errorAction: {
41
+ cloudwatchLogs: {
42
+ logGroupName: this.handler.logGroup.logGroupName,
43
+ roleArn: iotRuleRole.roleArn,
44
+ },
45
+ },
46
+ },
47
+ });
48
+ this.handler.lambdaFunction.grantInvoke(new aws_iam_1.ServicePrincipal('iot.amazonaws.com'));
49
+ }
50
+ }
51
+ exports.MqttFunctionPrefab = MqttFunctionPrefab;
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../prefab/compute/function/mqtt/index.ts"],"names":[],"mappings":";;;AAAA,iDAAsF;AACtF,+CAAiG;AACjG,kCAA0D;AAC1D,iDAAmD;AAWnD,MAAa,kBAAgF,SAAQ,eAGpG;IACiB,OAAO,CAAgC;IAEvD,YACE,OAAmC,EACnC,MAA+C,EAC/C,aAAkD;QAElD,KAAK,CAAC,kBAAkB,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;QAE/D,IAAI,CAAC,OAAO,GAAG,IAAI,qBAAc,CAAgB,OAAO,EAAE;YACxD,GAAG,MAAM;YACT,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;YAC7C,GAAG,MAAM,CAAC,OAAO;YACjB,iBAAiB,EAAE;gBACjB,oBAAoB,EAAE,MAAM;gBAC5B,GAAG,MAAM,CAAC,OAAO,CAAC,iBAAiB;aACpC;SACF,CAAC,CAAC;QAEH,MAAM,WAAW,GAAG,IAAI,cAAI,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,EAAE;YAC5D,SAAS,EAAE,IAAI,0BAAgB,CAAC,mBAAmB,CAAC;SACrD,CAAC,CAAC;QAEH,WAAW,CAAC,WAAW,CACrB,IAAI,yBAAe,CAAC;YAClB,MAAM,EAAE,gBAAM,CAAC,KAAK;YACpB,OAAO,EAAE,CAAC,uBAAuB,CAAC;YAClC,SAAS,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC;SACrD,CAAC,CACH,CAAC;QAEF,IAAI,sBAAY,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE;YAClD,gBAAgB,EAAE;gBAChB,GAAG,EAAE,MAAM,CAAC,cAAc;gBAC1B,OAAO,EAAE;oBACP;wBACE,MAAM,EAAE;4BACN,WAAW,EAAE,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,WAAW;yBACrD;qBACF;iBACF;gBACD,WAAW,EAAE;oBACX,cAAc,EAAE;wBACd,YAAY,EAAE,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,YAAY;wBAChD,OAAO,EAAE,WAAW,CAAC,OAAO;qBAC7B;iBACF;aACF;SACF,CAAC,CAAC;QAEH,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,IAAI,0BAAgB,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAErF,CAAC;CACF;AA1DD,gDA0DC"}
package/prefab/index.d.ts CHANGED
@@ -9,4 +9,5 @@ export * from './storage';
9
9
  export * from './secrets';
10
10
  export * from './utils';
11
11
  export * from './ssr';
12
+ export * from './iot';
12
13
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../prefab/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../prefab/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC"}
package/prefab/index.js CHANGED
@@ -25,4 +25,5 @@ __exportStar(require("./storage"), exports);
25
25
  __exportStar(require("./secrets"), exports);
26
26
  __exportStar(require("./utils"), exports);
27
27
  __exportStar(require("./ssr"), exports);
28
+ __exportStar(require("./iot"), exports);
28
29
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../prefab/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,wCAAsB;AACtB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,0CAAwB;AACxB,wCAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../prefab/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,wCAAsB;AACtB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,gDAA8B;AAC9B,+CAA6B;AAC7B,4CAA0B;AAC1B,4CAA0B;AAC1B,0CAAwB;AACxB,wCAAsB;AACtB,wCAAsB"}
@@ -0,0 +1,17 @@
1
+ import { CfnDomainConfiguration } from 'aws-cdk-lib/aws-iot';
2
+ import { BaseCustomConfigs, Prefab, PrefabPropsOverride, TakumiStack } from '../../../common';
3
+ import { CertificatePrefab, HostedZonePrefab } from '../../networking';
4
+ import { FunctionPrefab } from '../../compute';
5
+ export type IoTDomainPrefabParams<CustomConfigs extends BaseCustomConfigs = BaseCustomConfigs> = {
6
+ name: string;
7
+ domainName: string;
8
+ certificatePrefab: CertificatePrefab<CustomConfigs>;
9
+ hostedZonePrefab: HostedZonePrefab<CustomConfigs>;
10
+ authorizerConfig?: CfnDomainConfiguration.AuthorizerConfigProperty;
11
+ lambdaAuthorizer?: FunctionPrefab<CustomConfigs>;
12
+ };
13
+ export declare class IoTDomainPrefab<CustomConfigs extends BaseCustomConfigs = BaseCustomConfigs> extends Prefab<IoTDomainPrefabParams<CustomConfigs>, CustomConfigs> {
14
+ readonly domain: string;
15
+ constructor(service: TakumiStack<CustomConfigs>, params: IoTDomainPrefabParams<CustomConfigs>, propsOverride?: PrefabPropsOverride<CustomConfigs>);
16
+ }
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../prefab/iot/domain/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAiB,MAAM,qBAAqB,CAAC;AAE5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,mBAAmB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9F,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAG/C,MAAM,MAAM,qBAAqB,CAAC,aAAa,SAAS,iBAAiB,GAAG,iBAAiB,IAAI;IAC7F,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IACpD,gBAAgB,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAC;IAClD,gBAAgB,CAAC,EAAE,sBAAsB,CAAC,wBAAwB,CAAC;IACnE,gBAAgB,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;CACpD,CAAC;AAEF,qBAAa,eAAe,CAAC,aAAa,SAAS,iBAAiB,GAAG,iBAAiB,CAAE,SAAQ,MAAM,CACpG,qBAAqB,CAAC,aAAa,CAAC,EACpC,aAAa,CAChB;IAEG,SAAgB,MAAM,EAAE,MAAM,CAAC;gBAG3B,OAAO,EAAE,WAAW,CAAC,aAAa,CAAC,EACnC,MAAM,EAAE,qBAAqB,CAAC,aAAa,CAAC,EAC5C,aAAa,CAAC,EAAE,mBAAmB,CAAC,aAAa,CAAC;CAgCzD"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IoTDomainPrefab = void 0;
4
+ const aws_iot_1 = require("aws-cdk-lib/aws-iot");
5
+ const aws_cdk_lib_1 = require("aws-cdk-lib");
6
+ const common_1 = require("../../../common");
7
+ class IoTDomainPrefab extends common_1.Prefab {
8
+ domain;
9
+ constructor(service, params, propsOverride) {
10
+ super(IoTDomainPrefab.name, service, params, propsOverride);
11
+ if (params.authorizerConfig && !params.lambdaAuthorizer) {
12
+ throw new Error('You must specify the lambda authorizer.');
13
+ }
14
+ if (params.authorizerConfig) {
15
+ new aws_iot_1.CfnAuthorizer(this, this.getId('IoTAuthotizer'), {
16
+ authorizerName: params.authorizerConfig.defaultAuthorizerName,
17
+ signingDisabled: false,
18
+ authorizerFunctionArn: params.lambdaAuthorizer?.lambdaFunction.functionArn,
19
+ });
20
+ }
21
+ const iotDomain = new aws_iot_1.CfnDomainConfiguration(this, this.getId('IoTCustomDomain'), {
22
+ domainConfigurationName: this.getResourceName(params.name),
23
+ domainName: this.getDomainName(params.domainName),
24
+ serverCertificateArns: [params.certificatePrefab.certificate.certificateArn],
25
+ domainConfigurationStatus: 'ENABLED',
26
+ ...(params.authorizerConfig ? { authorizerConfig: params.authorizerConfig } : {})
27
+ });
28
+ this.domain = iotDomain.domainName;
29
+ new aws_cdk_lib_1.CfnOutput(this, this.getId('IoTCustomDomainOutput'), {
30
+ key: this.getId('Domain', { toPascalCase: true }),
31
+ exportName: this.getResourceName('domain'),
32
+ value: `mqtts://${iotDomain.domainName}`,
33
+ });
34
+ }
35
+ }
36
+ exports.IoTDomainPrefab = IoTDomainPrefab;
37
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../prefab/iot/domain/index.ts"],"names":[],"mappings":";;;AAAA,iDAA4E;AAC5E,6CAAqD;AACrD,4CAA8F;AAc9F,MAAa,eAA6E,SAAQ,eAGjG;IAEmB,MAAM,CAAS;IAE/B,YACI,OAAmC,EACnC,MAA4C,EAC5C,aAAkD;QAElD,KAAK,CAAC,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,CAAC,CAAC;QAE5D,IAAI,MAAM,CAAC,gBAAgB,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,CAAC;YACtD,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;QAC/D,CAAC;QAED,IAAI,MAAM,CAAC,gBAAgB,EAAE,CAAC;YAC1B,IAAI,uBAAa,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,EAAE;gBACjD,cAAc,EAAE,MAAM,CAAC,gBAAgB,CAAC,qBAAqB;gBAC7D,eAAe,EAAE,KAAK;gBACtB,qBAAqB,EAAE,MAAM,CAAC,gBAAgB,EAAE,cAAc,CAAC,WAAY;aAC9E,CAAC,CAAC;QACP,CAAC;QAED,MAAM,SAAS,GAAG,IAAI,gCAAsB,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,EAAE;YAC9E,uBAAuB,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC;YAC1D,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,UAAU,CAAC;YACjD,qBAAqB,EAAE,CAAC,MAAM,CAAC,iBAAiB,CAAC,WAAW,CAAC,cAAc,CAAC;YAC5E,yBAAyB,EAAE,SAAS;YACpC,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,gBAAgB,EAAE,MAAM,CAAC,gBAAgB,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACpF,CAAC,CAAC;QAEH,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC,UAAW,CAAA;QAEnC,IAAI,uBAAS,CAAC,IAAI,EAAE,IAAI,CAAC,KAAK,CAAC,uBAAuB,CAAC,EAAE;YACrD,GAAG,EAAE,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,CAAC;YACjD,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC;YAC1C,KAAK,EAAE,WAAW,SAAS,CAAC,UAAU,EAAE;SAC3C,CAAC,CAAC;IACP,CAAC;CACJ;AA1CD,0CA0CC"}
@@ -0,0 +1,2 @@
1
+ export * from './domain';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../prefab/iot/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./domain"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../prefab/iot/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB"}