@aptly-as/types
Advanced tools
Comparing version 2.0.8 to 2.1.0
@@ -105,1 +105,6 @@ export * from './document.js'; | ||
} | ||
export declare enum AptlyProjectStatus { | ||
NotStarted = "notStarted", | ||
Started = "started", | ||
Completed = "completed" | ||
} |
@@ -121,1 +121,7 @@ export * from './document.js'; | ||
})(AptlyIcon || (AptlyIcon = {})); | ||
export var AptlyProjectStatus; | ||
(function (AptlyProjectStatus) { | ||
AptlyProjectStatus["NotStarted"] = "notStarted"; | ||
AptlyProjectStatus["Started"] = "started"; | ||
AptlyProjectStatus["Completed"] = "completed"; | ||
})(AptlyProjectStatus || (AptlyProjectStatus = {})); |
import { AptlyOrganizationSchema } from './organization.js'; | ||
import { AptlyProjectSchema } from './project.js'; | ||
import { AptlyUnitSchema } from './unit.js'; | ||
import { AptlyUserSchema } from './user.js'; | ||
export type AptlyBooking = AptlyBookingSchema<string, string>; | ||
@@ -41,3 +42,3 @@ export interface AptlyBookingSchema<ID, DATE> { | ||
}; | ||
attendees: ID[]; | ||
attendees: (ID | AptlyUserSchema<ID, DATE>)[]; | ||
availableTimes: AptlyAvailabilityCalendarAvailableTimesSchema<ID, DATE>[]; | ||
@@ -44,0 +45,0 @@ endAvailabilityAt?: DATE; |
@@ -30,1 +30,6 @@ import { AptlyUserSchema } from './user.js'; | ||
} | ||
export interface AptlyAddress { | ||
street?: string; | ||
zip?: string; | ||
city?: string; | ||
} |
@@ -6,3 +6,3 @@ import { AptlyModules } from '../core/index.js'; | ||
import { AptlyMediaSrc } from './media.js'; | ||
import { AptlyBaseSchema, AptlyHistorySchema } from './extends.js'; | ||
import { AptlyAddress, AptlyBaseSchema, AptlyHistorySchema } from './extends.js'; | ||
import { AptlyDepartmentGeneric } from './department.js'; | ||
@@ -20,12 +20,4 @@ import { AptlyProducerSchema } from './producer.js'; | ||
address: { | ||
visit: { | ||
street: string; | ||
zip: string; | ||
city: string; | ||
}; | ||
post: { | ||
street: string; | ||
zip: string; | ||
city: string; | ||
}; | ||
visit: AptlyAddress; | ||
post: AptlyAddress; | ||
}; | ||
@@ -32,0 +24,0 @@ phone: string; |
@@ -0,1 +1,2 @@ | ||
import { AptlyProjectStatus } from '../enums/index.js'; | ||
import { AptlyAlgorithm, AptlyAlgorithmPipeline, AptlyAlgorithmPipelineSchema, AptlyAlgorithmSchema } from './algorithm.js'; | ||
@@ -6,3 +7,3 @@ import { AptlyOrganizationSchema } from './organization.js'; | ||
import { AptlyUserSchema } from './user.js'; | ||
import { AptlyBaseSchema, AptlyHistorySchema } from './extends.js'; | ||
import { AptlyAddress, AptlyBaseSchema, AptlyHistorySchema } from './extends.js'; | ||
import { AptlyDocumentSchema } from './document.js'; | ||
@@ -29,2 +30,7 @@ import { AptlyUnitOptionExtraItemSchema } from './unit.js'; | ||
userFavorites?: ID[]; | ||
status?: AptlyProjectStatus; | ||
number?: string; | ||
developer?: string; | ||
field?: string; | ||
address?: AptlyAddress; | ||
created: DATE; | ||
@@ -40,4 +46,6 @@ } | ||
palette?: { | ||
type?: 'dark' | 'light'; | ||
primary?: AptlyProjectThemePalette; | ||
secondary?: AptlyProjectThemePalette; | ||
error?: AptlyProjectThemePalette; | ||
font?: string; | ||
@@ -44,0 +52,0 @@ background?: string; |
{ | ||
"name": "@aptly-as/types", | ||
"version": "2.0.8", | ||
"version": "2.1.0", | ||
"description": "Aptly types and enums", | ||
@@ -5,0 +5,0 @@ "type": "module", |
97301
2545