Skip to content

Commit

Permalink
feat: Allow null for external reference in schedules
Browse files Browse the repository at this point in the history
  • Loading branch information
rostyk-kanafotskyy committed Apr 11, 2024
1 parent d9c98af commit 4b0482a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/types/subscription-schedules.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ import { SubscriptionJob } from './subscription-jobs'
* DOCS: TODO: add docs when ready
*/
export interface SubscriptionScheduleBase {
type: 'subscription_schedule',
type: 'subscription_schedule'
attributes: {
external_ref?: string,
name?: string,
specification: string,
location: string,
external_ref?: string | null
name?: string
specification: string
location: string
job: {
job_type: SubscriptionJob['attributes']['job_type']
}
Expand All @@ -29,11 +29,11 @@ export interface SubscriptionScheduleBase {

export interface SubscriptionSchedule extends Identifiable, SubscriptionScheduleBase {
meta: {
scheduled_for: string,
owner: 'store' | 'organization',
scheduled_for: string
owner: 'store' | 'organization'
timestamps: {
updated_at: string,
created_at: string,
updated_at: string
created_at: string
}
}
}
Expand Down

0 comments on commit 4b0482a

Please sign in to comment.