imm-shared 1.1.0 → 1.1.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/cjs/models/ai-prompt.model.d.ts +5 -0
- package/dist/cjs/models/ai-prompt.model.d.ts.map +1 -1
- package/dist/cjs/models/ai-prompt.model.js +6 -0
- package/dist/cjs/models/ai-prompt.model.js.map +1 -1
- package/dist/esm/models/ai-prompt.model.d.ts +5 -0
- package/dist/esm/models/ai-prompt.model.d.ts.map +1 -1
- package/dist/esm/models/ai-prompt.model.js +5 -1
- package/dist/esm/models/ai-prompt.model.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { Language } from "../enums/language.enum.js";
|
|
2
|
+
export declare enum AIPromptCategory {
|
|
3
|
+
NEWS_LABEL = "news_label",
|
|
4
|
+
NEWS_SUMMARY = "news_summary"
|
|
5
|
+
}
|
|
2
6
|
export interface AIPrompt {
|
|
3
7
|
_id?: string;
|
|
4
8
|
title: string;
|
|
5
9
|
description?: string;
|
|
6
10
|
prompt: string;
|
|
11
|
+
categories: AIPromptCategory[];
|
|
7
12
|
language: Language;
|
|
8
13
|
createdAt: Date | string;
|
|
9
14
|
updatedAt: Date | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-prompt.model.d.ts","sourceRoot":"","sources":["../../../src/models/ai-prompt.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,MAAM,WAAW,QAAQ;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;CAC1B"}
|
|
1
|
+
{"version":3,"file":"ai-prompt.model.d.ts","sourceRoot":"","sources":["../../../src/models/ai-prompt.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,oBAAY,gBAAgB;IAC1B,UAAU,eAAe;IACzB,YAAY,iBAAiB;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;CAC1B"}
|
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AIPromptCategory = void 0;
|
|
4
|
+
var AIPromptCategory;
|
|
5
|
+
(function (AIPromptCategory) {
|
|
6
|
+
AIPromptCategory["NEWS_LABEL"] = "news_label";
|
|
7
|
+
AIPromptCategory["NEWS_SUMMARY"] = "news_summary";
|
|
8
|
+
})(AIPromptCategory || (exports.AIPromptCategory = AIPromptCategory = {}));
|
|
3
9
|
//# sourceMappingURL=ai-prompt.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-prompt.model.js","sourceRoot":"","sources":["../../../src/models/ai-prompt.model.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"ai-prompt.model.js","sourceRoot":"","sources":["../../../src/models/ai-prompt.model.ts"],"names":[],"mappings":";;;AAEA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,6CAAyB,CAAA;IACzB,iDAA6B,CAAA;AAC/B,CAAC,EAHW,gBAAgB,gCAAhB,gBAAgB,QAG3B"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { Language } from "../enums/language.enum.js";
|
|
2
|
+
export declare enum AIPromptCategory {
|
|
3
|
+
NEWS_LABEL = "news_label",
|
|
4
|
+
NEWS_SUMMARY = "news_summary"
|
|
5
|
+
}
|
|
2
6
|
export interface AIPrompt {
|
|
3
7
|
_id?: string;
|
|
4
8
|
title: string;
|
|
5
9
|
description?: string;
|
|
6
10
|
prompt: string;
|
|
11
|
+
categories: AIPromptCategory[];
|
|
7
12
|
language: Language;
|
|
8
13
|
createdAt: Date | string;
|
|
9
14
|
updatedAt: Date | string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-prompt.model.d.ts","sourceRoot":"","sources":["../../../src/models/ai-prompt.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,MAAM,WAAW,QAAQ;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;CAC1B"}
|
|
1
|
+
{"version":3,"file":"ai-prompt.model.d.ts","sourceRoot":"","sources":["../../../src/models/ai-prompt.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,oBAAY,gBAAgB;IAC1B,UAAU,eAAe;IACzB,YAAY,iBAAiB;CAC9B;AAED,MAAM,WAAW,QAAQ;IACvB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,QAAQ,EAAE,QAAQ,CAAC;IACnB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB,SAAS,EAAE,IAAI,GAAG,MAAM,CAAC;CAC1B"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var AIPromptCategory;
|
|
2
|
+
(function (AIPromptCategory) {
|
|
3
|
+
AIPromptCategory["NEWS_LABEL"] = "news_label";
|
|
4
|
+
AIPromptCategory["NEWS_SUMMARY"] = "news_summary";
|
|
5
|
+
})(AIPromptCategory || (AIPromptCategory = {}));
|
|
2
6
|
//# sourceMappingURL=ai-prompt.model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-prompt.model.js","sourceRoot":"","sources":["../../../src/models/ai-prompt.model.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"ai-prompt.model.js","sourceRoot":"","sources":["../../../src/models/ai-prompt.model.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,6CAAyB,CAAA;IACzB,iDAA6B,CAAA;AAC/B,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B"}
|