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

@aptly-as/types

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aptly-as/types - npm Package Compare versions

Comparing version 1.6.1 to 1.6.2

8

core/app.d.ts
import { AptlyScope } from './scope';
import { AptlyApp, AptlyOrganization, AptlyOrganizationAppConfig } from '../models';
export declare enum AptlyAppSandbox {
AllowForms = "allow-forms",
AllowPopups = "allow-popups",
AllowScripts = "allow-scripts",
AllowSameOrigin = "allow-same-origin",
AllowPointerLock = "allow-pointer-lock",
AllowTopNavigation = "allow-top-navigation"
}
export interface AptlyAppJWT {

@@ -4,0 +12,0 @@ exp: number;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AptlyAppSandbox = void 0;
var AptlyAppSandbox;
(function (AptlyAppSandbox) {
AptlyAppSandbox["AllowForms"] = "allow-forms";
AptlyAppSandbox["AllowPopups"] = "allow-popups";
AptlyAppSandbox["AllowScripts"] = "allow-scripts";
AptlyAppSandbox["AllowSameOrigin"] = "allow-same-origin";
AptlyAppSandbox["AllowPointerLock"] = "allow-pointer-lock";
AptlyAppSandbox["AllowTopNavigation"] = "allow-top-navigation";
})(AptlyAppSandbox = exports.AptlyAppSandbox || (exports.AptlyAppSandbox = {}));
//# sourceMappingURL=app.js.map
import { AptlyScope } from './scope';
import { AptlyApp, AptlyOrganization, AptlyOrganizationAppConfig } from '../models';
export enum AptlyAppSandbox {
AllowForms = 'allow-forms',
AllowPopups = 'allow-popups',
AllowScripts = 'allow-scripts',
AllowSameOrigin = 'allow-same-origin',
AllowPointerLock = 'allow-pointer-lock',
AllowTopNavigation = 'allow-top-navigation',
}
export interface AptlyAppJWT {

@@ -5,0 +14,0 @@ exp: number;

18

enums/webhook.d.ts
export declare enum AptlyWebhookType {
ProjectCreated = "as.aptly.project.created",
ProjectUpdated = "as.aptly.project.updated",
UnitCreated = "as.aptly.unit.created",
UnitUpdated = "as.aptly.unit.updated",
UnitMessageNew = "as.aptly.unit.message.new",
UnitMessageReply = "as.aptly.unit.message.reply",
UnitOrderSigned = "as.aptly.unit.order.signed",
OrganizationAppUpdated = "as.aptly.organization.app.updated",
OrganizationAppDeleted = "as.aptly.organization.app.deleted"
ProjectCreated = "aptly.project.created",
ProjectUpdated = "aptly.project.updated",
UnitCreated = "aptly.unit.created",
UnitUpdated = "aptly.unit.updated",
UnitMessageNew = "aptly.unit.message.new",
UnitMessageReply = "aptly.unit.message.reply",
UnitOrderSigned = "aptly.unit.order.signed",
OrganizationAppUpdated = "aptly.organization.app.updated",
OrganizationAppDeleted = "aptly.organization.app.deleted"
}

@@ -12,0 +12,0 @@ export declare enum AptlyWebhookStatus {

@@ -6,11 +6,11 @@ "use strict";

(function (AptlyWebhookType) {
AptlyWebhookType["ProjectCreated"] = "as.aptly.project.created";
AptlyWebhookType["ProjectUpdated"] = "as.aptly.project.updated";
AptlyWebhookType["UnitCreated"] = "as.aptly.unit.created";
AptlyWebhookType["UnitUpdated"] = "as.aptly.unit.updated";
AptlyWebhookType["UnitMessageNew"] = "as.aptly.unit.message.new";
AptlyWebhookType["UnitMessageReply"] = "as.aptly.unit.message.reply";
AptlyWebhookType["UnitOrderSigned"] = "as.aptly.unit.order.signed";
AptlyWebhookType["OrganizationAppUpdated"] = "as.aptly.organization.app.updated";
AptlyWebhookType["OrganizationAppDeleted"] = "as.aptly.organization.app.deleted";
AptlyWebhookType["ProjectCreated"] = "aptly.project.created";
AptlyWebhookType["ProjectUpdated"] = "aptly.project.updated";
AptlyWebhookType["UnitCreated"] = "aptly.unit.created";
AptlyWebhookType["UnitUpdated"] = "aptly.unit.updated";
AptlyWebhookType["UnitMessageNew"] = "aptly.unit.message.new";
AptlyWebhookType["UnitMessageReply"] = "aptly.unit.message.reply";
AptlyWebhookType["UnitOrderSigned"] = "aptly.unit.order.signed";
AptlyWebhookType["OrganizationAppUpdated"] = "aptly.organization.app.updated";
AptlyWebhookType["OrganizationAppDeleted"] = "aptly.organization.app.deleted";
})(AptlyWebhookType = exports.AptlyWebhookType || (exports.AptlyWebhookType = {}));

@@ -17,0 +17,0 @@ var AptlyWebhookStatus;

export enum AptlyWebhookType {
ProjectCreated = 'as.aptly.project.created',
ProjectUpdated = 'as.aptly.project.updated',
UnitCreated = 'as.aptly.unit.created',
UnitUpdated = 'as.aptly.unit.updated',
UnitMessageNew = 'as.aptly.unit.message.new',
UnitMessageReply = 'as.aptly.unit.message.reply',
UnitOrderSigned = 'as.aptly.unit.order.signed',
OrganizationAppUpdated = 'as.aptly.organization.app.updated',
OrganizationAppDeleted = 'as.aptly.organization.app.deleted',
ProjectCreated = 'aptly.project.created',
ProjectUpdated = 'aptly.project.updated',
UnitCreated = 'aptly.unit.created',
UnitUpdated = 'aptly.unit.updated',
UnitMessageNew = 'aptly.unit.message.new',
UnitMessageReply = 'aptly.unit.message.reply',
UnitOrderSigned = 'aptly.unit.order.signed',
OrganizationAppUpdated = 'aptly.organization.app.updated',
OrganizationAppDeleted = 'aptly.organization.app.deleted',
}

@@ -13,0 +13,0 @@

import { AptlyBaseSchema } from './extends';
import { AptlyWebhookType } from '../enums';
import { AptlyField, AptlyPermissionModel } from '../core';
import { AptlyAppSandbox, AptlyField, AptlyPermissionModel } from '../core';
import { AptlyMediaSrcSchema } from './media';

@@ -17,3 +17,3 @@ export declare type AptlyApp = AptlyAppSchema<string, string>;

proxies: AptlyAppProxySchema<ID>[];
injections: AptlyAppInjectionSchema<ID>[];
menus: AptlyAppMenuSchema<ID, DATE>[];
}

@@ -50,14 +50,14 @@ export declare type AptlyAppSetting = AptlyAppSettingSchema<string>;

export declare enum AptlyAppInjectionType {
Iframe = "iframe",
Script = "script"
Iframe = "iframe"
}
export declare type AptlyAppInjection = AptlyAppInjectionSchema<string>;
export interface AptlyAppInjectionSchema<ID> {
export declare type AptlyAppMenu = AptlyAppMenuSchema<string, string>;
export interface AptlyAppMenuSchema<ID, DATE> {
_id: ID;
type: AptlyAppInjectionType;
menu: AptlyAppInjectionMenu;
menu: AptlyAppInjectionMenu[];
model: AptlyPermissionModel;
label: string;
icon?: string;
icon?: AptlyMediaSrcSchema<ID, DATE>;
src: string;
sandbox: AptlyAppSandbox[];
}

@@ -64,0 +64,0 @@ export interface AptlyAppProxySchema<ID> {

@@ -26,4 +26,3 @@ "use strict";

AptlyAppInjectionType["Iframe"] = "iframe";
AptlyAppInjectionType["Script"] = "script";
})(AptlyAppInjectionType = exports.AptlyAppInjectionType || (exports.AptlyAppInjectionType = {}));
//# sourceMappingURL=app.js.map
import { AptlyBaseSchema } from './extends';
import { AptlyWebhookType } from '../enums';
import { AptlyField, AptlyPermissionModel } from '../core';
import { AptlyAppSandbox, AptlyField, AptlyPermissionModel } from '../core';
import { AptlyMediaSrcSchema } from './media';

@@ -18,3 +18,3 @@

proxies: AptlyAppProxySchema<ID>[];
injections: AptlyAppInjectionSchema<ID>[]
menus: AptlyAppMenuSchema<ID, DATE>[]
}

@@ -58,14 +58,14 @@

Iframe = 'iframe',
Script = 'script',
}
export type AptlyAppInjection = AptlyAppInjectionSchema<string>;
export interface AptlyAppInjectionSchema<ID> {
export type AptlyAppMenu = AptlyAppMenuSchema<string, string>;
export interface AptlyAppMenuSchema<ID, DATE> {
_id: ID;
type: AptlyAppInjectionType;
menu: AptlyAppInjectionMenu;
menu: AptlyAppInjectionMenu[];
model: AptlyPermissionModel;
label: string;
icon?: string;
icon?: AptlyMediaSrcSchema<ID, DATE>;
src: string;
sandbox: AptlyAppSandbox[];
}

@@ -72,0 +72,0 @@

@@ -72,1 +72,6 @@ import { AptlyBaseSchema, AptlyDBCrawlerCleaner } from './extends';

}
export declare type AptlyProductImport = AptlyProductImportSchema<string, string>;
export interface AptlyProductImportSchema<ID, DATE> extends Partial<Omit<AptlyProductSchema<ID, DATE>, 'images' | 'documents'>> {
images: string[];
documents: string[];
}

@@ -78,1 +78,6 @@ import { AptlyBaseSchema, AptlyDBCrawlerCleaner } from './extends';

export type AptlyProductImport = AptlyProductImportSchema<string, string>;
export interface AptlyProductImportSchema<ID, DATE> extends Partial<Omit<AptlyProductSchema<ID, DATE>, 'images' | 'documents'>> {
images: string[];
documents: string[];
}
{
"name": "@aptly-as/types",
"version": "1.6.1",
"version": "1.6.2",
"description": "Aptly types and enums",

@@ -5,0 +5,0 @@ "main": "./index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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