Skip to content

Commit

Permalink
Feature/452 erkenningen public models (#453)
Browse files Browse the repository at this point in the history
* added new erkenning public models

* dist files, package.json build options

* formatting
  • Loading branch information
roefem authored Aug 28, 2024
1 parent aee5089 commit cdba3ef
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 13 deletions.
23 changes: 21 additions & 2 deletions dist/commonjs/models/public-models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ export interface IErkenning {
type_erkenning_id: number;
uri: string;
}
export interface IErkenningNew {
id: number;
erkenningsnummer: string;
startdatum: string;
einddatum: string;
opmerkingen: string;
erkend_als: IErkendAls;
reden_erkenning: IRedenErkenning;
oorsprong_erkenning: IOorsprongErkenning;
}
export interface IOorsprongErkenning {
id: string;
uri: string;
}
export interface IErkendAls {
id: number;
erkend_als: string;
type_erkenning: string;
}
export interface ISystemFields {
created_at: string;
updated_at: string;
Expand All @@ -28,7 +47,7 @@ export interface IActor {
adressen: IActorAdres[];
afkorting: string;
emails: IEmail[];
erkenningen: IErkenning[];
erkenningen: IErkenning[] | IErkenningNew[];
id: number;
ids: IId[];
info: unknown[];
Expand All @@ -48,7 +67,7 @@ export interface IActor {
zichtbaarheid: IType;
}
export declare class Actor {
erkenningen: IErkenning[];
erkenningen: IErkenning[] | IErkenningNew[];
id: string;
omschrijving: string;
uri: string;
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/models/public-models.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/models/public-models.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 21 additions & 2 deletions dist/native-modules/models/public-models.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,25 @@ export interface IErkenning {
type_erkenning_id: number;
uri: string;
}
export interface IErkenningNew {
id: number;
erkenningsnummer: string;
startdatum: string;
einddatum: string;
opmerkingen: string;
erkend_als: IErkendAls;
reden_erkenning: IRedenErkenning;
oorsprong_erkenning: IOorsprongErkenning;
}
export interface IOorsprongErkenning {
id: string;
uri: string;
}
export interface IErkendAls {
id: number;
erkend_als: string;
type_erkenning: string;
}
export interface ISystemFields {
created_at: string;
updated_at: string;
Expand All @@ -28,7 +47,7 @@ export interface IActor {
adressen: IActorAdres[];
afkorting: string;
emails: IEmail[];
erkenningen: IErkenning[];
erkenningen: IErkenning[] | IErkenningNew[];
id: number;
ids: IId[];
info: unknown[];
Expand All @@ -48,7 +67,7 @@ export interface IActor {
zichtbaarheid: IType;
}
export declare class Actor {
erkenningen: IErkenning[];
erkenningen: IErkenning[] | IErkenningNew[];
id: string;
omschrijving: string;
uri: string;
Expand Down
Loading

0 comments on commit cdba3ef

Please sign in to comment.