@htilabs/platform-common-models 0.1.0-beta.3 → 0.2.0-beta.1
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/constants/index.cjs +183 -4465
- package/dist/constants/index.cjs.map +1 -1
- package/dist/constants/index.d.cts +612 -127
- package/dist/constants/index.d.ts +612 -127
- package/dist/constants/index.js +167 -4298
- package/dist/constants/index.js.map +1 -1
- package/dist/index.cjs +356 -4466
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +332 -4299
- package/dist/index.js.map +1 -1
- package/dist/models/index.cjs +306 -1
- package/dist/models/index.cjs.map +1 -1
- package/dist/models/index.d.cts +99 -11
- package/dist/models/index.d.ts +99 -11
- package/dist/models/index.js +304 -1
- package/dist/models/index.js.map +1 -1
- package/dist/{scoring-rule-liZlPytD.d.cts → platform-role-CcFTFHUr.d.cts} +185 -9
- package/dist/{scoring-rule-liZlPytD.d.ts → platform-role-CcFTFHUr.d.ts} +185 -9
- package/dist/schemas/index.cjs +297 -2666
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +5 -5
- package/dist/schemas/index.d.ts +5 -5
- package/dist/schemas/index.js +291 -2666
- package/dist/schemas/index.js.map +1 -1
- package/dist/types/index.cjs.map +1 -1
- package/dist/types/index.d.cts +45 -1
- package/dist/types/index.d.ts +45 -1
- package/package.json +1 -1
- package/src/constants/ic.ts +28 -3513
- package/src/constants/index.ts +1 -2
- package/src/constants/platform-auth.ts +189 -0
- package/src/models/index.ts +18 -1
- package/src/models/platformFunctionModel.ts +33 -0
- package/src/models/platformRoleModel.ts +33 -0
- package/src/schemas/index.ts +16 -0
- package/src/schemas/platform-function.ts +97 -0
- package/src/schemas/platform-role.ts +100 -0
- package/src/types/index.ts +14 -0
- package/src/types/platform-auth.ts +49 -0
- package/dist/index-Cww9rH3H.d.cts +0 -1695
- package/dist/index-Cww9rH3H.d.ts +0 -1695
- package/src/constants/service-catalog.json +0 -1349
- package/src/constants/service-catalog.ts +0 -225
package/dist/schemas/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as mongoose from 'mongoose';
|
|
2
2
|
import { InferRawDocType, Schema } from 'mongoose';
|
|
3
|
-
export { C as Choice, F as Form, a as FormSectionRef, G as Guidance, L as Layout, Q as Question, S as ScoringCondition,
|
|
3
|
+
export { C as Choice, F as Form, a as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, b as PlatformRole, Q as Question, S as ScoringCondition, c as ScoringRecommendation, d as ScoringRule, e as ScoringThreshold, f as Section, g as SectionQuestionRef, V as VisibilityRule, h as buildFormSchema, i as buildPlatformFunctionSchema, j as buildPlatformRoleSchema, k as buildQuestionSchema, l as buildScoringRuleSchema, m as buildSectionSchema, n as choiceSchema, o as formSchemaDefinition, p as formSchemaOptions, q as formSectionRefSchema, r as guidanceSchema, s as layoutSchema, t as platformFunctionSchemaDefinition, u as platformFunctionSchemaOptions, v as platformRoleSchemaDefinition, w as platformRoleSchemaOptions, x as questionSchemaDefinition, y as questionSchemaOptions, z as scoringConditionSchema, A as scoringRecommendationSchema, B as scoringRuleSchemaDefinition, D as scoringRuleSchemaOptions, E as scoringThresholdSchema, H as sectionQuestionRefSchema, I as sectionSchemaDefinition, J as sectionSchemaOptions, K as visibilityRuleSchema } from '../platform-role-CcFTFHUr.cjs';
|
|
4
4
|
|
|
5
5
|
declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
6
6
|
_id: false;
|
|
@@ -200,7 +200,6 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
200
200
|
race: number[];
|
|
201
201
|
ethnicity: number[];
|
|
202
202
|
accommodations: string[];
|
|
203
|
-
sex?: number | null | undefined;
|
|
204
203
|
age?: number | null | undefined;
|
|
205
204
|
dateOfBirth?: string | null | undefined;
|
|
206
205
|
dobMonth?: string | null | undefined;
|
|
@@ -211,6 +210,7 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
211
210
|
apparentAge?: string | null | undefined;
|
|
212
211
|
ageType?: number | null | undefined;
|
|
213
212
|
minorAdultStatus?: number | null | undefined;
|
|
213
|
+
sex?: number | null | undefined;
|
|
214
214
|
genderIdentity?: number | null | undefined;
|
|
215
215
|
raceOtherText?: string | null | undefined;
|
|
216
216
|
genderOtherText?: string | null | undefined;
|
|
@@ -224,7 +224,6 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
224
224
|
race: number[];
|
|
225
225
|
ethnicity: number[];
|
|
226
226
|
accommodations: string[];
|
|
227
|
-
sex?: number | null | undefined;
|
|
228
227
|
age?: number | null | undefined;
|
|
229
228
|
dateOfBirth?: string | null | undefined;
|
|
230
229
|
dobMonth?: string | null | undefined;
|
|
@@ -235,6 +234,7 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
235
234
|
apparentAge?: string | null | undefined;
|
|
236
235
|
ageType?: number | null | undefined;
|
|
237
236
|
minorAdultStatus?: number | null | undefined;
|
|
237
|
+
sex?: number | null | undefined;
|
|
238
238
|
genderIdentity?: number | null | undefined;
|
|
239
239
|
raceOtherText?: string | null | undefined;
|
|
240
240
|
genderOtherText?: string | null | undefined;
|
|
@@ -252,7 +252,6 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
252
252
|
race: number[];
|
|
253
253
|
ethnicity: number[];
|
|
254
254
|
accommodations: string[];
|
|
255
|
-
sex?: number | null | undefined;
|
|
256
255
|
age?: number | null | undefined;
|
|
257
256
|
dateOfBirth?: string | null | undefined;
|
|
258
257
|
dobMonth?: string | null | undefined;
|
|
@@ -263,6 +262,7 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
263
262
|
apparentAge?: string | null | undefined;
|
|
264
263
|
ageType?: number | null | undefined;
|
|
265
264
|
minorAdultStatus?: number | null | undefined;
|
|
265
|
+
sex?: number | null | undefined;
|
|
266
266
|
genderIdentity?: number | null | undefined;
|
|
267
267
|
raceOtherText?: string | null | undefined;
|
|
268
268
|
genderOtherText?: string | null | undefined;
|
|
@@ -282,7 +282,6 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
282
282
|
race: number[];
|
|
283
283
|
ethnicity: number[];
|
|
284
284
|
accommodations: string[];
|
|
285
|
-
sex?: number | null | undefined;
|
|
286
285
|
age?: number | null | undefined;
|
|
287
286
|
dateOfBirth?: string | null | undefined;
|
|
288
287
|
dobMonth?: string | null | undefined;
|
|
@@ -293,6 +292,7 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
293
292
|
apparentAge?: string | null | undefined;
|
|
294
293
|
ageType?: number | null | undefined;
|
|
295
294
|
minorAdultStatus?: number | null | undefined;
|
|
295
|
+
sex?: number | null | undefined;
|
|
296
296
|
genderIdentity?: number | null | undefined;
|
|
297
297
|
raceOtherText?: string | null | undefined;
|
|
298
298
|
genderOtherText?: string | null | undefined;
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as mongoose from 'mongoose';
|
|
2
2
|
import { InferRawDocType, Schema } from 'mongoose';
|
|
3
|
-
export { C as Choice, F as Form, a as FormSectionRef, G as Guidance, L as Layout, Q as Question, S as ScoringCondition,
|
|
3
|
+
export { C as Choice, F as Form, a as FormSectionRef, G as Guidance, L as Layout, P as PlatformFunction, b as PlatformRole, Q as Question, S as ScoringCondition, c as ScoringRecommendation, d as ScoringRule, e as ScoringThreshold, f as Section, g as SectionQuestionRef, V as VisibilityRule, h as buildFormSchema, i as buildPlatformFunctionSchema, j as buildPlatformRoleSchema, k as buildQuestionSchema, l as buildScoringRuleSchema, m as buildSectionSchema, n as choiceSchema, o as formSchemaDefinition, p as formSchemaOptions, q as formSectionRefSchema, r as guidanceSchema, s as layoutSchema, t as platformFunctionSchemaDefinition, u as platformFunctionSchemaOptions, v as platformRoleSchemaDefinition, w as platformRoleSchemaOptions, x as questionSchemaDefinition, y as questionSchemaOptions, z as scoringConditionSchema, A as scoringRecommendationSchema, B as scoringRuleSchemaDefinition, D as scoringRuleSchemaOptions, E as scoringThresholdSchema, H as sectionQuestionRefSchema, I as sectionSchemaDefinition, J as sectionSchemaOptions, K as visibilityRuleSchema } from '../platform-role-CcFTFHUr.js';
|
|
4
4
|
|
|
5
5
|
declare const addressSchema: Schema<any, mongoose.Model<any, any, any, any, any, any, any>, {}, {}, {}, {}, {
|
|
6
6
|
_id: false;
|
|
@@ -200,7 +200,6 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
200
200
|
race: number[];
|
|
201
201
|
ethnicity: number[];
|
|
202
202
|
accommodations: string[];
|
|
203
|
-
sex?: number | null | undefined;
|
|
204
203
|
age?: number | null | undefined;
|
|
205
204
|
dateOfBirth?: string | null | undefined;
|
|
206
205
|
dobMonth?: string | null | undefined;
|
|
@@ -211,6 +210,7 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
211
210
|
apparentAge?: string | null | undefined;
|
|
212
211
|
ageType?: number | null | undefined;
|
|
213
212
|
minorAdultStatus?: number | null | undefined;
|
|
213
|
+
sex?: number | null | undefined;
|
|
214
214
|
genderIdentity?: number | null | undefined;
|
|
215
215
|
raceOtherText?: string | null | undefined;
|
|
216
216
|
genderOtherText?: string | null | undefined;
|
|
@@ -224,7 +224,6 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
224
224
|
race: number[];
|
|
225
225
|
ethnicity: number[];
|
|
226
226
|
accommodations: string[];
|
|
227
|
-
sex?: number | null | undefined;
|
|
228
227
|
age?: number | null | undefined;
|
|
229
228
|
dateOfBirth?: string | null | undefined;
|
|
230
229
|
dobMonth?: string | null | undefined;
|
|
@@ -235,6 +234,7 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
235
234
|
apparentAge?: string | null | undefined;
|
|
236
235
|
ageType?: number | null | undefined;
|
|
237
236
|
minorAdultStatus?: number | null | undefined;
|
|
237
|
+
sex?: number | null | undefined;
|
|
238
238
|
genderIdentity?: number | null | undefined;
|
|
239
239
|
raceOtherText?: string | null | undefined;
|
|
240
240
|
genderOtherText?: string | null | undefined;
|
|
@@ -252,7 +252,6 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
252
252
|
race: number[];
|
|
253
253
|
ethnicity: number[];
|
|
254
254
|
accommodations: string[];
|
|
255
|
-
sex?: number | null | undefined;
|
|
256
255
|
age?: number | null | undefined;
|
|
257
256
|
dateOfBirth?: string | null | undefined;
|
|
258
257
|
dobMonth?: string | null | undefined;
|
|
@@ -263,6 +262,7 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
263
262
|
apparentAge?: string | null | undefined;
|
|
264
263
|
ageType?: number | null | undefined;
|
|
265
264
|
minorAdultStatus?: number | null | undefined;
|
|
265
|
+
sex?: number | null | undefined;
|
|
266
266
|
genderIdentity?: number | null | undefined;
|
|
267
267
|
raceOtherText?: string | null | undefined;
|
|
268
268
|
genderOtherText?: string | null | undefined;
|
|
@@ -282,7 +282,6 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
282
282
|
race: number[];
|
|
283
283
|
ethnicity: number[];
|
|
284
284
|
accommodations: string[];
|
|
285
|
-
sex?: number | null | undefined;
|
|
286
285
|
age?: number | null | undefined;
|
|
287
286
|
dateOfBirth?: string | null | undefined;
|
|
288
287
|
dobMonth?: string | null | undefined;
|
|
@@ -293,6 +292,7 @@ declare const demographicsSchema: Schema<any, mongoose.Model<any, any, any, any,
|
|
|
293
292
|
apparentAge?: string | null | undefined;
|
|
294
293
|
ageType?: number | null | undefined;
|
|
295
294
|
minorAdultStatus?: number | null | undefined;
|
|
295
|
+
sex?: number | null | undefined;
|
|
296
296
|
genderIdentity?: number | null | undefined;
|
|
297
297
|
raceOtherText?: string | null | undefined;
|
|
298
298
|
genderOtherText?: string | null | undefined;
|