Skip to content

Commit 4813437

Browse files
committed
Add standardDato
1 parent 327025a commit 4813437

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

typespec/einnsyn.queryparameters.tsp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,18 @@ namespace QueryParameters {
169169
*/
170170
@query moetedatoTo?: timeString;
171171

172+
/**
173+
* Filter by the legacy "standardDato". This is the default date for each entity type.
174+
* For instance, for Moetemappe this would be "moetedato", for Journalpost this would be "journaldato".
175+
*/
176+
@query standardDatoFrom?: timeString;
177+
178+
/**
179+
* Filter by the legacy "standardDato". This is the default date for each entity type.
180+
* For instance, for Moetemappe this would be "moetedato", for Journalpost this would be "journaldato".
181+
*/
182+
@query standardDatoTo?: timeString;
183+
172184
/**
173185
* Filter by saksaar
174186
*/

typespec/einnsyn.web.operations.tsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ namespace Search {
202202
| "moetedato"
203203
| "oppdatertDato"
204204
| "publisertDato"
205+
| "standardDato"
205206
| "sakssekvensnummer"
206207
| "score"
207208
| "tittel" = "score";

0 commit comments

Comments
 (0)