only_ever_generator 0.1.3 → 0.1.5
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/bootstrap/app.js +2 -2
- package/dist/index.js +8 -6
- package/package.json +1 -1
- package/src/bootstrap/app.ts +2 -2
- package/src/index.ts +8 -8
package/dist/bootstrap/app.js
CHANGED
|
@@ -53,8 +53,8 @@ class OnlyEverGenerator {
|
|
|
53
53
|
responseToReturn.push(this.typologyResponse);
|
|
54
54
|
}
|
|
55
55
|
else if (elem == "generate_card") {
|
|
56
|
-
if (this.typologyResponse.
|
|
57
|
-
if (this.typologyResponse.
|
|
56
|
+
if (this.typologyResponse.generate_cards) {
|
|
57
|
+
if (this.typologyResponse.generate_cards.state == false) {
|
|
58
58
|
console.log('Cards Generation Not Required');
|
|
59
59
|
}
|
|
60
60
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
2
|
+
// import express from "express";
|
|
3
|
+
// import { returnCardGenPrompt } from "./constants/prompts/card_gen_prompt";
|
|
4
|
+
// import { returnTypologyPrompt } from "./constants/prompts/typology_prompt";
|
|
5
|
+
// import { GenerateArgs } from "./utils/generate_args";
|
|
6
|
+
// import { returnFields, returnHeadings, returnSourceData } from "./constants/source_data";
|
|
7
|
+
// import config from "./config";
|
|
8
|
+
// const app = express();
|
|
9
|
+
// const port = 3000;
|
|
5
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
11
|
exports.OnlyEverGenerator = void 0;
|
|
7
|
-
const express_1 = __importDefault(require("express"));
|
|
8
|
-
const app = (0, express_1.default)();
|
|
9
|
-
const port = 3000;
|
|
10
12
|
const app_1 = require("./bootstrap/app");
|
|
11
13
|
Object.defineProperty(exports, "OnlyEverGenerator", { enumerable: true, get: function () { return app_1.OnlyEverGenerator; } });
|
|
12
14
|
/// All the Codes Below uses express and are strictly for development purpose, while publishing the package, comment everything
|
package/package.json
CHANGED
package/src/bootstrap/app.ts
CHANGED
|
@@ -58,8 +58,8 @@ export class OnlyEverGenerator {
|
|
|
58
58
|
);
|
|
59
59
|
responseToReturn.push(this.typologyResponse);
|
|
60
60
|
} else if (elem == "generate_card") {
|
|
61
|
-
if(this.typologyResponse.
|
|
62
|
-
if(this.typologyResponse.
|
|
61
|
+
if(this.typologyResponse.generate_cards){
|
|
62
|
+
if(this.typologyResponse.generate_cards.state == false){
|
|
63
63
|
console.log('Cards Generation Not Required');
|
|
64
64
|
}
|
|
65
65
|
|
package/src/index.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
import express from "express";
|
|
3
|
-
import { returnCardGenPrompt } from "./constants/prompts/card_gen_prompt";
|
|
4
|
-
import { returnTypologyPrompt } from "./constants/prompts/typology_prompt";
|
|
5
|
-
import { GenerateArgs } from "./utils/generate_args";
|
|
6
|
-
import { returnFields, returnHeadings, returnSourceData } from "./constants/source_data";
|
|
7
|
-
import config from "./config";
|
|
8
|
-
const app = express();
|
|
9
|
-
const port = 3000;
|
|
2
|
+
// import express from "express";
|
|
3
|
+
// import { returnCardGenPrompt } from "./constants/prompts/card_gen_prompt";
|
|
4
|
+
// import { returnTypologyPrompt } from "./constants/prompts/typology_prompt";
|
|
5
|
+
// import { GenerateArgs } from "./utils/generate_args";
|
|
6
|
+
// import { returnFields, returnHeadings, returnSourceData } from "./constants/source_data";
|
|
7
|
+
// import config from "./config";
|
|
8
|
+
// const app = express();
|
|
9
|
+
// const port = 3000;
|
|
10
10
|
|
|
11
11
|
import { OnlyEverGenerator } from "./bootstrap/app";
|
|
12
12
|
|