@ndla/types-backend 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- export type GrepResultDTO = (IGrepKjerneelementDTO | IGrepKompetansemaalSettDTO | IGrepTverrfagligTemaDTO | IGrepKompetansemaalDTO | IGrepLaererplanDTO);
1
+ export type GrepResultDTO = (IGrepTverrfagligTemaDTO | IGrepKjerneelementDTO | IGrepKompetansemaalDTO | IGrepLaererplanDTO | IGrepKompetansemaalSettDTO);
2
2
  export type GrepSort = ("-relevance" | "relevance" | "-title" | "title" | "-code" | "code");
3
3
  export interface IApiTaxonomyContextDTO {
4
4
  publicId: string;
@@ -107,16 +107,17 @@ export interface IGrepKjerneelementDTO {
107
107
  code: string;
108
108
  title: ITitleDTO;
109
109
  description: IDescriptionDTO;
110
- laereplan: IGrepLaererplanDTO;
110
+ laereplan: IGrepReferencedLaereplanDTO;
111
111
  typename: "GrepKjerneelementDTO";
112
112
  }
113
113
  export interface IGrepKompetansemaalDTO {
114
114
  code: string;
115
115
  title: ITitleDTO;
116
- laereplan: IGrepLaererplanDTO;
116
+ laereplan: IGrepReferencedLaereplanDTO;
117
117
  kompetansemaalSett: IGrepReferencedKompetansemaalSettDTO;
118
118
  tverrfagligeTemaer: IGrepTverrfagligTemaDTO[];
119
119
  kjerneelementer: IGrepReferencedKjerneelementDTO[];
120
+ reuseOf?: IGrepReferencedKompetansemaalDTO;
120
121
  typename: "GrepKompetansemaalDTO";
121
122
  }
122
123
  export interface IGrepKompetansemaalSettDTO {
@@ -128,6 +129,7 @@ export interface IGrepKompetansemaalSettDTO {
128
129
  export interface IGrepLaererplanDTO {
129
130
  code: string;
130
131
  title: ITitleDTO;
132
+ replacedBy: IGrepReferencedLaereplanDTO[];
131
133
  typename: "GrepLaererplanDTO";
132
134
  }
133
135
  export interface IGrepReferencedKjerneelementDTO {
@@ -142,6 +144,10 @@ export interface IGrepReferencedKompetansemaalSettDTO {
142
144
  code: string;
143
145
  title: string;
144
146
  }
147
+ export interface IGrepReferencedLaereplanDTO {
148
+ code: string;
149
+ title: string;
150
+ }
145
151
  export interface IGrepSearchInputDTO {
146
152
  prefixFilter?: string[];
147
153
  codes?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AAsZ3C,IAAY,QA6BX;AA7BD,WAAY,QAAQ;IAClB,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,kCAAsB,CAAA;IACtB,gCAAoB,CAAA;IACpB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,4BAAgB,CAAA;IAChB,0BAAc,CAAA;IACd,wCAA4B,CAAA;IAC5B,sCAA0B,CAAA;IAC1B,8CAAkC,CAAA;IAClC,gDAAoC,CAAA;IACpC,kEAAsD,CAAA;IACtD,oEAAwD,CAAA;IACxD,kCAAsB,CAAA;IACtB,oCAAwB,CAAA;IACxB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,sDAA0C,CAAA;IAC1C,oDAAwC,CAAA;IACxC,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,gDAAoC,CAAA;IACpC,8CAAkC,CAAA;IAClC,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;AAC9B,CAAC,EA7BW,QAAQ,wBAAR,QAAQ,QA6BnB"}
1
+ {"version":3,"file":"search-api.js","sourceRoot":"","sources":["../search-api.ts"],"names":[],"mappings":";AAAA,2CAA2C;;;AA6Z3C,IAAY,QA6BX;AA7BD,WAAY,QAAQ;IAClB,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,kCAAsB,CAAA;IACtB,gCAAoB,CAAA;IACpB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,4BAAgB,CAAA;IAChB,0BAAc,CAAA;IACd,wCAA4B,CAAA;IAC5B,sCAA0B,CAAA;IAC1B,8CAAkC,CAAA;IAClC,gDAAoC,CAAA;IACpC,kEAAsD,CAAA;IACtD,oEAAwD,CAAA;IACxD,kCAAsB,CAAA;IACtB,oCAAwB,CAAA;IACxB,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,sDAA0C,CAAA;IAC1C,oDAAwC,CAAA;IACxC,8CAAkC,CAAA;IAClC,4CAAgC,CAAA;IAChC,gDAAoC,CAAA;IACpC,8CAAkC,CAAA;IAClC,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;IAC5B,0CAA8B,CAAA;IAC9B,wCAA4B,CAAA;AAC9B,CAAC,EA7BW,QAAQ,wBAAR,QAAQ,QA6BnB"}
package/package.json CHANGED
@@ -27,5 +27,5 @@
27
27
  "devDependencies": {
28
28
  "typescript": "^5.3.3"
29
29
  },
30
- "version": "1.0.6"
30
+ "version": "1.0.7"
31
31
  }