Skip to content

Commit

Permalink
fix: Change date from number to string
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio committed Dec 27, 2023
1 parent 52cf77b commit 29925f6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions report/schemas.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -997,8 +997,8 @@ export namespace Link {
export type LinkerAuthorization = {
name: string;
desc: string;
startDate?: number;
endDate?: number;
startDate?: string;
endDate?: string;
contactInfo: {
name: string;
[key: string]: string;
Expand Down
8 changes: 4 additions & 4 deletions src/misc/linker-authorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { JSONSchema, ValidateFunction, generateLazyValidator } from '../validati
export type LinkerAuthorization = {
name: string
desc: string
startDate?: number
endDate?: number
startDate?: string
endDate?: string
contactInfo: {
name: string
[key: string]: string
Expand All @@ -24,8 +24,8 @@ export namespace LinkerAuthorization {
properties: {
name: { type: 'string' },
desc: { type: 'string' },
startDate: { type: 'number', nullable: true },
endDate: { type: 'number', nullable: true },
startDate: { type: 'string', nullable: true },
endDate: { type: 'string', nullable: true },
contactInfo: {
type: 'object',
properties: {
Expand Down

0 comments on commit 29925f6

Please sign in to comment.