@inf-monkeys-tech/monkeys 1.0.63 → 1.0.65
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/lib/contracts/tenant.d.ts +54 -1
- package/lib/contracts/tenant.d.ts.map +1 -1
- package/lib/contracts/tenant.js +25 -2
- package/lib/contracts/tenant.js.map +1 -1
- package/lib/esm/contracts/index.mjs +19 -1
- package/lib/esm/contracts/index.mjs.map +1 -1
- package/lib/esm/index.mjs +19 -1
- package/lib/esm/index.mjs.map +1 -1
- package/lib/esm/runtime/index.mjs +17 -1
- package/lib/esm/runtime/index.mjs.map +1 -1
- package/lib/esm/schemas/index.mjs +19 -1
- package/lib/esm/schemas/index.mjs.map +1 -1
- package/lib/json-schema/tenant-product-config.schema.json +49 -0
- package/lib/json-schema/tenant-runtime-config.schema.json +49 -0
- package/lib/schemas/index.d.ts +23 -1
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +4 -2
- package/lib/schemas/index.js.map +1 -1
- package/package.json +1 -1
- package/test/fixtures/tenant-product-config.public.json +9 -0
|
@@ -11301,11 +11301,24 @@ var TenantTrendRadarSourceSchema = z14.object({
|
|
|
11301
11301
|
var TenantTrendRadarCollectionTargetSchema = z14.object({
|
|
11302
11302
|
ontologyId: ContractIdentifierSchema
|
|
11303
11303
|
}).strict();
|
|
11304
|
+
var TenantTrendRadarEvaluationSchema = z14.object({
|
|
11305
|
+
workflowId: ContractIdentifierSchema
|
|
11306
|
+
}).strict();
|
|
11307
|
+
var TenantTrendRadarDerivedMetricsSchema = z14.object({
|
|
11308
|
+
productCountFieldKey: ContractIdentifierSchema,
|
|
11309
|
+
salesValueCountFieldKey: ContractIdentifierSchema,
|
|
11310
|
+
salesSumFieldKey: ContractIdentifierSchema
|
|
11311
|
+
}).strict().refine(
|
|
11312
|
+
({ productCountFieldKey, salesValueCountFieldKey, salesSumFieldKey }) => (/* @__PURE__ */ new Set([productCountFieldKey, salesValueCountFieldKey, salesSumFieldKey])).size === 3,
|
|
11313
|
+
{ message: "Trend Radar derived metric Field Keys must be distinct." }
|
|
11314
|
+
);
|
|
11304
11315
|
var TenantTrendRadarSourcesSchema = z14.object({
|
|
11305
11316
|
products: TenantTrendRadarSourceSchema.optional(),
|
|
11306
11317
|
hotwords: TenantTrendRadarSourceSchema.optional(),
|
|
11307
11318
|
brands: TenantTrendRadarSourceSchema.optional(),
|
|
11308
|
-
collection: TenantTrendRadarCollectionTargetSchema.optional()
|
|
11319
|
+
collection: TenantTrendRadarCollectionTargetSchema.optional(),
|
|
11320
|
+
derivedMetrics: TenantTrendRadarDerivedMetricsSchema.optional(),
|
|
11321
|
+
evaluation: TenantTrendRadarEvaluationSchema.optional()
|
|
11309
11322
|
}).strict();
|
|
11310
11323
|
var AssetVariantsSchema = z14.object({
|
|
11311
11324
|
light: z14.string().optional(),
|
|
@@ -11776,6 +11789,9 @@ var TenantApplicationConfigSchema = z14.object({
|
|
|
11776
11789
|
registrationEnabled: z14.boolean().optional(),
|
|
11777
11790
|
disableAutoRegister: z14.boolean().optional()
|
|
11778
11791
|
}).strict().optional(),
|
|
11792
|
+
registrationApproval: z14.object({
|
|
11793
|
+
enabled: z14.boolean().optional()
|
|
11794
|
+
}).strict().optional(),
|
|
11779
11795
|
hideAuthToast: z14.boolean().optional(),
|
|
11780
11796
|
autoReload: z14.boolean().optional(),
|
|
11781
11797
|
defaultOtherTeam: z14.boolean().optional()
|
|
@@ -13111,6 +13127,8 @@ export {
|
|
|
13111
13127
|
TenantProductConfigSchema,
|
|
13112
13128
|
TenantRuntimeConfigSchema,
|
|
13113
13129
|
TenantTrendRadarCollectionTargetSchema,
|
|
13130
|
+
TenantTrendRadarDerivedMetricsSchema,
|
|
13131
|
+
TenantTrendRadarEvaluationSchema,
|
|
13114
13132
|
TenantTrendRadarSourceSchema,
|
|
13115
13133
|
TenantTrendRadarSourcesSchema,
|
|
13116
13134
|
TenantWorkbenchConfigSchema,
|