Skip to content
Snippets Groups Projects
Commit 748e8703 authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

add grdf consent type

parent 2912d84c
No related branches found
No related tags found
1 merge request!137feat(grdf): display grdf consents
import { DateTime } from 'luxon'
export interface IGrdfConsent
extends Omit<GrdfConsentEntity, 'CreatedAt' | 'endDate' | 'inseeCode'> {
startDate: DateTime
endDate: DateTime
}
export interface GrdfConsentEntity {
ID: number
CreatedAt: string
endDate: string
firstname: string
lastname: string
pointID: number
address: string
postalCode: string
inseeCode: string
city: string
safetyOnBoarding: boolean
}
export interface IGrdfConsentPagination
extends Omit<GrdfConsentPaginationEntity, 'rows'> {
rows: IGrdfConsent[]
}
export interface GrdfConsentPaginationEntity {
totalRows: number
totalPages: number
rows: GrdfConsentEntity[]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment