cry-klikvet-logic 0.10.278 → 0.10.279
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.
- package/dist/preracunajZalogo.d.ts +2 -2
- package/dist/preracunajZalogo.d.ts.map +1 -1
- package/dist/q-isciPoObravnavah.d.ts +1 -1
- package/dist/q-isciPoObravnavah.d.ts.map +1 -1
- package/dist/q-isciPoRacunih.d.ts +54 -1
- package/dist/q-isciPoRacunih.d.ts.map +1 -1
- package/dist/q-promet.d.ts +62 -0
- package/dist/q-promet.d.ts.map +1 -1
- package/dist/q-racunovodji.js +1 -1
- package/dist/q-racunovodji.js.map +1 -1
- package/dist/razknjiziBlagovnico.d.ts +1 -1
- package/dist/razknjiziBlagovnico.d.ts.map +1 -1
- package/dist/smsCepljenjaNaDan.d.ts +1 -1
- package/dist/spremembaZalogeZaObdobje.d.ts +1 -1
- package/dist/spremembaZalogeZaObdobje.d.ts.map +1 -1
- package/dist/spremeniZalogo.d.ts +5 -5
- package/dist/spremeniZalogo.d.ts.map +1 -1
- package/dist/types/Obvestilo.d.ts +1 -1
- package/dist/types/Obvestilo.d.ts.map +1 -1
- package/dist/types/VrstaRazknjizbeZdravila.d.ts +1 -1
- package/dist/types/VrstaRazknjizbeZdravila.d.ts.map +1 -1
- package/dist/types/VrsteDokumentov.d.ts +8 -8
- package/dist/types/VrsteDokumentov.d.ts.map +1 -1
- package/dist/types/artikel.d.ts +1 -1
- package/dist/types/artikel.d.ts.map +1 -1
- package/dist/types/blagovnica.d.ts +2 -2
- package/dist/types/blagovnica.d.ts.map +1 -1
- package/dist/types/cepljenje.d.ts +1 -1
- package/dist/types/cepljenje.d.ts.map +1 -1
- package/dist/types/enota.js +1 -1
- package/dist/types/enota.js.map +1 -1
- package/dist/types/karence.d.ts +5 -5
- package/dist/types/karence.d.ts.map +1 -1
- package/dist/types/lokacija.d.ts +1 -1
- package/dist/types/lokacija.d.ts.map +1 -1
- package/dist/types/naprava.d.ts +1 -1
- package/dist/types/naprava.d.ts.map +1 -1
- package/dist/types/nastavitve.d.ts +2 -1
- package/dist/types/nastavitve.d.ts.map +1 -1
- package/dist/types/obravnava.d.ts +2 -2
- package/dist/types/obravnava.d.ts.map +1 -1
- package/dist/types/obravnava.js +1 -1
- package/dist/types/obravnava.js.map +1 -1
- package/dist/types/shared.d.ts +10 -10
- package/dist/types/shared.d.ts.map +1 -1
- package/dist/types/teren.d.ts +7 -7
- package/dist/types/teren.d.ts.map +1 -1
- package/dist/vsotaDobavZaObdobje.d.ts +1 -1
- package/dist/vsotaDobavZaObdobje.d.ts.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
@@ -3,7 +3,7 @@ import { VrstaSpremembeZaloge } from "./types/VrstaSpremembeZaloge.js";
|
|
3
3
|
export interface PodatkiPreracunaZaloge {
|
4
4
|
vrstaSpremembe: VrstaSpremembeZaloge;
|
5
5
|
}
|
6
|
-
export
|
6
|
+
export type PodatkiPreracunaZalogeBrezSpremembeCene = {
|
7
7
|
vrstaSpremembe: VrstaSpremembeZaloge;
|
8
8
|
zaloga: Zaloga;
|
9
9
|
/** vrednost spremebe, vedno v plus razen pri storanacijah */
|
@@ -11,7 +11,7 @@ export declare type PodatkiPreracunaZalogeBrezSpremembeCene = {
|
|
11
11
|
/** mora priti iz artikla, ne iz zaloge same, ker / dokler imajo vsi artikli isto nbc */
|
12
12
|
stara_nbc: number;
|
13
13
|
};
|
14
|
-
export
|
14
|
+
export type PodatkiPreracunaZalogeSZprememboCene = PodatkiPreracunaZalogeBrezSpremembeCene & {
|
15
15
|
vrstaSpremembe: VrstaSpremembeZaloge.NABAVA;
|
16
16
|
nova_nbc: number;
|
17
17
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"preracunajZalogo.d.ts","sourceRoot":"","sources":["../src/preracunajZalogo.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,E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AAC;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CACpB;;;;;;;;;;;;;;;;;EAIJ;AAED,iBAAS,0BAA0B,CAAC,QAAQ,EAAE;IAC1C,cAAc,EAAE,oBAAoB,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACrB;;;;;;;;;;;;EA6CA;AAED,iBAAS,wBAAwB,CAAC,QAAQ,EAAE,oCAAoC;;;;;;;;;;;;;;;;;EA4C/E;AAED,wBAAgB,oBAAoB,CAChC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,UAAU,CAAC,OAAO,0BAA0B,CAAC,UAK3D;AAED,wBAAgB,4BAA4B,CACxC,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,UAAU,CAAC,OAAO,wBAAwB,CAAC,UAOzD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"q-isciPoObravnavah.d.ts","sourceRoot":"","sources":["../src/q-isciPoObravnavah.ts"],"names":[],"mappings":"AAOA,
|
1
|
+
{"version":3,"file":"q-isciPoObravnavah.d.ts","sourceRoot":"","sources":["../src/q-isciPoObravnavah.ts"],"names":[],"mappings":"AAOA,KAAK,WAAW,GAAG,OAAO,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAA;CAChB,CAAC,CAAC;AAEH;;;GAGG;AACH,iBAAS,yBAAyB,CAAC,EAG/B,KAAY,GAEf,EAAE,OAAO,CAAC,WAAW,CAAC;;;;;;;EAyDtB;AAED;;;;GAIG;AACH,iBAAe,YAAY,CAAC,MAAM,EAAC,MAAM,EAAC,QAAQ,EAAC,MAAM,EAAE;;;;;;;;;;GA4B1D;AAED,iBAAS,SAAS,CAAC,GAAG,EAAC,GAAG,YAiBzB;AAED,OAAO,EACH,yBAAyB,EACzB,YAAY,EACZ,SAAS,EACZ,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Obj } from 'cry-db/dist/types.mjs';
|
2
|
-
|
2
|
+
type PipelneSpec = Partial<{
|
3
3
|
odDne: Date;
|
4
4
|
doDne: Date;
|
5
5
|
stevilka: string;
|
@@ -20,6 +20,22 @@ declare type PipelneSpec = Partial<{
|
|
20
20
|
*/
|
21
21
|
declare function createAggregationPipeline({ odDne, doDne, stevilka, pripis, izdal, stranka, pacient, mpc, artikel, kategorije, skupineIzdelkov, skupineStrank, limit, }: PipelneSpec): {
|
22
22
|
pipeline: ({
|
23
|
+
$match: {
|
24
|
+
$and: {
|
25
|
+
datum: {
|
26
|
+
$gte: Date | undefined;
|
27
|
+
$lt: Date | undefined;
|
28
|
+
};
|
29
|
+
}[];
|
30
|
+
q?: undefined;
|
31
|
+
'izdelek.skupine'?: undefined;
|
32
|
+
'stranka.skupine'?: undefined;
|
33
|
+
};
|
34
|
+
$set?: undefined;
|
35
|
+
$lookup?: undefined;
|
36
|
+
$sort?: undefined;
|
37
|
+
$limit?: undefined;
|
38
|
+
} | {
|
23
39
|
$match: Obj;
|
24
40
|
$set?: undefined;
|
25
41
|
$lookup?: undefined;
|
@@ -59,6 +75,17 @@ declare function createAggregationPipeline({ odDne, doDne, stevilka, pripis, izd
|
|
59
75
|
$lookup?: undefined;
|
60
76
|
$sort?: undefined;
|
61
77
|
$limit?: undefined;
|
78
|
+
} | {
|
79
|
+
$match: {
|
80
|
+
q: RegExp;
|
81
|
+
$and?: undefined;
|
82
|
+
'izdelek.skupine'?: undefined;
|
83
|
+
'stranka.skupine'?: undefined;
|
84
|
+
};
|
85
|
+
$set?: undefined;
|
86
|
+
$lookup?: undefined;
|
87
|
+
$sort?: undefined;
|
88
|
+
$limit?: undefined;
|
62
89
|
} | {
|
63
90
|
$lookup: {
|
64
91
|
from: string;
|
@@ -70,6 +97,32 @@ declare function createAggregationPipeline({ odDne, doDne, stevilka, pripis, izd
|
|
70
97
|
$set?: undefined;
|
71
98
|
$sort?: undefined;
|
72
99
|
$limit?: undefined;
|
100
|
+
} | {
|
101
|
+
$match: {
|
102
|
+
'izdelek.skupine': {
|
103
|
+
$in: string[];
|
104
|
+
};
|
105
|
+
$and?: undefined;
|
106
|
+
q?: undefined;
|
107
|
+
'stranka.skupine'?: undefined;
|
108
|
+
};
|
109
|
+
$set?: undefined;
|
110
|
+
$lookup?: undefined;
|
111
|
+
$sort?: undefined;
|
112
|
+
$limit?: undefined;
|
113
|
+
} | {
|
114
|
+
$match: {
|
115
|
+
'stranka.skupine': {
|
116
|
+
$in: string[];
|
117
|
+
};
|
118
|
+
$and?: undefined;
|
119
|
+
q?: undefined;
|
120
|
+
'izdelek.skupine'?: undefined;
|
121
|
+
};
|
122
|
+
$set?: undefined;
|
123
|
+
$lookup?: undefined;
|
124
|
+
$sort?: undefined;
|
125
|
+
$limit?: undefined;
|
73
126
|
} | {
|
74
127
|
$sort: {
|
75
128
|
_id: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"q-isciPoRacunih.d.ts","sourceRoot":"","sources":["../src/q-isciPoRacunih.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAK5C,
|
1
|
+
{"version":3,"file":"q-isciPoRacunih.d.ts","sourceRoot":"","sources":["../src/q-isciPoRacunih.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAK5C,KAAK,WAAW,GAAG,OAAO,CAAC;IACvB,KAAK,EAAE,IAAI,CAAC;IACZ,KAAK,EAAE,IAAI,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC,CAAC;AAEH;;;GAGG;AACH,iBAAS,yBAAyB,CAAC,EAC/B,KAAK,EACL,KAAK,EACL,QAAQ,EACR,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,EACP,GAAG,EACH,OAAO,EACP,UAAU,EACV,eAAe,EACf,aAAa,EACb,KAAU,GACb,EAAG,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgEd;AAeD;;;;GAIG;AACH,iBAAe,YAAY,CAAC,MAAM,EAAC,MAAM,EAAC,QAAQ,EAAC,MAAM,EAAE;;;;;;;;;;GA4B1D;AAED,iBAAS,SAAS,CAAC,GAAG,EAAC,GAAG,YAiBzB;AAED,OAAO,EACH,yBAAyB,EACzB,YAAY,EACZ,SAAS,EACZ,CAAC"}
|
package/dist/q-promet.d.ts
CHANGED
@@ -69,6 +69,20 @@ declare function createAggregationPipeline({ match, groupBy, skupineIzdelkov, sk
|
|
69
69
|
mustUnwindSkupineIzdelkov: boolean;
|
70
70
|
};
|
71
71
|
pipeline: ({
|
72
|
+
$match: {
|
73
|
+
$and: {}[];
|
74
|
+
'stranka.skupine'?: undefined;
|
75
|
+
'postavke.kategorija'?: undefined;
|
76
|
+
'postavke.izdelek.skupine'?: undefined;
|
77
|
+
};
|
78
|
+
$set?: undefined;
|
79
|
+
$lookup?: undefined;
|
80
|
+
$unwind?: undefined;
|
81
|
+
$group?: undefined;
|
82
|
+
$project?: undefined;
|
83
|
+
$limit?: undefined;
|
84
|
+
$sort?: undefined;
|
85
|
+
} | {
|
72
86
|
$match: Obj;
|
73
87
|
$set?: undefined;
|
74
88
|
$lookup?: undefined;
|
@@ -138,6 +152,38 @@ declare function createAggregationPipeline({ match, groupBy, skupineIzdelkov, sk
|
|
138
152
|
$project?: undefined;
|
139
153
|
$limit?: undefined;
|
140
154
|
$sort?: undefined;
|
155
|
+
} | {
|
156
|
+
$match: {
|
157
|
+
'stranka.skupine': {
|
158
|
+
$in: string[];
|
159
|
+
};
|
160
|
+
$and?: undefined;
|
161
|
+
'postavke.kategorija'?: undefined;
|
162
|
+
'postavke.izdelek.skupine'?: undefined;
|
163
|
+
};
|
164
|
+
$set?: undefined;
|
165
|
+
$lookup?: undefined;
|
166
|
+
$unwind?: undefined;
|
167
|
+
$group?: undefined;
|
168
|
+
$project?: undefined;
|
169
|
+
$limit?: undefined;
|
170
|
+
$sort?: undefined;
|
171
|
+
} | {
|
172
|
+
$match: {
|
173
|
+
'postavke.kategorija': {
|
174
|
+
$in: string[];
|
175
|
+
};
|
176
|
+
$and?: undefined;
|
177
|
+
'stranka.skupine'?: undefined;
|
178
|
+
'postavke.izdelek.skupine'?: undefined;
|
179
|
+
};
|
180
|
+
$set?: undefined;
|
181
|
+
$lookup?: undefined;
|
182
|
+
$unwind?: undefined;
|
183
|
+
$group?: undefined;
|
184
|
+
$project?: undefined;
|
185
|
+
$limit?: undefined;
|
186
|
+
$sort?: undefined;
|
141
187
|
} | {
|
142
188
|
$set: {
|
143
189
|
'postavke.izdelek': {
|
@@ -154,6 +200,22 @@ declare function createAggregationPipeline({ match, groupBy, skupineIzdelkov, sk
|
|
154
200
|
$project?: undefined;
|
155
201
|
$limit?: undefined;
|
156
202
|
$sort?: undefined;
|
203
|
+
} | {
|
204
|
+
$match: {
|
205
|
+
'postavke.izdelek.skupine': {
|
206
|
+
$in: string[];
|
207
|
+
};
|
208
|
+
$and?: undefined;
|
209
|
+
'stranka.skupine'?: undefined;
|
210
|
+
'postavke.kategorija'?: undefined;
|
211
|
+
};
|
212
|
+
$set?: undefined;
|
213
|
+
$lookup?: undefined;
|
214
|
+
$unwind?: undefined;
|
215
|
+
$group?: undefined;
|
216
|
+
$project?: undefined;
|
217
|
+
$limit?: undefined;
|
218
|
+
$sort?: undefined;
|
157
219
|
} | {
|
158
220
|
$group: {
|
159
221
|
_id: Partial<Record<"artikel" | "leto" | "mesec" | "kvartal" | "ura" | "teden" | "davčna stopnja" | "dan v tednu" | "dan v mesecu" | "kategorija artikla" | "skupina artikla" | "ime stranke" | "skupina stranke" | "račun odprl" | "račun dopolnil" | "račun izdal", any>>;
|
package/dist/q-promet.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"q-promet.d.ts","sourceRoot":"","sources":["../src/q-promet.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAM5C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAiBtB,CAAA;AAED,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;CAgBpB,CAAA;AAED,UAAU,YAAY;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,OAAO,iBAAiB,CAAC,EAAE,CAAC;IACtD,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;CACtB;AAED,iBAAS,yBAAyB,CAC9B,EACI,KA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmRlB;AAED,iBAAe,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAC,MAAM,EAAC,MAAM;;;;;;;;;;;;;;GA0B3D;AAED,iBAAS,SAAS,CAAC,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,YAiBjC;AAED,OAAO,EACH,iBAAiB,EACjB,eAAe,EACf,yBAAyB,EACzB,YAAY,EACZ,SAAS,EACZ,CAAC"}
|
package/dist/q-racunovodji.js
CHANGED
@@ -8,7 +8,7 @@ function createAggregationPipeline({ odDne, doDne, rounding = 2, stevilka }) {
|
|
8
8
|
// odDne = dayjs(odDne).startOf("day").toDate();
|
9
9
|
// doDne = dayjs(doDne).endOf("day").toDate();
|
10
10
|
odDne = new Date(odDne);
|
11
|
-
doDne = new Date(doDne);
|
11
|
+
doDne = new Date(new Date(doDne).valueOf() + 60 * 1000);
|
12
12
|
const allTimeCriteria = [
|
13
13
|
{ datum: { $gte: odDne, $lt: doDne } },
|
14
14
|
];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"q-racunovodji.js","sourceRoot":"","sources":["../src/q-racunovodji.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAEzC,OAAO,SAAS,MAAM,kBAAkB,CAAC;AACzC,OAAO,OAAO,MAAM,cAAc,CAAC;AAEnC,IAAI,GAAG,GAAG,IAAI,GAAG,CAAC,CAAC,SAA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CAAyC;AACzC,+CAA+C;AAC/C,SAAS;AAET,iDAAiD;AACjD,uEAAuE;AACvE,yDAAyD;AAEzD,gEAAgE;AAChE,4BAA4B;AAG5B,0EAA0E;AAC1E,8CAA8C;AAE9C,2EAA2E;AAC3E,sCAAsC;AAGtC,8EAA8E;AAC9E,sCAAsC;AAEtC,sBAAsB;AACtB,QAAQ"}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ZalogaDbAccessor } from "./types/ZalogaDbAccessor.js";
|
2
|
-
export declare function razknjiziBlagovnico(_id: string, mongo: ZalogaDbAccessor): Promise<import("./index").Blagovnica>;
|
2
|
+
export declare function razknjiziBlagovnico(_id: string, mongo: ZalogaDbAccessor): Promise<import("./index.js").Blagovnica>;
|
3
3
|
//# sourceMappingURL=razknjiziBlagovnico.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"razknjiziBlagovnico.d.ts","sourceRoot":"","sources":["../src/razknjiziBlagovnico.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAG/D,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,
|
1
|
+
{"version":3,"file":"razknjiziBlagovnico.d.ts","sourceRoot":"","sources":["../src/razknjiziBlagovnico.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAG/D,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,gBAAgB,4CAmC7E"}
|
@@ -16,7 +16,7 @@ export declare function smsCepljenjaNaDan({ tenant, dan, resend, dniPrej }: smsN
|
|
16
16
|
koledarText: string;
|
17
17
|
posiljatelj: string | undefined;
|
18
18
|
zaKdaj: Date | undefined;
|
19
|
-
cepljenje: import("./index").Cepljenje;
|
19
|
+
cepljenje: import("./index.js").Cepljenje;
|
20
20
|
pacient: Pacient;
|
21
21
|
lokacija: Lokacija;
|
22
22
|
}[]>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"spremembaZalogeZaObdobje.d.ts","sourceRoot":"","sources":["../src/spremembaZalogeZaObdobje.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAKpE,
|
1
|
+
{"version":3,"file":"spremembaZalogeZaObdobje.d.ts","sourceRoot":"","sources":["../src/spremembaZalogeZaObdobje.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAKpE,MAAM,MAAM,4BAA4B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,IAAI,CAAC;IACZ,KAAK,EAAE,IAAI,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACjC,SAAS,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,kCAAkC,CAAC,EAAE,OAAO,CAAC;CAChD,CAAA;AAED,wBAAsB,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,sBAiFhF"}
|
package/dist/spremeniZalogo.d.ts
CHANGED
@@ -6,16 +6,16 @@ import { Id } from "./types/shared.js";
|
|
6
6
|
import { Zaloga } from "./types/zaloga.js";
|
7
7
|
import { ZalogaDbAccessor } from "./types/ZalogaDbAccessor.js";
|
8
8
|
import { VrstaBlagovnegaDogodka, VrstaBlagovnice, VrstaIzhodneBlagovnice } from './types/VrsteDokumentov.js';
|
9
|
-
export
|
10
|
-
export
|
11
|
-
export
|
9
|
+
export type NastavitveZaDobavo = Pick<Nastavitve, "zaokrozitevCen" | "pribitekCeneNaIzdelke" | "pribitekCeneNaZdravila" | "posodobiCeneObDobavi" | "pragZaSprememboCenObPocenitvi" | "pragZaSprememboCenObPodrazitvi" | "razknjizbaZdravil" | "spremljamoSerijske" | "neRazknjizujObDobavi">;
|
10
|
+
export type PostavkaRacunaZaKnjizbo = Pick<PostavkaRacuna, "artikel_id" | "opis" | "kolicina" | "kategorija" | "neRazknjiziObIzdajiRacuna" | "stevilkaZdravila" | "vtipkaneStevilkeZdravila">;
|
11
|
+
export type RacunZaKnjizbo = Pick<Racun, "datum" | "skladisce_id" | "_id" | "razknjizen" | "izdal" | "stevilka"> & {
|
12
12
|
postavke: PostavkaRacunaZaKnjizbo[];
|
13
13
|
} & {
|
14
14
|
stranka?: {
|
15
15
|
_id: Id;
|
16
16
|
};
|
17
17
|
};
|
18
|
-
export
|
18
|
+
export type ArtikelZaRazknjizbo = Pick<ArtikelKarkoli, "_id" | "zalogoRazknjizi" | "nbc" | "zadnjaNbc" | "zadnjaNbcObSpremembiMpc" | "vodenjeZaloge" | "faktorRazknjizbe" | "razknjiziZalogo" | "enotaFaktor" | "enotaZaloge" | "enotaNabave" | "zeleniPribitek" | "dst" | "mpc" | "mpcLocked" | "zadnjiDobavitelj" | "zadnjaDobava" | "zadnjaProdaja"> & {
|
19
19
|
kategorija: "izdelek" | "zdravilo";
|
20
20
|
};
|
21
21
|
export declare function knjiziPoEnotiNabave(vrsta: VrstaBlagovnice): boolean;
|
@@ -24,7 +24,7 @@ export declare function poisciInPreusmeriArtikel(_id: Id, faktorRazknjizbe: numb
|
|
24
24
|
artikel: ArtikelZaRazknjizbo | null;
|
25
25
|
faktorRazknjizbe: number;
|
26
26
|
}>;
|
27
|
-
|
27
|
+
type BlagovnicaPorabe = Pick<Poraba, "datum" | "skladisce_id" | "_id"> & {
|
28
28
|
vrsta: VrstaIzhodneBlagovnice | "vnos";
|
29
29
|
};
|
30
30
|
export declare function _poknjiziPoraboZaloge(zaloga: Zaloga, blagovniDogodek: VrstaBlagovnegaDogodka, postavka: Pick<KolicinskaPostavkaBlagovnice, "kolicina" | "enotaFaktor">, stara_nbc: number, mongo: ZalogaDbAccessor, artikel: Pick<ArtikelZaRazknjizbo, "kategorija" | "_id" | "nbc" | "zalogoRazknjizi">, blagovnica: Pick<BlagovnicaPorabe, "datum" | "vrsta" | "_id">): Promise<Zaloga>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"spremeniZalogo.d.ts","sourceRoot":"","sources":["../src/spremeniZalogo.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAqB,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAwC,4BAA4B,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACjJ,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,EAAE,EAAE,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAmB,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,sBAAsB,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAO7G,
|
1
|
+
{"version":3,"file":"spremeniZalogo.d.ts","sourceRoot":"","sources":["../src/spremeniZalogo.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAqB,MAAM,oBAAoB,CAAC;AACvE,OAAO,EAAE,UAAU,EAAwC,4BAA4B,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACjJ,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,KAAK,EAAE,M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iBAAiB,CAAC,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,gBAAgB,oBAKpF;AAED,wBAAsB,iCAAiC,CAAC,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,kBAAkB,EAAE,KAAK,EAAE,gBAAgB,iBAgDtI"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DbEntity, MultilineText, Username } from "./shared.js";
|
2
|
-
export
|
2
|
+
export type ObvestiloSeverity = "info" | "important" | "critical";
|
3
3
|
export interface Obvestilo extends DbEntity {
|
4
4
|
_id: string;
|
5
5
|
key?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Obvestilo.d.ts","sourceRoot":"","sources":["../../src/types/Obvestilo.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEhE,
|
1
|
+
{"version":3,"file":"Obvestilo.d.ts","sourceRoot":"","sources":["../../src/types/Obvestilo.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEhE,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,CAAA;AACjE,MAAM,WAAW,SAAU,SAAQ,QAAQ;IAEvC,GAAG,EAAE,MAAM,CAAC;IAEZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,+BAA+B;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,IAAI,CAAC;IAEX,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB,6CAA6C;IAC7C,WAAW,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,IAAI,CAAA;KAAE,EAAE,CAAC;IAE7C,8DAA8D;IAC9D,cAAc,CAAC,EAAE;QAAE,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,EAAE,CAAC;IAE5C,qBAAqB;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC,QAAQ,EAAC,MAAM,CAAC,CAAC;IAEnC,kCAAkC;IAClC,SAAS,CAAC,EAAE,IAAI,CAAC;IAEjB,iCAAiC;IACjC,UAAU,CAAC,EAAE,IAAI,CAAC;IAElB,QAAQ,EAAE,iBAAiB,CAAC;IAE5B,GAAG,EAAE,aAAa,CAAC;IAEnB,cAAc,CAAC,EAAE,YAAY,GAAG,OAAO,GAAG,cAAc,CAAA;CAG3D"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export
|
1
|
+
export type VrstaRazknjizbeZdravila = 'ob dobavi' | 'ob prodaji' | 'ročno';
|
2
2
|
//# sourceMappingURL=VrstaRazknjizbeZdravila.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VrstaRazknjizbeZdravila.d.ts","sourceRoot":"","sources":["../../src/types/VrstaRazknjizbeZdravila.ts"],"names":[],"mappings":"AACA,
|
1
|
+
{"version":3,"file":"VrstaRazknjizbeZdravila.d.ts","sourceRoot":"","sources":["../../src/types/VrstaRazknjizbeZdravila.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,uBAAuB,GAAG,WAAW,GAAG,YAAY,GAAG,OAAO,CAAC"}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
export
|
2
|
-
export
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export
|
7
|
-
export
|
8
|
-
export
|
1
|
+
export type VrstaIzhodneBlagovnice = "poraba" | "prevzem" | "izdaja" | "odpis" | "vračilo" | "iznos";
|
2
|
+
export type VrstaVhodneBlagovnice = "dobava" | "vnos";
|
3
|
+
export type VrstaBlagovnegaDogodka = VrstaVhodneBlagovnice | VrstaIzhodneBlagovnice | "inventura";
|
4
|
+
export type VrstaPoslovnegaDogodka = "prodaja" | "inventura" | VrstaBlagovnegaDogodka;
|
5
|
+
export type VstopnaVrstaBlagovnice = "dobava" | "poraba" | "izdaja" | "prenos" | "odpis" | "vračilo" | "naročilo" | "inventura";
|
6
|
+
export type VrstaBlagovnice = "dobava" | "poraba" | "prevzem" | "izdaja" | "prenos" | "odpis" | "vračilo" | "vnos" | "iznos" | "inventura" | "naročilo";
|
7
|
+
export type VhodniDokumentZaSerije = "dobava" | "inventura" | "prenos" | "vnos";
|
8
|
+
export type IzhodniDokumentZaSerije = "poraba" | "prevzem" | "izdaja" | "odpis" | "vračilo" | "prodaja" | "iznos" | "račun";
|
9
9
|
//# sourceMappingURL=VrsteDokumentov.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VrsteDokumentov.d.ts","sourceRoot":"","sources":["../../src/types/VrsteDokumentov.ts"],"names":[],"mappings":"AACA,
|
1
|
+
{"version":3,"file":"VrsteDokumentov.d.ts","sourceRoot":"","sources":["../../src/types/VrsteDokumentov.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,sBAAsB,GAC9B,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GAET,OAAO,CACN;AAEL,MAAM,MAAM,qBAAqB,GAC7B,QAAQ,GACR,MAAM,CACL;AAEL,MAAM,MAAM,sBAAsB,GAC9B,qBAAqB,GACrB,sBAAsB,GACtB,WAAW,CAAC;AAGhB,MAAM,MAAM,sBAAsB,GAC9B,SAAS,GAAG,WAAW,GAAG,sBAAsB,CAAA;AAEpD,MAAM,MAAM,sBAAsB,GAC9B,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,UAAU,GACV,WAAW,CACV;AAEL,MAAM,MAAM,eAAe,GACvB,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,MAAM,GACN,OAAO,GACP,WAAW,GACX,UAAU,CACT;AAEL,MAAM,MAAM,sBAAsB,GAC9B,QAAQ,GACR,WAAW,GACX,QAAQ,GACR,MAAM,CACL;AAEL,MAAM,MAAM,uBAAuB,GAC/B,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,SAAS,GACT,OAAO,GACP,OAAO,CACN"}
|
package/dist/types/artikel.d.ts
CHANGED
@@ -80,6 +80,6 @@ export declare function jeStoritev(a: {
|
|
80
80
|
kategorija: Kategorija;
|
81
81
|
}): a is Storitev;
|
82
82
|
export declare function vrniKategorijo(a: ArtikelOsnova): Izdelek | Storitev | Zdravilo | PotrosniMaterial;
|
83
|
-
export
|
83
|
+
export type Artikel = Izdelek | Zdravilo | Storitev | PotrosniMaterial;
|
84
84
|
export {};
|
85
85
|
//# sourceMappingURL=artikel.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"artikel.d.ts","sourceRoot":"","sources":["../../src/types/artikel.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAC,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAC3G,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,UAAU,QAAS,SAAQ,QAAQ;IAElC,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,OAAO,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAE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UAAU,CAAA;CAAE,GAAG,CAAC,IAAI,QAAQ,CAEvE;AACD,wBAAgB,cAAc,CAAC,CAAC,EAAE,aAAa,oDAM9C;AAED,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,gBAAgB,CAAC"}
|
@@ -112,8 +112,8 @@ export interface Narocilo extends OsnovaBlagovnice {
|
|
112
112
|
dobavitelj_id: Id;
|
113
113
|
postavke: VrednostnaPostavkaBlagovnice[];
|
114
114
|
}
|
115
|
-
export
|
116
|
-
export
|
115
|
+
export type Blagovnica = Prenos | Poraba | Inventura | Dobava | Narocilo;
|
116
|
+
export type IzhodnaBlagovnica = Poraba & {
|
117
117
|
vrsta: VrstaIzhodneBlagovnice;
|
118
118
|
};
|
119
119
|
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"blagovnica.d.ts","sourceRoot":"","sources":["../../src/types/blagovnica.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACnG,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAE/E,MAAM,WAAW,4BAA4B;IACzC,UAAU,EAAE,EAAE,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,GAAG,EAAE,KAAK,CAAC;IACX,GAAG,EAAE,OAAO,CAAC;IACb,IAAI,EAAE,KAAK,CAAC;IACZ,IAAI,EAAE,KAAK,CAAC;IACZ,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,uBAAuB,CAAC,EAAE,MAAM,EAAE,CAAC;IACnC,WAAW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a326448b8db140e2965452";
|
7
7
|
EnotePreddlocene["\u0160KL"] = "5fa326548b8db140e2965453";
|
8
|
-
})(EnotePreddlocene
|
8
|
+
})(EnotePreddlocene || (EnotePreddlocene = {}));
|
9
9
|
//# sourceMappingURL=enota.js.map
|
package/dist/types/enota.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enota.js","sourceRoot":"","sources":["../../src/types/enota.ts"],"names":[],"mappings":"AASA,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,oDAAgC,CAAA;IAChC,mDAA+B,CAAA;IAC/B,mDAA+B,CAAA;IAC/B,oDAAgC,CAAA;IAChC,yDAAgC,CAAA;AACpC,CAAC,EANW,gBAAgB,
|
1
|
+
{"version":3,"file":"enota.js","sourceRoot":"","sources":["../../src/types/enota.ts"],"names":[],"mappings":"AASA,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IACxB,oDAAgC,CAAA;IAChC,mDAA+B,CAAA;IAC/B,mDAA+B,CAAA;IAC/B,oDAAgC,CAAA;IAChC,yDAAgC,CAAA;AACpC,CAAC,EANW,gBAAgB,KAAhB,gBAAgB,QAM3B"}
|
package/dist/types/karence.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export
|
1
|
+
export type MozneKarenceZa = "meso" | "not. organi" | "mleko" | "jajca" | "med";
|
2
2
|
export declare const PotiAplikacijeZdravila: {
|
3
3
|
IV: string;
|
4
4
|
IM: string;
|
@@ -10,14 +10,14 @@ export declare const PotiAplikacijeZdravila: {
|
|
10
10
|
IU: string;
|
11
11
|
ED: string;
|
12
12
|
};
|
13
|
-
export
|
13
|
+
export type KarencaVrste = {
|
14
14
|
pot?: keyof typeof PotiAplikacijeZdravila;
|
15
15
|
vrsta: string;
|
16
16
|
karence: Partial<Record<MozneKarenceZa, number>>;
|
17
17
|
};
|
18
|
-
export
|
19
|
-
export
|
20
|
-
export
|
18
|
+
export type KarenceVrste = Record<string, Partial<Record<MozneKarenceZa, number>>>;
|
19
|
+
export type Karence = Partial<Record<MozneKarenceZa, number>>;
|
20
|
+
export type PodatkiKarence = {
|
21
21
|
karence?: Partial<Karence>;
|
22
22
|
zival?: string;
|
23
23
|
od?: Date;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"karence.d.ts","sourceRoot":"","sources":["../../src/types/karence.ts"],"names":[],"mappings":"AACA,
|
1
|
+
{"version":3,"file":"karence.d.ts","sourceRoot":"","sources":["../../src/types/karence.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,aAAa,GAAG,OAAO,GAAG,OAAO,GAAG,KAAK,CAAC;AAGhF,eAAO,MAAM,sBAAsB;;;;;;;;;;CAYlC,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACvB,GAAG,CAAC,EAAE,MAAM,OAAO,sBAAsB,CAAC;IAC1C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC;CACpD,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC,CAAA;AAClF,MAAM,MAAM,OAAO,GAAC,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,CAAA;AAE3D,MAAM,MAAM,cAAc,GAAG;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,EAAE,CAAC,EAAE,IAAI,CAAC;IACV,GAAG,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC"}
|
package/dist/types/lokacija.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { GlavaDokumenta } from "./GlavaDokumenta.js";
|
2
2
|
import { DbEntity } from "./shared.js";
|
3
|
-
export
|
3
|
+
export type VrstaLokacije = 'Sprejemnica' | 'Ambulanta' | 'Vozilo' | 'Hospital' | 'Teren' | 'Delo od doma';
|
4
4
|
export interface Lokacija extends DbEntity, GlavaDokumenta {
|
5
5
|
naziv: string;
|
6
6
|
vrsta: VrstaLokacije;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"lokacija.d.ts","sourceRoot":"","sources":["../../src/types/lokacija.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,
|
1
|
+
{"version":3,"file":"lokacija.d.ts","sourceRoot":"","sources":["../../src/types/lokacija.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,MAAM,MAAM,aAAa,GACrB,aAAa,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,cAAc,CAC7E;AAEL,MAAM,WAAW,QAAS,SAAQ,QAAQ,EAAE,cAAc;IACtD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
package/dist/types/naprava.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { DbEntity, Id, Username } from "./shared.js";
|
2
|
-
export
|
2
|
+
export type PrikazNaprave = "naroceni" | "obravnave" | "kontrole" | "izdajRacun" | "blago";
|
3
3
|
export interface Naprava extends DbEntity {
|
4
4
|
naziv: string;
|
5
5
|
koda?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"naprava.d.ts","sourceRoot":"","sources":["../../src/types/naprava.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAErD,
|
1
|
+
{"version":3,"file":"naprava.d.ts","sourceRoot":"","sources":["../../src/types/naprava.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAErD,MAAM,MAAM,aAAa,GACrB,UAAU,GACV,WAAW,GACX,UAAU,GACV,YAAY,GACZ,OAAO,CAAC;AAEZ,MAAM,WAAW,OAAQ,SAAQ,QAAQ;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,EAAE,CAAC;IAChB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,EAAE,EAAE,CAAA;IAEzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,EAAE,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAEtB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,EAAE,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,EAAE,EAAE,CAAC;IAEhB,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
@@ -109,6 +109,7 @@ export interface Nastavitve extends DbEntity, Naslov, GlavaDokumenta {
|
|
109
109
|
mojPrometKotRvc?: boolean;
|
110
110
|
mojPrometBrezDdv?: boolean;
|
111
111
|
osebjeVidiSamoSvojeRacune?: boolean;
|
112
|
+
priStrankahNajprejPriimek?: boolean;
|
112
113
|
}
|
113
|
-
export
|
114
|
+
export type NastavitveSettingsObject = Record<keyof Nastavitve, Obj>;
|
114
115
|
//# sourceMappingURL=nastavitve.d.ts.map
|