Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

common-types

Package Overview
Dependencies
Maintainers
1
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-types - npm Package Compare versions

Comparing version 1.20.0 to 1.20.1

3

dist/cjs/aws/aws-events.d.ts
import { datetime } from "../aliases";
import { arn } from "../aws";
declare type Source = "ec2" | "s3" | "codestar";
export declare type Source = "ec2" | "s3" | "codestar";
export declare type IAwsEventSource = `aws.${Source}` | string;

@@ -41,2 +41,1 @@ export declare type IAwsEventUrls = `${Source}.amazonaws.com` | string;

}
export {};

@@ -95,3 +95,3 @@ import { seconds, sql } from "../aliases";

};
eventBridge: {
eventBridge?: {
/** using the default AWS event bus. Example might be "rate(10 minutes)" */

@@ -98,0 +98,0 @@ schedule: string;

@@ -7,2 +7,3 @@ import { minutes, scalar } from "../aliases";

import { IServerlessAuthorizer, IServerlessJwtAuthorizer } from "./serverless-authorizers";
import { IHttpApiCors } from "./serverless-http-api";
import { IServerlessIAMRole } from "./serverless-iam";

@@ -18,3 +19,3 @@ import { IHttpApiLogging, IRestApiLogging, IWebsocketLogging } from "./serverless-logging";

/** Service wide environment variables */
environment?: Record<string, scalar>;
environment?: Record<string, scalar> | string;
/** Set the default stage used. Default is "dev". */

@@ -50,7 +51,7 @@ stage?: "dev" | "test" | "prod" | string;

httpApi: {
id: string;
name: string;
payload: "1.0" | "2.0";
cors: boolean;
authorizers: Record<string, IServerlessJwtAuthorizer>;
id?: string;
name?: string;
payload?: "1.0" | "2.0";
cors?: boolean | IHttpApiCors;
authorizers?: Record<string, IServerlessJwtAuthorizer>;
};

@@ -57,0 +58,0 @@ /** Optional CF stack tags */

export interface IServerlessResources {
Resources: IDynamoDbTableResource | Record<string, IServerlessResource>;
extensions: any;
Outputs: Record<string, IServerlessOutput>;
extensions?: any;
Outputs?: Record<string, IServerlessOutput>;
}

@@ -6,0 +6,0 @@ export interface IServerlessResource {

import { datetime } from "../aliases";
import { arn } from "../aws";
declare type Source = "ec2" | "s3" | "codestar";
export declare type Source = "ec2" | "s3" | "codestar";
export declare type IAwsEventSource = `aws.${Source}` | string;

@@ -41,2 +41,1 @@ export declare type IAwsEventUrls = `${Source}.amazonaws.com` | string;

}
export {};

@@ -95,3 +95,3 @@ import { seconds, sql } from "../aliases";

};
eventBridge: {
eventBridge?: {
/** using the default AWS event bus. Example might be "rate(10 minutes)" */

@@ -98,0 +98,0 @@ schedule: string;

@@ -7,2 +7,3 @@ import { minutes, scalar } from "../aliases";

import { IServerlessAuthorizer, IServerlessJwtAuthorizer } from "./serverless-authorizers";
import { IHttpApiCors } from "./serverless-http-api";
import { IServerlessIAMRole } from "./serverless-iam";

@@ -18,3 +19,3 @@ import { IHttpApiLogging, IRestApiLogging, IWebsocketLogging } from "./serverless-logging";

/** Service wide environment variables */
environment?: Record<string, scalar>;
environment?: Record<string, scalar> | string;
/** Set the default stage used. Default is "dev". */

@@ -50,7 +51,7 @@ stage?: "dev" | "test" | "prod" | string;

httpApi: {
id: string;
name: string;
payload: "1.0" | "2.0";
cors: boolean;
authorizers: Record<string, IServerlessJwtAuthorizer>;
id?: string;
name?: string;
payload?: "1.0" | "2.0";
cors?: boolean | IHttpApiCors;
authorizers?: Record<string, IServerlessJwtAuthorizer>;
};

@@ -57,0 +58,0 @@ /** Optional CF stack tags */

export interface IServerlessResources {
Resources: IDynamoDbTableResource | Record<string, IServerlessResource>;
extensions: any;
Outputs: Record<string, IServerlessOutput>;
extensions?: any;
Outputs?: Record<string, IServerlessOutput>;
}

@@ -6,0 +6,0 @@ export interface IServerlessResource {

{
"name": "common-types",
"version": "1.20.0",
"version": "1.20.1",
"description": "Common types not included in Typescript",

@@ -5,0 +5,0 @@ "repository": "https://github.com/lifegadget/common-types",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc