@lightdash/common 0.2185.0 → 0.2186.0
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/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/ee/AiAgent/schemas/agentReadiness.d.ts +6 -7
- package/dist/cjs/ee/AiAgent/schemas/agentReadiness.d.ts.map +1 -1
- package/dist/cjs/ee/AiAgent/schemas/agentReadiness.js +5 -4
- package/dist/cjs/ee/AiAgent/schemas/agentReadiness.js.map +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/ee/AiAgent/schemas/agentReadiness.d.ts +6 -7
- package/dist/esm/ee/AiAgent/schemas/agentReadiness.d.ts.map +1 -1
- package/dist/esm/ee/AiAgent/schemas/agentReadiness.js +4 -3
- package/dist/esm/ee/AiAgent/schemas/agentReadiness.js.map +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ee/AiAgent/schemas/agentReadiness.d.ts +6 -7
- package/dist/types/ee/AiAgent/schemas/agentReadiness.d.ts.map +1 -1
- package/dist/types/ee/AiAgent/schemas/agentReadiness.js +4 -3
- package/dist/types/ee/AiAgent/schemas/agentReadiness.js.map +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,10 @@ export type ReadinessScoreEvaluation = {
|
|
|
25
25
|
score: number;
|
|
26
26
|
recommendations: string[];
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
export type MetadataCompletenessEvaluation = ReadinessScoreEvaluation;
|
|
29
|
+
export type ExploreAnalysisEvaluation = ReadinessScoreEvaluation;
|
|
30
|
+
export type InstructionQualityEvaluation = ReadinessScoreEvaluation;
|
|
31
|
+
export declare const MetadataCompletenessSchema: z.ZodObject<{
|
|
29
32
|
score: z.ZodNumber;
|
|
30
33
|
recommendations: z.ZodArray<z.ZodString, "many">;
|
|
31
34
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -35,8 +38,7 @@ declare const ExploreAnalysisSchema: z.ZodObject<{
|
|
|
35
38
|
score: number;
|
|
36
39
|
recommendations: string[];
|
|
37
40
|
}>;
|
|
38
|
-
export
|
|
39
|
-
declare const InstructionQualitySchema: z.ZodObject<{
|
|
41
|
+
export declare const ExploreAnalysisSchema: z.ZodObject<{
|
|
40
42
|
score: z.ZodNumber;
|
|
41
43
|
recommendations: z.ZodArray<z.ZodString, "many">;
|
|
42
44
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -46,8 +48,7 @@ declare const InstructionQualitySchema: z.ZodObject<{
|
|
|
46
48
|
score: number;
|
|
47
49
|
recommendations: string[];
|
|
48
50
|
}>;
|
|
49
|
-
export
|
|
50
|
-
declare const MetadataCompletenessSchema: z.ZodObject<{
|
|
51
|
+
export declare const InstructionQualitySchema: z.ZodObject<{
|
|
51
52
|
score: z.ZodNumber;
|
|
52
53
|
recommendations: z.ZodArray<z.ZodString, "many">;
|
|
53
54
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -57,7 +58,6 @@ declare const MetadataCompletenessSchema: z.ZodObject<{
|
|
|
57
58
|
score: number;
|
|
58
59
|
recommendations: string[];
|
|
59
60
|
}>;
|
|
60
|
-
export type MetadataCompletenessEvaluation = z.infer<typeof MetadataCompletenessSchema>;
|
|
61
61
|
export interface ReadinessScore {
|
|
62
62
|
overallScore: number;
|
|
63
63
|
metadataCompleteness: MetadataCompletenessEvaluation;
|
|
@@ -70,5 +70,4 @@ export interface ReadinessScore {
|
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
export type ApiAgentReadinessScoreResponse = ApiSuccess<ReadinessScore>;
|
|
73
|
-
export {};
|
|
74
73
|
//# sourceMappingURL=agentReadiness.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentReadiness.d.ts","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/agentReadiness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,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,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACpE;AAED,MAAM,MAAM,wBAAwB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,EAAE,CAAC;CAC7B,CAAC;AAGF,MAAM,MAAM,8BAA8B,GAAG,wBAAwB,CAAC;AACtE,MAAM,MAAM,yBAAyB,GAAG,wBAAwB,CAAC;AACjE,MAAM,MAAM,4BAA4B,GAAG,wBAAwB,CAAC;AAGpE,eAAO,MAAM,0BAA0B;;;;;;;;;EAAmB,CAAC;AAC3D,eAAO,MAAM,qBAAqB;;;;;;;;;EAAmB,CAAC;AACtD,eAAO,MAAM,wBAAwB;;;;;;;;;EAAmB,CAAC;AAEzD,MAAM,WAAW,cAAc;IAC3B,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,8BAA8B,CAAC;IACrD,eAAe,EAAE,yBAAyB,CAAC;IAC3C,kBAAkB,EAAE,4BAA4B,CAAC;IACjD,SAAS,EAAE,IAAI,CAAC;IAChB,eAAe,EAAE;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;KACtB,CAAC;CACL;AAED,MAAM,MAAM,8BAA8B,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BaseScorerSchema = exports.RecommendationsSchema = exports.ScoreSchema = void 0;
|
|
3
|
+
exports.InstructionQualitySchema = exports.ExploreAnalysisSchema = exports.MetadataCompletenessSchema = exports.BaseScorerSchema = exports.RecommendationsSchema = exports.ScoreSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
exports.ScoreSchema = zod_1.z
|
|
6
6
|
.number()
|
|
@@ -16,7 +16,8 @@ exports.BaseScorerSchema = zod_1.z.object({
|
|
|
16
16
|
score: exports.ScoreSchema,
|
|
17
17
|
recommendations: exports.RecommendationsSchema,
|
|
18
18
|
});
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
// Zod schemas for validation (backend only)
|
|
20
|
+
exports.MetadataCompletenessSchema = exports.BaseScorerSchema;
|
|
21
|
+
exports.ExploreAnalysisSchema = exports.BaseScorerSchema;
|
|
22
|
+
exports.InstructionQualitySchema = exports.BaseScorerSchema;
|
|
22
23
|
//# sourceMappingURL=agentReadiness.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentReadiness.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/agentReadiness.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AASX,QAAA,WAAW,GAAG,OAAC;KACvB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CACL,uEAAuE,CAC1E,CAAC;AAEO,QAAA,qBAAqB,GAAG,OAAC;KACjC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;KACjB,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CACL,kEAAkE,CACrE,CAAC;AAEO,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,mBAAW;IAClB,eAAe,EAAE,6BAAqB;CACzC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"agentReadiness.js","sourceRoot":"","sources":["../../../../../src/ee/AiAgent/schemas/agentReadiness.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AASX,QAAA,WAAW,GAAG,OAAC;KACvB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CACL,uEAAuE,CAC1E,CAAC;AAEO,QAAA,qBAAqB,GAAG,OAAC;KACjC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;KACjB,GAAG,CAAC,CAAC,CAAC;KACN,GAAG,CAAC,CAAC,CAAC;KACN,QAAQ,CACL,kEAAkE,CACrE,CAAC;AAEO,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,KAAK,EAAE,mBAAW;IAClB,eAAe,EAAE,6BAAqB;CACzC,CAAC,CAAC;AAoBH,4CAA4C;AAC/B,QAAA,0BAA0B,GAAG,wBAAgB,CAAC;AAC9C,QAAA,qBAAqB,GAAG,wBAAgB,CAAC;AACzC,QAAA,wBAAwB,GAAG,wBAAgB,CAAC"}
|