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
143
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.1.6 to 1.2.0

models/media.d.ts

1

models/index.d.ts

@@ -6,2 +6,3 @@ export * from './booking';

export * from './inquiry';
export * from './media';
export * from './notification-trigger';

@@ -8,0 +9,0 @@ export * from './option-label';

@@ -11,2 +11,3 @@ "use strict";

__export(require("./inquiry"));
__export(require("./media"));
__export(require("./notification-trigger"));

@@ -13,0 +14,0 @@ __export(require("./option-label"));

@@ -7,2 +7,3 @@

export * from './inquiry';
export * from './media';
export * from './notification-trigger';

@@ -9,0 +10,0 @@ export * from './option-label';

7

models/organization.d.ts
import { AptlyPermissionModulesModels, AptlyPermissionOrganizationModels } from '../core';
import { AptlySignageSchema } from '../core/signage';
import { AptlyUserSchema } from './user';
import { AptlyMediaSrc } from './media';
export declare type AptlyOrganization = AptlyOrganizationSchema<string, string>;

@@ -9,3 +10,4 @@ export interface AptlyOrganizationSchema<ID, DATE> {

slug: string;
logo: string;
logo?: string | null;
logoMedia?: AptlyMediaSrc | null;
address: {

@@ -41,4 +43,5 @@ visit: {

export interface AptlyOrganizationMemberSchema<ID, DATE> {
_id: ID;
user: AptlyUserSchema<ID, DATE> | ID;
permissions: number | AptlyPermissionOrganizationModels | AptlyPermissionOrganizationModels[];
permissions: AptlyPermissionOrganizationModels[];
}
import { AptlyPermissionModulesModels, AptlyPermissionOrganizationModels } from '../core';
import { AptlySignageSchema } from '../core/signage';
import { AptlyUserSchema } from './user';
import { AptlyMediaSrc } from './media';

@@ -10,3 +11,4 @@ export type AptlyOrganization = AptlyOrganizationSchema<string, string>;

slug: string;
logo: string;
logo?: string | null;
logoMedia?: AptlyMediaSrc | null;
address: {

@@ -44,4 +46,5 @@ visit: {

export interface AptlyOrganizationMemberSchema<ID, DATE> {
_id: ID;
user: AptlyUserSchema<ID, DATE> | ID;
permissions: number | AptlyPermissionOrganizationModels | AptlyPermissionOrganizationModels[];
permissions: AptlyPermissionOrganizationModels[];
}
import { AptlyDBCrawlerCleaner, AptlyHistorySchema } from './extends';
import { AptlyMediaSrcSchema } from './media';
export declare type AptlyProduct = AptlyProductSchema<string, string>;

@@ -13,3 +14,3 @@ export interface AptlyProductSchema<ID, DATE> extends AptlyDBCrawlerCleaner, AptlyHistorySchema<ID, DATE> {

description: string;
images: IProductImageSchema<ID>[];
images: AptlyProductImageSchema<ID, DATE>[];
variants: AptlyProductVariantSchema<ID, DATE>[];

@@ -41,8 +42,7 @@ color?: string;

}
export declare type IProductImage = IProductImageSchema<string>;
export interface IProductImageSchema<ID> {
_id: ID;
export declare type AptlyProductImage = AptlyProductImageSchema<string, string>;
export interface AptlyProductImageSchema<ID, DATE> extends AptlyMediaSrcSchema<ID, DATE> {
image: string;
description: string;
featured: boolean;
description?: string;
featured?: boolean;
}

@@ -52,4 +52,5 @@ export declare type AptlyProductVariant = AptlyProductVariantSchema<string, string>;

_id: ID;
images: IProductImageSchema<ID>[];
title: string;
images: AptlyProductImageSchema<ID, DATE>[];
documents: ID[];
name?: string;

@@ -56,0 +57,0 @@ description?: string;

import { AptlyDBCrawlerCleaner, AptlyHistorySchema } from './extends';
import { AptlyMediaSrcSchema } from './media';

@@ -14,3 +15,3 @@ export type AptlyProduct = AptlyProductSchema<string, string>;

description: string;
images: IProductImageSchema<ID>[];
images: AptlyProductImageSchema<ID, DATE>[];
variants: AptlyProductVariantSchema<ID, DATE>[];

@@ -43,8 +44,7 @@ color?: string;

export type IProductImage = IProductImageSchema<string>;
export interface IProductImageSchema<ID> {
_id: ID;
export type AptlyProductImage = AptlyProductImageSchema<string, string>;
export interface AptlyProductImageSchema<ID, DATE> extends AptlyMediaSrcSchema<ID, DATE> {
image: string;
description: string;
featured: boolean;
description?: string;
featured?: boolean;
}

@@ -55,4 +55,5 @@

_id: ID;
images: IProductImageSchema<ID>[];
title: string;
images: AptlyProductImageSchema<ID, DATE>[];
documents: ID[];

@@ -59,0 +60,0 @@ name?: string;

@@ -7,2 +7,3 @@ import { AptlyOrganizationSchema } from './organization';

import { AptlyUnitOptionExtraItemSchema } from './unit';
import { AptlyMediaSrc } from './media';
export declare type AptlyProject = AptlyProjectSchema<string, string>;

@@ -73,9 +74,12 @@ export interface AptlyProjectSchema<ID, DATE> extends AptlyHistorySchema<ID, DATE> {

};
images?: {
logo?: string;
largeLogo?: string;
hero?: string;
fallback?: string;
images: {
logo?: string | null;
logoMedia?: AptlyMediaSrc | null;
largeLogo?: string | null;
hero?: string | null;
heroMedia?: AptlyMediaSrc | null;
fallback?: string | null;
fallbackMedia?: AptlyMediaSrc | null;
};
contact?: {
contact: {
name?: string;

@@ -82,0 +86,0 @@ phone?: string;

@@ -7,2 +7,3 @@ import { AptlyOrganizationSchema } from './organization';

import { AptlyUnitOptionExtraItemSchema } from './unit';
import { AptlyMediaSrc } from './media';

@@ -78,9 +79,12 @@ export type AptlyProject = AptlyProjectSchema<string, string>;

};
images?: {
logo?: string;
largeLogo?: string;
hero?: string;
fallback?: string;
images: {
logo?: string | null;
logoMedia?: AptlyMediaSrc | null;
largeLogo?: string | null;
hero?: string | null;
heroMedia?: AptlyMediaSrc | null;
fallback?: string | null;
fallbackMedia?: AptlyMediaSrc | null;
};
contact?: {
contact: {
name?: string;

@@ -87,0 +91,0 @@ phone?: string;

{
"name": "@aptly-as/types",
"version": "1.1.6",
"version": "1.2.0",
"description": "Aptly types and enums",

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

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