Skip to content

Commit

Permalink
feat: oups
Browse files Browse the repository at this point in the history
  • Loading branch information
alanlr committed Nov 22, 2023
1 parent 2bd6bb8 commit 99716bd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions shared/models/apicalls.model.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { z } from "../helpers/zodWithOpenApi"

import { zObjectId } from "./common"

export const ZApiCall = z
.object({
_id: zObjectId,
caller: z.string(),
api_path: z.string(),
response: z.string(),
result_count: z.number(),
job_count: z.number(),
training_count: z.number(),
created_at: z.date(),
})
.strict()
1 change: 1 addition & 0 deletions shared/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ export * from "./geolocations.model"
export * from "./unsubscribedLbaCompany.model"
export * from "./unsubscribeOF.model"
export * from "./usersRecruteur.model"
export * from "./apicalls.model"

0 comments on commit 99716bd

Please sign in to comment.