Skip to content

Commit

Permalink
Generate namespace index files for convenient imports; expose from ma…
Browse files Browse the repository at this point in the history
…in module
  • Loading branch information
adambar committed Nov 23, 2017
1 parent 1b99786 commit 335efe6
Show file tree
Hide file tree
Showing 400 changed files with 3,405 additions and 238 deletions.
1 change: 1 addition & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ import * as _Fn from './types/functions';
export declare const Fn: typeof _Fn;
import * as _Refs from './types/refs';
export declare const Refs: typeof _Refs;
export * from './types/index';
export default function cloudform(template: Template): any;
4 changes: 4 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
const jsonStringify = require('json-pretty');
const _Fn = require("./types/functions");
exports.Fn = _Fn;
const _Refs = require("./types/refs");
exports.Refs = _Refs;
__export(require("./types/index"));
function cloudform(template) {
return jsonStringify(template);
}
Expand Down
39 changes: 39 additions & 0 deletions dist/types/apiGateway/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import RequestValidator from './requestValidator';
import Deployment from './deployment';
import Authorizer from './authorizer';
import DomainName from './domainName';
import DocumentationPart from './documentationPart';
import ApiKey from './apiKey';
import Model from './model';
import Resource from './resource';
import Account from './account';
import RestApi from './restApi';
import UsagePlan from './usagePlan';
import BasePathMapping from './basePathMapping';
import Stage from './stage';
import GatewayResponse from './gatewayResponse';
import ClientCertificate from './clientCertificate';
import Method from './method';
import DocumentationVersion from './documentationVersion';
import UsagePlanKey from './usagePlanKey';
declare const _default: {
RequestValidator: typeof RequestValidator;
Deployment: typeof Deployment;
Authorizer: typeof Authorizer;
DomainName: typeof DomainName;
DocumentationPart: typeof DocumentationPart;
ApiKey: typeof ApiKey;
Model: typeof Model;
Resource: typeof Resource;
Account: typeof Account;
RestApi: typeof RestApi;
UsagePlan: typeof UsagePlan;
BasePathMapping: typeof BasePathMapping;
Stage: typeof Stage;
GatewayResponse: typeof GatewayResponse;
ClientCertificate: typeof ClientCertificate;
Method: typeof Method;
DocumentationVersion: typeof DocumentationVersion;
UsagePlanKey: typeof UsagePlanKey;
};
export default _default;
41 changes: 41 additions & 0 deletions dist/types/apiGateway/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const requestValidator_1 = require("./requestValidator");
const deployment_1 = require("./deployment");
const authorizer_1 = require("./authorizer");
const domainName_1 = require("./domainName");
const documentationPart_1 = require("./documentationPart");
const apiKey_1 = require("./apiKey");
const model_1 = require("./model");
const resource_1 = require("./resource");
const account_1 = require("./account");
const restApi_1 = require("./restApi");
const usagePlan_1 = require("./usagePlan");
const basePathMapping_1 = require("./basePathMapping");
const stage_1 = require("./stage");
const gatewayResponse_1 = require("./gatewayResponse");
const clientCertificate_1 = require("./clientCertificate");
const method_1 = require("./method");
const documentationVersion_1 = require("./documentationVersion");
const usagePlanKey_1 = require("./usagePlanKey");
exports.default = {
RequestValidator: requestValidator_1.default,
Deployment: deployment_1.default,
Authorizer: authorizer_1.default,
DomainName: domainName_1.default,
DocumentationPart: documentationPart_1.default,
ApiKey: apiKey_1.default,
Model: model_1.default,
Resource: resource_1.default,
Account: account_1.default,
RestApi: restApi_1.default,
UsagePlan: usagePlan_1.default,
BasePathMapping: basePathMapping_1.default,
Stage: stage_1.default,
GatewayResponse: gatewayResponse_1.default,
ClientCertificate: clientCertificate_1.default,
Method: method_1.default,
DocumentationVersion: documentationVersion_1.default,
UsagePlanKey: usagePlanKey_1.default
};
7 changes: 7 additions & 0 deletions dist/types/applicationAutoScaling/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import ScalingPolicy from './scalingPolicy';
import ScalableTarget from './scalableTarget';
declare const _default: {
ScalingPolicy: typeof ScalingPolicy;
ScalableTarget: typeof ScalableTarget;
};
export default _default;
9 changes: 9 additions & 0 deletions dist/types/applicationAutoScaling/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const scalingPolicy_1 = require("./scalingPolicy");
const scalableTarget_1 = require("./scalableTarget");
exports.default = {
ScalingPolicy: scalingPolicy_1.default,
ScalableTarget: scalableTarget_1.default
};
5 changes: 5 additions & 0 deletions dist/types/athena/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import NamedQuery from './namedQuery';
declare const _default: {
NamedQuery: typeof NamedQuery;
};
export default _default;
7 changes: 7 additions & 0 deletions dist/types/athena/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const namedQuery_1 = require("./namedQuery");
exports.default = {
NamedQuery: namedQuery_1.default
};
13 changes: 13 additions & 0 deletions dist/types/autoScaling/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import LaunchConfiguration from './launchConfiguration';
import LifecycleHook from './lifecycleHook';
import ScalingPolicy from './scalingPolicy';
import AutoScalingGroup from './autoScalingGroup';
import ScheduledAction from './scheduledAction';
declare const _default: {
LaunchConfiguration: typeof LaunchConfiguration;
LifecycleHook: typeof LifecycleHook;
ScalingPolicy: typeof ScalingPolicy;
AutoScalingGroup: typeof AutoScalingGroup;
ScheduledAction: typeof ScheduledAction;
};
export default _default;
15 changes: 15 additions & 0 deletions dist/types/autoScaling/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const launchConfiguration_1 = require("./launchConfiguration");
const lifecycleHook_1 = require("./lifecycleHook");
const scalingPolicy_1 = require("./scalingPolicy");
const autoScalingGroup_1 = require("./autoScalingGroup");
const scheduledAction_1 = require("./scheduledAction");
exports.default = {
LaunchConfiguration: launchConfiguration_1.default,
LifecycleHook: lifecycleHook_1.default,
ScalingPolicy: scalingPolicy_1.default,
AutoScalingGroup: autoScalingGroup_1.default,
ScheduledAction: scheduledAction_1.default
};
9 changes: 9 additions & 0 deletions dist/types/batch/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import JobDefinition from './jobDefinition';
import JobQueue from './jobQueue';
import ComputeEnvironment from './computeEnvironment';
declare const _default: {
JobDefinition: typeof JobDefinition;
JobQueue: typeof JobQueue;
ComputeEnvironment: typeof ComputeEnvironment;
};
export default _default;
11 changes: 11 additions & 0 deletions dist/types/batch/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const jobDefinition_1 = require("./jobDefinition");
const jobQueue_1 = require("./jobQueue");
const computeEnvironment_1 = require("./computeEnvironment");
exports.default = {
JobDefinition: jobDefinition_1.default,
JobQueue: jobQueue_1.default,
ComputeEnvironment: computeEnvironment_1.default
};
5 changes: 5 additions & 0 deletions dist/types/certificateManager/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Certificate from './certificate';
declare const _default: {
Certificate: typeof Certificate;
};
export default _default;
7 changes: 7 additions & 0 deletions dist/types/certificateManager/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const certificate_1 = require("./certificate");
exports.default = {
Certificate: certificate_1.default
};
11 changes: 11 additions & 0 deletions dist/types/cloudFormation/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import WaitCondition from './waitCondition';
import Stack from './stack';
import WaitConditionHandle from './waitConditionHandle';
import CustomResource from './customResource';
declare const _default: {
WaitCondition: typeof WaitCondition;
Stack: typeof Stack;
WaitConditionHandle: typeof WaitConditionHandle;
CustomResource: typeof CustomResource;
};
export default _default;
13 changes: 13 additions & 0 deletions dist/types/cloudFormation/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const waitCondition_1 = require("./waitCondition");
const stack_1 = require("./stack");
const waitConditionHandle_1 = require("./waitConditionHandle");
const customResource_1 = require("./customResource");
exports.default = {
WaitCondition: waitCondition_1.default,
Stack: stack_1.default,
WaitConditionHandle: waitConditionHandle_1.default,
CustomResource: customResource_1.default
};
9 changes: 9 additions & 0 deletions dist/types/cloudFront/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import StreamingDistribution from './streamingDistribution';
import Distribution from './distribution';
import CloudFrontOriginAccessIdentity from './cloudFrontOriginAccessIdentity';
declare const _default: {
StreamingDistribution: typeof StreamingDistribution;
Distribution: typeof Distribution;
CloudFrontOriginAccessIdentity: typeof CloudFrontOriginAccessIdentity;
};
export default _default;
11 changes: 11 additions & 0 deletions dist/types/cloudFront/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const streamingDistribution_1 = require("./streamingDistribution");
const distribution_1 = require("./distribution");
const cloudFrontOriginAccessIdentity_1 = require("./cloudFrontOriginAccessIdentity");
exports.default = {
StreamingDistribution: streamingDistribution_1.default,
Distribution: distribution_1.default,
CloudFrontOriginAccessIdentity: cloudFrontOriginAccessIdentity_1.default
};
5 changes: 5 additions & 0 deletions dist/types/cloudTrail/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Trail from './trail';
declare const _default: {
Trail: typeof Trail;
};
export default _default;
7 changes: 7 additions & 0 deletions dist/types/cloudTrail/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const trail_1 = require("./trail");
exports.default = {
Trail: trail_1.default
};
7 changes: 7 additions & 0 deletions dist/types/cloudWatch/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import Dashboard from './dashboard';
import Alarm from './alarm';
declare const _default: {
Dashboard: typeof Dashboard;
Alarm: typeof Alarm;
};
export default _default;
9 changes: 9 additions & 0 deletions dist/types/cloudWatch/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const dashboard_1 = require("./dashboard");
const alarm_1 = require("./alarm");
exports.default = {
Dashboard: dashboard_1.default,
Alarm: alarm_1.default
};
5 changes: 5 additions & 0 deletions dist/types/codeBuild/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Project from './project';
declare const _default: {
Project: typeof Project;
};
export default _default;
7 changes: 7 additions & 0 deletions dist/types/codeBuild/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const project_1 = require("./project");
exports.default = {
Project: project_1.default
};
5 changes: 5 additions & 0 deletions dist/types/codeCommit/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import Repository from './repository';
declare const _default: {
Repository: typeof Repository;
};
export default _default;
7 changes: 7 additions & 0 deletions dist/types/codeCommit/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const repository_1 = require("./repository");
exports.default = {
Repository: repository_1.default
};
9 changes: 9 additions & 0 deletions dist/types/codeDeploy/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import DeploymentGroup from './deploymentGroup';
import DeploymentConfig from './deploymentConfig';
import Application from './application';
declare const _default: {
DeploymentGroup: typeof DeploymentGroup;
DeploymentConfig: typeof DeploymentConfig;
Application: typeof Application;
};
export default _default;
11 changes: 11 additions & 0 deletions dist/types/codeDeploy/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const deploymentGroup_1 = require("./deploymentGroup");
const deploymentConfig_1 = require("./deploymentConfig");
const application_1 = require("./application");
exports.default = {
DeploymentGroup: deploymentGroup_1.default,
DeploymentConfig: deploymentConfig_1.default,
Application: application_1.default
};
7 changes: 7 additions & 0 deletions dist/types/codePipeline/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import CustomActionType from './customActionType';
import Pipeline from './pipeline';
declare const _default: {
CustomActionType: typeof CustomActionType;
Pipeline: typeof Pipeline;
};
export default _default;
9 changes: 9 additions & 0 deletions dist/types/codePipeline/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const customActionType_1 = require("./customActionType");
const pipeline_1 = require("./pipeline");
exports.default = {
CustomActionType: customActionType_1.default,
Pipeline: pipeline_1.default
};
17 changes: 17 additions & 0 deletions dist/types/cognito/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import IdentityPoolRoleAttachment from './identityPoolRoleAttachment';
import UserPoolGroup from './userPoolGroup';
import IdentityPool from './identityPool';
import UserPoolUser from './userPoolUser';
import UserPool from './userPool';
import UserPoolClient from './userPoolClient';
import UserPoolUserToGroupAttachment from './userPoolUserToGroupAttachment';
declare const _default: {
IdentityPoolRoleAttachment: typeof IdentityPoolRoleAttachment;
UserPoolGroup: typeof UserPoolGroup;
IdentityPool: typeof IdentityPool;
UserPoolUser: typeof UserPoolUser;
UserPool: typeof UserPool;
UserPoolClient: typeof UserPoolClient;
UserPoolUserToGroupAttachment: typeof UserPoolUserToGroupAttachment;
};
export default _default;
19 changes: 19 additions & 0 deletions dist/types/cognito/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"use strict";
/* Generated from https://d3teyb21fexa9r.cloudfront.net/latest/gzip/CloudFormationResourceSpecification.json, version 1.11.0 */
Object.defineProperty(exports, "__esModule", { value: true });
const identityPoolRoleAttachment_1 = require("./identityPoolRoleAttachment");
const userPoolGroup_1 = require("./userPoolGroup");
const identityPool_1 = require("./identityPool");
const userPoolUser_1 = require("./userPoolUser");
const userPool_1 = require("./userPool");
const userPoolClient_1 = require("./userPoolClient");
const userPoolUserToGroupAttachment_1 = require("./userPoolUserToGroupAttachment");
exports.default = {
IdentityPoolRoleAttachment: identityPoolRoleAttachment_1.default,
UserPoolGroup: userPoolGroup_1.default,
IdentityPool: identityPool_1.default,
UserPoolUser: userPoolUser_1.default,
UserPool: userPool_1.default,
UserPoolClient: userPoolClient_1.default,
UserPoolUserToGroupAttachment: userPoolUserToGroupAttachment_1.default
};
9 changes: 9 additions & 0 deletions dist/types/config/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import DeliveryChannel from './deliveryChannel';
import ConfigurationRecorder from './configurationRecorder';
import ConfigRule from './configRule';
declare const _default: {
DeliveryChannel: typeof DeliveryChannel;
ConfigurationRecorder: typeof ConfigurationRecorder;
ConfigRule: typeof ConfigRule;
};
export default _default;
Loading

0 comments on commit 335efe6

Please sign in to comment.