@xrystal/core 3.4.2 → 3.4.7
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/package.json +3 -1
- package/source/utils/constants/index.js +1 -1
- package/source/utils/helpers/index.d.ts +1 -0
- package/source/utils/helpers/index.js +1 -0
- package/x/dist/index.d.ts +2 -0
- package/x/dist/index.js +8 -0
- package/x/dist/loader/configs/index.d.ts +13 -0
- package/x/dist/loader/configs/index.js +17 -0
- package/x/dist/loader/events/index.d.ts +6 -0
- package/x/dist/loader/events/index.js +25 -0
- package/x/dist/loader/index.d.ts +6 -0
- package/x/dist/loader/index.js +6 -0
- package/x/dist/loader/localizations/index.d.ts +14 -0
- package/x/dist/loader/localizations/index.js +32 -0
- package/x/dist/loader/logger/index.d.ts +23 -0
- package/x/dist/loader/logger/index.js +126 -0
- package/x/dist/loader/system/index.d.ts +8 -0
- package/x/dist/loader/system/index.js +14 -0
- package/x/dist/project/index.d.ts +6 -0
- package/x/dist/project/index.js +63 -0
- package/x/dist/utils/constants/index.d.ts +8 -0
- package/x/dist/utils/constants/index.js +10 -0
- package/x/dist/utils/helpers/date/index.d.ts +16 -0
- package/x/dist/utils/helpers/date/index.js +48 -0
- package/x/dist/utils/helpers/filters/index.d.ts +17 -0
- package/x/dist/utils/helpers/filters/index.js +44 -0
- package/x/dist/utils/helpers/hash/crypto.d.ts +3 -0
- package/x/dist/utils/helpers/hash/crypto.js +22 -0
- package/x/dist/utils/helpers/id/index.d.ts +13 -0
- package/x/dist/utils/helpers/id/index.js +24 -0
- package/x/dist/utils/helpers/index.d.ts +17 -0
- package/x/dist/utils/helpers/index.js +17 -0
- package/x/dist/utils/helpers/ip/index.d.ts +1 -0
- package/x/dist/utils/helpers/ip/index.js +3 -0
- package/x/dist/utils/helpers/is/index.d.ts +11 -0
- package/x/dist/utils/helpers/is/index.js +35 -0
- package/x/dist/utils/helpers/locales/index.d.ts +52 -0
- package/x/dist/utils/helpers/locales/index.js +161 -0
- package/x/dist/utils/helpers/locales copy/index.d.ts +52 -0
- package/x/dist/utils/helpers/locales copy/index.js +161 -0
- package/x/dist/utils/helpers/math/index.d.ts +2 -0
- package/x/dist/utils/helpers/math/index.js +14 -0
- package/x/dist/utils/helpers/objects/index.d.ts +1 -0
- package/x/dist/utils/helpers/objects/index.js +55 -0
- package/x/dist/utils/helpers/path/index.d.ts +2 -0
- package/x/dist/utils/helpers/path/index.js +4 -0
- package/x/dist/utils/helpers/regex/checkSpecialRegexControl.d.ts +1 -0
- package/x/dist/utils/helpers/regex/checkSpecialRegexControl.js +3 -0
- package/x/dist/utils/helpers/string/index.d.ts +1 -0
- package/x/dist/utils/helpers/string/index.js +9 -0
- package/x/dist/utils/helpers/timer/index.d.ts +3 -0
- package/x/dist/utils/helpers/timer/index.js +5 -0
- package/x/dist/utils/helpers/tmp/index.d.ts +8 -0
- package/x/dist/utils/helpers/tmp/index.js +109 -0
- package/x/dist/utils/helpers/validates/index.d.ts +5 -0
- package/x/dist/utils/helpers/validates/index.js +20 -0
- package/x/dist/utils/index.d.ts +3 -0
- package/x/dist/utils/index.js +3 -0
- package/x/dist/utils/models/classes/class.controller.d.ts +121 -0
- package/x/dist/utils/models/classes/class.controller.js +421 -0
- package/x/dist/utils/models/classes/class.response.d.ts +17 -0
- package/x/dist/utils/models/classes/class.response.js +37 -0
- package/x/dist/utils/models/classes/class.services.d.ts +129 -0
- package/x/dist/utils/models/classes/class.services.js +344 -0
- package/x/dist/utils/models/classes/class.tmp-file-loader.d.ts +8 -0
- package/x/dist/utils/models/classes/class.tmp-file-loader.js +38 -0
- package/x/dist/utils/models/classes/class.x.d.ts +12 -0
- package/x/dist/utils/models/classes/class.x.js +16 -0
- package/x/dist/utils/models/enums/index.d.ts +117 -0
- package/x/dist/utils/models/enums/index.js +133 -0
- package/x/dist/utils/models/index.d.ts +8 -0
- package/x/dist/utils/models/index.js +8 -0
- package/x/dist/utils/models/types/index.d.ts +3 -0
- package/x/dist/utils/models/types/index.js +2 -0
- package/x/docker/Dockerfile +24 -0
- package/x/logs/critical/2025-11-30_critical.log +0 -0
- package/x/logs/error/2025-11-30_error.log +0 -0
- package/x/tmp.yml +25 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
FROM oven/bun:1.1-alpine AS builder
|
|
2
|
+
|
|
3
|
+
WORKDIR /app
|
|
4
|
+
|
|
5
|
+
COPY package.json bun.lockb* ./
|
|
6
|
+
RUN bun install --frozen-lockfile
|
|
7
|
+
|
|
8
|
+
COPY . .
|
|
9
|
+
|
|
10
|
+
RUN bun run build:prod
|
|
11
|
+
|
|
12
|
+
FROM oven/bun:1.1-alpine
|
|
13
|
+
|
|
14
|
+
ENV NODE_ENV=production
|
|
15
|
+
|
|
16
|
+
WORKDIR /lib/xrystal-core
|
|
17
|
+
|
|
18
|
+
COPY --from=builder /app/source ./source
|
|
19
|
+
COPY --from=builder /app/bin ./bin
|
|
20
|
+
COPY --from=builder /app/x ./x
|
|
21
|
+
COPY --from=builder /app/package.json ./package.json
|
|
22
|
+
COPY --from=builder /app/bun.lockb* ./
|
|
23
|
+
|
|
24
|
+
RUN bun install --production
|
|
File without changes
|
|
File without changes
|
package/x/tmp.yml
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
project:
|
|
2
|
+
name: x
|
|
3
|
+
|
|
4
|
+
configs:
|
|
5
|
+
rootFolderPath: x
|
|
6
|
+
service: service-name
|
|
7
|
+
|
|
8
|
+
loaders:
|
|
9
|
+
configs:
|
|
10
|
+
envLoadPath: environments
|
|
11
|
+
|
|
12
|
+
loggers:
|
|
13
|
+
loadPath: logs
|
|
14
|
+
logLevel: debug
|
|
15
|
+
topic: logs
|
|
16
|
+
|
|
17
|
+
localization:
|
|
18
|
+
loadPath: assets/langs
|
|
19
|
+
fallbackLang: en
|
|
20
|
+
preloadLangs:
|
|
21
|
+
- en
|
|
22
|
+
- tr
|
|
23
|
+
|
|
24
|
+
end:
|
|
25
|
+
version: 1
|