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.
@@ -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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imm-shared",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "type": "module",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",