ask-ai-orbit 1.0.1 → 1.0.3

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/AI/index.js ADDED
File without changes
package/Cloud/index.js ADDED
File without changes
File without changes
package/Core/index.js ADDED
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +1,4 @@
1
+ import { IsNullOrEmpty } from "./validation.helper.js";
1
2
 
2
3
  export const formatDateToMySQL = (date) => {
3
4
  const pad = (n) => n.toString().padStart(2, '0');
@@ -0,0 +1,21 @@
1
+ export * from "./array.helper.js";
2
+ export * from "./object.helper.js";
3
+ export * from "./string.helper.js";
4
+ export * from "./number.helper.js";
5
+ export * from "./date.helper.js";
6
+ export * from "./time.helper.js";
7
+ export * from "./random.helper.js";
8
+ export * from "./file.helper.js";
9
+ export * from "./csv.helper.js";
10
+ export * from "./html.helper.js";
11
+ export * from "./json.helper.js";
12
+ export * from "./ip.helper.js";
13
+ export * from "./validation.helper.js";
14
+ export * from "./request.helper.js";
15
+ export * from "./response.helper.js";
16
+ export * from "./pagination.helper.js";
17
+ export * from "./collection.helper.js";
18
+ export * from "./map.helper.js";
19
+ export * from "./conversion.helper.js";
20
+ export * from "./search.helper.js";
21
+ export * from "./utility.helper.js";
@@ -1,4 +1,5 @@
1
- import {lowerCase,upperCase,sentenceCase,titleCase,camelCase,pascalCase,snakeCase,kebabCase } from "./string.helper";
1
+ import {lowerCase,upperCase,sentenceCase,titleCase,camelCase,pascalCase,snakeCase,kebabCase }
2
+ from "./string.helper.js";
2
3
 
3
4
  export const normalizeKey = (key, type = "lower", separator = "") => ({
4
5
  lower: lowerCase,
@@ -1,4 +1,4 @@
1
- import { IsNullOrEmpty } from "./validation.helper";
1
+ import { IsNullOrEmpty } from "./validation.helper.js";
2
2
 
3
3
  export const ReturnValidString = (x) => !IsNullOrEmpty(x) ? String(x) : '';
4
4
 
@@ -0,0 +1 @@
1
+ export * as Helpers from "./Helpers/index.js";
package/HTTP/index.js ADDED
File without changes
File without changes
package/index.js ADDED
@@ -0,0 +1,48 @@
1
+ /**
2
+ * AskAIOrbit Framework
3
+ * Enterprise Backend AI Framework
4
+ */
5
+
6
+ import * as Core from "./Core/index.js";
7
+ import * as Foundation from "./Foundation/index.js";
8
+ import * as Database from "./Database/index.js";
9
+ import * as Security from "./Security/index.js";
10
+ import * as Communication from "./Communication/index.js";
11
+ import * as HTTP from "./HTTP/index.js";
12
+ import * as DataProcessing from "./DataProcessing/index.js";
13
+ import * as AI from "./AI/index.js";
14
+ import * as Enterprise from "./Enterprise/index.js";
15
+ import * as Developer from "./Developer/index.js";
16
+ import * as Cloud from "./Cloud/index.js";
17
+
18
+ const Orbit = {
19
+ version: "1.0.1",
20
+
21
+ Core,
22
+ Foundation,
23
+ Database,
24
+ Security,
25
+ Communication,
26
+ HTTP,
27
+ DataProcessing,
28
+ AI,
29
+ Enterprise,
30
+ Developer,
31
+ Cloud
32
+ };
33
+
34
+ export default Orbit;
35
+
36
+ export {
37
+ Core,
38
+ Foundation,
39
+ Database,
40
+ Security,
41
+ Communication,
42
+ HTTP,
43
+ DataProcessing,
44
+ AI,
45
+ Enterprise,
46
+ Developer,
47
+ Cloud
48
+ };
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "ask-ai-orbit",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "enterprise orbit ai",
5
+ "type": "module",
5
6
  "main": "app.js",
6
7
  "scripts": {
7
8
  "test": "node app.js"
@@ -20,5 +21,14 @@
20
21
  "bugs": {
21
22
  "url": "https://github.com/kaiyumnadaf/AskAIOrbit/issues"
22
23
  },
23
- "homepage": "https://github.com/kaiyumnadaf/AskAIOrbit#readme"
24
+ "homepage": "https://github.com/kaiyumnadaf/AskAIOrbit#readme",
25
+ "dependencies": {
26
+ "cors": "^2.8.6",
27
+ "dotenv": "^17.4.2",
28
+ "express": "^5.2.1",
29
+ "express-session": "^1.19.0",
30
+ "http": "^0.0.1-security",
31
+ "path": "^0.12.7",
32
+ "url": "^0.11.4"
33
+ }
24
34
  }