@aptly-as/types
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -20,2 +20,3 @@ export declare enum AptlyModules { | ||
Admin = "admin", | ||
AdminApps = "adminApps", | ||
AdminBilling = "adminBilling", | ||
@@ -22,0 +23,0 @@ AdminModules = "adminModules", |
@@ -22,2 +22,3 @@ export var AptlyModules; | ||
AptlyScopes["Admin"] = "admin"; | ||
AptlyScopes["AdminApps"] = "adminApps"; | ||
AptlyScopes["AdminBilling"] = "adminBilling"; | ||
@@ -24,0 +25,0 @@ AptlyScopes["AdminModules"] = "adminModules"; |
@@ -5,3 +5,5 @@ export declare enum AptlyFieldType { | ||
Image = "image", | ||
Media = "media", | ||
Text = "text", | ||
StringArray = "string-array", | ||
Password = "password", | ||
@@ -8,0 +10,0 @@ TextArea = "text-area", |
@@ -6,3 +6,5 @@ export var AptlyFieldType; | ||
AptlyFieldType["Image"] = "image"; | ||
AptlyFieldType["Media"] = "media"; | ||
AptlyFieldType["Text"] = "text"; | ||
AptlyFieldType["StringArray"] = "string-array"; | ||
AptlyFieldType["Password"] = "password"; | ||
@@ -9,0 +11,0 @@ AptlyFieldType["TextArea"] = "text-area"; |
@@ -13,4 +13,4 @@ import { AptlyBaseSchema } from './extends.js'; | ||
user: ID; | ||
logo?: AptlyMediaSrcSchema<ID, DATE>; | ||
banner?: AptlyMediaSrcSchema<ID, DATE>; | ||
logo?: AptlyMediaSrcSchema<ID, DATE> | null; | ||
banner?: AptlyMediaSrcSchema<ID, DATE> | null; | ||
settings: AptlyAppSettingSchema<ID>[]; | ||
@@ -27,2 +27,3 @@ webhooks: AptlyAppWebhookSchema<ID>[]; | ||
} | ||
export type AptlyAppWebhook = AptlyAppWebhookSchema<string>; | ||
export interface AptlyAppWebhookSchema<ID> { | ||
@@ -67,3 +68,3 @@ _id: ID; | ||
label: string; | ||
icon?: AptlyMediaSrcSchema<ID, DATE>; | ||
icon?: AptlyMediaSrcSchema<ID, DATE> | null; | ||
src: string; | ||
@@ -70,0 +71,0 @@ sandbox: AptlyAppSandbox[]; |
{ | ||
"name": "@aptly-as/types", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Aptly types and enums", | ||
@@ -5,0 +5,0 @@ "type": "module", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
87321
2326