@aptly-as/types
Advanced tools
Comparing version 1.11.2 to 1.12.0
@@ -0,6 +1,7 @@ | ||
import type { CompleteMultipartUploadOutput } from '@aws-sdk/client-s3'; | ||
import { AptlyDocumentType } from '../enums/index.js'; | ||
import { AptlyBaseSchema } from './extends.js'; | ||
import { AptlyBaseSchema, AptlyDBCrawlerCleaner } from './extends.js'; | ||
import { AptlyProductSchema } from './product.js'; | ||
export type AptlyDocument = AptlyDocumentSchema<string, string>; | ||
export interface AptlyDocumentSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DATE>, 'archived'> { | ||
export interface AptlyDocumentSchema<ID, DATE> extends Omit<AptlyBaseSchema<ID, DATE>, 'archived'>, AptlyDBCrawlerCleaner { | ||
mime: string; | ||
@@ -22,6 +23,9 @@ _type: AptlyDocumentType; | ||
chunks?: (AptlyDocumentSchema<ID, DATE> | ID)[]; | ||
s3?: AptlyDocumentS3; | ||
isPasswordProtected?: boolean; | ||
expires?: DATE | null; | ||
downloadToken?: string; | ||
created: DATE; | ||
} | ||
export type AptlyDocumentS3 = Pick<CompleteMultipartUploadOutput, 'Bucket' | 'Key' | 'Location' | 'ETag' | 'Expiration'>; | ||
export type AptlyDocumentSchemaBoligmappaStatus = AptlyDocumentSchemaBoligmappaStatusSchema<string>; | ||
@@ -28,0 +32,0 @@ export interface AptlyDocumentSchemaBoligmappaStatusSchema<ID> { |
@@ -37,2 +37,3 @@ import { AptlyPermissionModulesModels, AptlyPermissionOrganizationModels, AptlyScope, AptlySignageSchema } from '../core/index.js'; | ||
apps: AptlyOrganizationAppConfigSchema<ID, DATE>[]; | ||
s3Bucket?: string; | ||
created: DATE; | ||
@@ -39,0 +40,0 @@ fixedVariants?: boolean; |
@@ -24,2 +24,3 @@ import { AptlyOrganizationSchema } from './organization.js'; | ||
extraOptions?: AptlyUnitOptionExtraItemSchema<ID, DATE>[]; | ||
s3Bucket?: string; | ||
created: DATE; | ||
@@ -26,0 +27,0 @@ } |
{ | ||
"name": "@aptly-as/types", | ||
"version": "1.11.2", | ||
"version": "1.12.0", | ||
"description": "Aptly types and enums", | ||
@@ -20,2 +20,3 @@ "type": "module", | ||
"devDependencies": { | ||
"@aws-sdk/client-s3": "^3.295.0", | ||
"cloudinary": "^1.32.0", | ||
@@ -22,0 +23,0 @@ "husky": "^8.0.2", |
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
88050
2283
6