apexify.js 2.1.0 → 2.2.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/declare.d.ts +127 -107
  3. package/package.json +4 -2
package/README.md CHANGED
@@ -59,7 +59,7 @@ const options = {
59
59
  hostname: 'jedi-studio.com',
60
60
  middleware: ,
61
61
  routs:
62
- }
62
+ },
63
63
  anticrash: {
64
64
  enabled: true,
65
65
  webhookURL: '', /// Your discord webhook url
package/declare.d.ts CHANGED
@@ -1,22 +1,56 @@
1
- declare module "apexify.js" {
2
- class ApexPainter {
3
- constructor(...args: any[]);
4
- [key: string]: any;
5
- }
6
-
7
- class apexAI {
8
- constructor(...args: any[]);
9
- [key: string]: any;
10
- }
11
-
12
- const ecoSystem: any;
1
+ declare module 'apexify.js' {
2
+ const ApexChat: any;
3
+ const ApexImagine: any;
13
4
  const adminUser: any;
14
- const blackList: any;
15
- const whiteList: any;
16
-
17
- function apexImagine(...args: any[]): any;
18
- function ApexChat(...args: any[]): any;
19
-
5
+ const ecoSystem: any;
6
+ const roleMenu: any;
7
+ const contactInfo: any;
8
+ const shopItem: any;
9
+ const eventInfo: any;
10
+ const blogPost: any;
11
+ const productInfo: any;
12
+ const userEco: any;
13
+ const xpConfig: any;
14
+ const xpCount: any;
15
+ const forumPost: any;
16
+ const orderInfo: any;
17
+ const productReview: any;
18
+ const recipeInfo: any;
19
+ const musicTrack: any;
20
+ const setGameCount: any;
21
+ const gameCount: any;
22
+ const employeeInfo: any;
23
+ const setserverCounter: any;
24
+ const guildInfo: any;
25
+ const userTemplate: any;
26
+ const updateAllExcept: any;
27
+ const updateAll: any;
28
+ const updateData: any;
29
+ const migrateAndPrune: any;
30
+ const migrateData: any;
31
+ const textSearch: any;
32
+ const searchMany: any;
33
+ const removeSpecific: any;
34
+ const removeManyExcept: any;
35
+ const removeMany: any;
36
+ const remove: any;
37
+ const listCollections: any;
38
+ const listIndexes: any;
39
+ const geoNear: any;
40
+ const find: any;
41
+ const drop: any;
42
+ const distinct: any;
43
+ const dataSize: any;
44
+ const countDocs: any;
45
+ const createTable: any;
46
+ const aggregate: any;
47
+ const save: any;
48
+ const initializeDb: any;
49
+ const getDb: any;
50
+ const mongoConnect: any;
51
+ const NanoDb: any;
52
+ const apexAI: any;
53
+ const ApexPainter: any;
20
54
  const typeWriter: any;
21
55
  const starter: any;
22
56
  const previousCommand: any;
@@ -24,94 +58,80 @@ declare module "apexify.js" {
24
58
  const skipCommand: any;
25
59
  const stopCommand: any;
26
60
  const playCommand: any;
27
-
28
- class PermissionChecker {
29
- constructor(...args: any[]);
30
- [key: string]: any;
31
- }
32
-
33
- class Paginator {
34
- constructor(...args: any[]);
35
- [key: string]: any;
36
- }
37
-
38
- class SelectMenuManager {
39
- constructor(...args: any[]);
40
- [key: string]: any;
41
- }
42
-
43
- class ButtonManager {
44
- constructor(...args: any[]);
45
- [key: string]: any;
46
- }
47
-
61
+ const PermissionChecker: any;
62
+ const Paginator: any;
63
+ const SelectMenuManager: any;
64
+ const ButtonManager: any;
48
65
  const cooldown: any;
66
+ const whiteList: any;
67
+ const blackList: any;
49
68
 
50
- export const ApexPainter: ApexPainter;
51
- export const apexAI: apexAI;
52
- export const ApexImagine: ApexImagine;
53
- export const ApexChat: ApexChat;
54
- export const NanoDb: any;
55
- export const mongoConnect: any;
56
- export const getDb: any;
57
- export const initializeDb: any;
58
- export const save: any;
59
- export const aggregate: any;
60
- export const createTable: any;
61
- export const countDocs: any;
62
- export const dataSize: any;
63
- export const distinct: any;
64
- export const drop: any;
65
- export const find: any;
66
- export const geoNear: any;
67
- export const listIndexes: any;
68
- export const listCollections: any;
69
- export const remove: any;
70
- export const removeMany: any;
71
- export const removeManyExcept: any;
72
- export const removeSpecific: any;
73
- export const searchMany: any;
74
- export const textSearch: any;
75
- export const migrateData: any;
76
- export const migrateAndPrune: any;
77
- export const updateData: any;
78
- export const updateAll: any;
79
- export const updateAllExcept: any;
80
- export const userTemplate: any;
81
- export const guildInfo: any;
82
- export const setserverCounter: any;
83
- export const employeeInfo: any;
84
- export const gameCount: any;
85
- export const setGameCount: any;
86
- export const musicTrack: any;
87
- export const recipeInfo: any;
88
- export const productReview: any;
89
- export const orderInfo: any;
90
- export const forumPost: any;
91
- export const xpCount: any;
92
- export const xpConfig: any;
93
- export const userEco: any;
94
- export const productInfo: any;
95
- export const blogPost: any;
96
- export const eventInfo: any;
97
- export const shopItem: any;
98
- export const contactInfo: any;
99
- export const roleMenu: any;
100
- export const ecoSystem: any;
101
- export const adminUser: any;
102
- export const blackList: any;
103
- export const whiteList: any;
104
- export const cooldown: any;
105
- export const ButtonManager: any;
106
- export const SelectMenuManager: any;
107
- export const Paginator: any;
108
- export const PermissionChecker: any;
109
- export const playCommand: any;
110
- export const stopCommand: any;
111
- export const skipCommand: any;
112
- export const resumeCommand: any;
113
- export const previousCommand: any;
114
- export const starter: any;
115
- export const typeWriter: any;
116
- }
117
-
69
+ export {
70
+ ApexChat,
71
+ ApexImagine,
72
+ adminUser,
73
+ ecoSystem,
74
+ roleMenu,
75
+ contactInfo,
76
+ shopItem,
77
+ eventInfo,
78
+ blogPost,
79
+ productInfo,
80
+ userEco,
81
+ xpConfig,
82
+ xpCount,
83
+ forumPost,
84
+ orderInfo,
85
+ productReview,
86
+ recipeInfo,
87
+ musicTrack,
88
+ setGameCount,
89
+ gameCount,
90
+ employeeInfo,
91
+ setserverCounter,
92
+ guildInfo,
93
+ userTemplate,
94
+ updateAllExcept,
95
+ updateAll,
96
+ updateData,
97
+ migrateAndPrune,
98
+ migrateData,
99
+ textSearch,
100
+ searchMany,
101
+ removeSpecific,
102
+ removeManyExcept,
103
+ removeMany,
104
+ remove,
105
+ listCollections,
106
+ listIndexes,
107
+ geoNear,
108
+ find,
109
+ drop,
110
+ distinct,
111
+ dataSize,
112
+ countDocs,
113
+ createTable,
114
+ aggregate,
115
+ save,
116
+ initializeDb,
117
+ getDb,
118
+ mongoConnect,
119
+ NanoDb,
120
+ apexAI,
121
+ ApexPainter,
122
+ typeWriter,
123
+ starter,
124
+ previousCommand,
125
+ resumeCommand,
126
+ skipCommand,
127
+ stopCommand,
128
+ playCommand,
129
+ PermissionChecker,
130
+ Paginator,
131
+ SelectMenuManager,
132
+ ButtonManager,
133
+ cooldown,
134
+ whiteList,
135
+ blackList,
136
+ };
137
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apexify.js",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Ai with Canvas and Database library. Supports typescript and javascript",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -132,7 +132,6 @@
132
132
  "dependencies": {
133
133
  "@iamtraction/google-translate": "^2.0.1",
134
134
  "@napi-rs/canvas": "^0.1.51",
135
- "@types/node": "^18.0.6",
136
135
  "api": "^2.6.0",
137
136
  "archiver": "^7.0.0",
138
137
  "ascii-table": "^0.0.9",
@@ -152,6 +151,9 @@
152
151
  "tesseract.js": "^5.0.5"
153
152
  },
154
153
  "devDependencies": {
154
+ "@types/node": "^20.11.25",
155
+ "discord.js": "^14.14.1",
156
+ "ts-node": "^10.9.2",
155
157
  "typescript": "^5.4.2"
156
158
  }
157
159
  }