Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
types(share): make identifier document types for employee schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Sep 13, 2022
1 parent 688f49e commit c8b0955
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion shareable/types/documents/employee_schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@ import type { UserIdentifierDocument } from "$/types/documents/user"
import type {
Completeness,
Format,

Resource,
Relationships,
Attributes,
ResourceIdentifier,
DeserializedResource,

ResourceDocument,
ResourceListDocument,
DeserializedResourceDocument,
DeserializedResourceListDocument
DeserializedResourceListDocument,

IdentifierDocument,
IdentifierListDocument
} from "$/types/documents/base"

export interface EmployeeScheduleResourceIdentifier<T extends Completeness = "read">
Expand Down Expand Up @@ -66,3 +71,9 @@ export type DeserializedEmployeeScheduleListDocument = DeserializedResourceListD
EmployeeScheduleAttributes<"deserialized">,
DeserializedEmployeeScheduleResource
>

export type EmployeeScheduleIdentifierDocument
= IdentifierDocument<EmployeeScheduleResourceIdentifier<"read">>

export type EmployeeScheduleIdentifierListDocument
= IdentifierListDocument<EmployeeScheduleResourceIdentifier<"read">>

0 comments on commit c8b0955

Please sign in to comment.