@kth/ladok-mellanlager-client 0.4.6 → 0.4.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.
|
@@ -8,7 +8,7 @@ type Beslutloggpost = {
|
|
|
8
8
|
Typ: string;
|
|
9
9
|
Uid: string;
|
|
10
10
|
};
|
|
11
|
-
type SokPlanBaseItem<T extends AttributdefinitionSlim> = {
|
|
11
|
+
export type SokPlanBaseItem<T extends AttributdefinitionSlim> = {
|
|
12
12
|
AktuellaAttributvarden: Attributvarde<T>[];
|
|
13
13
|
BeslutsinformationForPlan: {
|
|
14
14
|
Beslutloggposter: Beslutloggpost[];
|
|
@@ -30,6 +30,14 @@ type SokPlanBaseItem<T extends AttributdefinitionSlim> = {
|
|
|
30
30
|
Attributvarden: Attributvarde<T>[];
|
|
31
31
|
Uid: string;
|
|
32
32
|
};
|
|
33
|
+
IngaendeDelarForPlan?: {
|
|
34
|
+
AktuellaAttributvarden: Attributvarde<T>[];
|
|
35
|
+
Utbildningskod: string;
|
|
36
|
+
EngelskBenamning: string;
|
|
37
|
+
SvenskBenamning: string;
|
|
38
|
+
Omfattning: number;
|
|
39
|
+
UtbildningsinstansUID: string;
|
|
40
|
+
}[];
|
|
33
41
|
index: {
|
|
34
42
|
'utbildning.attribut.kod': string;
|
|
35
43
|
'utbildning.attribut.svensk.benamning': string;
|
package/dist/types/plan.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Tillstand: 'EJ_BESLUTAD' | 'BORTTAGEN' | 'BESLUTAD' | string;
|
|
8
|
-
Uid: string;
|
|
9
|
-
UtbildningsinstansUID: string;
|
|
10
|
-
};
|
|
1
|
+
import { Attributdefinition, AttributdefinitionSlim } from './attribut';
|
|
2
|
+
import { SokPlanBaseItem } from './endpoints/sokPlan';
|
|
3
|
+
type PlanBaseItem<T extends AttributdefinitionSlim> = Omit<SokPlanBaseItem<T>, 'plan_uid' | 'instans' | 'index'>;
|
|
4
|
+
export type Plan = PlanBaseItem<Attributdefinition>;
|
|
5
|
+
export type PlanSlim = PlanBaseItem<AttributdefinitionSlim>;
|
|
6
|
+
export {};
|