@antelopejs/interface-database-decorators 0.0.2
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/LICENSE +190 -0
- package/README.md +42 -0
- package/dist/antelope.test.d.ts +2 -0
- package/dist/antelope.test.js +52 -0
- package/dist/antelope.test.js.map +1 -0
- package/dist/common.d.ts +22 -0
- package/dist/common.js +36 -0
- package/dist/common.js.map +1 -0
- package/dist/database.d.ts +2 -0
- package/dist/database.js +71 -0
- package/dist/database.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +24 -0
- package/dist/index.js.map +1 -0
- package/dist/model.d.ts +101 -0
- package/dist/model.js +161 -0
- package/dist/model.js.map +1 -0
- package/dist/modifiers/common.d.ts +87 -0
- package/dist/modifiers/common.js +370 -0
- package/dist/modifiers/common.js.map +1 -0
- package/dist/modifiers/encryption.d.ts +37 -0
- package/dist/modifiers/encryption.js +79 -0
- package/dist/modifiers/encryption.js.map +1 -0
- package/dist/modifiers/hash.d.ts +41 -0
- package/dist/modifiers/hash.js +54 -0
- package/dist/modifiers/hash.js.map +1 -0
- package/dist/modifiers/index.d.ts +4 -0
- package/dist/modifiers/index.js +21 -0
- package/dist/modifiers/index.js.map +1 -0
- package/dist/modifiers/localization.d.ts +43 -0
- package/dist/modifiers/localization.js +57 -0
- package/dist/modifiers/localization.js.map +1 -0
- package/dist/schema.d.ts +4 -0
- package/dist/schema.js +21 -0
- package/dist/schema.js.map +1 -0
- package/dist/table.d.ts +53 -0
- package/dist/table.js +63 -0
- package/dist/table.js.map +1 -0
- package/dist/tests/common.test.d.ts +1 -0
- package/dist/tests/common.test.js +52 -0
- package/dist/tests/common.test.js.map +1 -0
- package/dist/tests/database.test.d.ts +1 -0
- package/dist/tests/database.test.js +184 -0
- package/dist/tests/database.test.js.map +1 -0
- package/dist/tests/integration.test.d.ts +1 -0
- package/dist/tests/integration.test.js +399 -0
- package/dist/tests/integration.test.js.map +1 -0
- package/dist/tests/model.test.d.ts +1 -0
- package/dist/tests/model.test.js +186 -0
- package/dist/tests/model.test.js.map +1 -0
- package/dist/tests/modifiers/common.test.d.ts +1 -0
- package/dist/tests/modifiers/common.test.js +165 -0
- package/dist/tests/modifiers/common.test.js.map +1 -0
- package/dist/tests/modifiers/encryption.test.d.ts +1 -0
- package/dist/tests/modifiers/encryption.test.js +161 -0
- package/dist/tests/modifiers/encryption.test.js.map +1 -0
- package/dist/tests/modifiers/hash.test.d.ts +1 -0
- package/dist/tests/modifiers/hash.test.js +126 -0
- package/dist/tests/modifiers/hash.test.js.map +1 -0
- package/dist/tests/modifiers/localization.test.d.ts +1 -0
- package/dist/tests/modifiers/localization.test.js +175 -0
- package/dist/tests/modifiers/localization.test.js.map +1 -0
- package/dist/tests/schema.test.d.ts +1 -0
- package/dist/tests/schema.test.js +102 -0
- package/dist/tests/schema.test.js.map +1 -0
- package/dist/tests/table.test.d.ts +1 -0
- package/dist/tests/table.test.js +112 -0
- package/dist/tests/table.test.js.map +1 -0
- package/package.json +101 -0
package/package.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@antelopejs/interface-database-decorators",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "AntelopeJS interface for database schema decorators and model definitions",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"antelopejs",
|
|
7
|
+
"interface",
|
|
8
|
+
"database",
|
|
9
|
+
"decorators",
|
|
10
|
+
"orm"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/AntelopeJS/interface-database-decorators.git"
|
|
15
|
+
},
|
|
16
|
+
"license": "Apache-2.0",
|
|
17
|
+
"packageManager": "pnpm@10.6.5",
|
|
18
|
+
"main": "dist/index.js",
|
|
19
|
+
"types": "dist/index.d.ts",
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"default": "./dist/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./*": {
|
|
29
|
+
"types": "./dist/*.d.ts",
|
|
30
|
+
"default": "./dist/*.js"
|
|
31
|
+
},
|
|
32
|
+
"./package.json": "./package.json"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "rimraf dist && tsc",
|
|
36
|
+
"format": "biome format --write .",
|
|
37
|
+
"lint:fix": "biome check --write .",
|
|
38
|
+
"lint": "biome check .",
|
|
39
|
+
"prepack": "pnpm run build",
|
|
40
|
+
"release": "pnpm run lint && pnpm run prepack && release-it",
|
|
41
|
+
"test": "pnpm run build && ajs module test ."
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@antelopejs/interface-api": "^0.0.2",
|
|
45
|
+
"@antelopejs/interface-core": "^0.0.2",
|
|
46
|
+
"@antelopejs/interface-database": "^0.0.2",
|
|
47
|
+
"randomstring": "^1.3.1",
|
|
48
|
+
"reflect-metadata": "^0.2.2"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/chai": "^4.3.20",
|
|
52
|
+
"@types/mocha": "^10.0.10",
|
|
53
|
+
"@types/node": "^22.14.1",
|
|
54
|
+
"@types/randomstring": "^1.3.0",
|
|
55
|
+
"@biomejs/biome": "2.3.2",
|
|
56
|
+
"chai": "^4.5.0",
|
|
57
|
+
"release-it": "^19.0.2",
|
|
58
|
+
"release-it-changelogen": "^0.1.0",
|
|
59
|
+
"rimraf": "^6.0.1",
|
|
60
|
+
"typescript": "^5.8.3",
|
|
61
|
+
"mongodb-memory-server-core": "^10.1.4",
|
|
62
|
+
"@types/semver": "^7.7.0"
|
|
63
|
+
},
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public"
|
|
66
|
+
},
|
|
67
|
+
"typesVersions": {
|
|
68
|
+
"*": {
|
|
69
|
+
"common": [
|
|
70
|
+
"dist/common.d.ts"
|
|
71
|
+
],
|
|
72
|
+
"database": [
|
|
73
|
+
"dist/database.d.ts"
|
|
74
|
+
],
|
|
75
|
+
"model": [
|
|
76
|
+
"dist/model.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"schema": [
|
|
79
|
+
"dist/schema.d.ts"
|
|
80
|
+
],
|
|
81
|
+
"table": [
|
|
82
|
+
"dist/table.d.ts"
|
|
83
|
+
],
|
|
84
|
+
"modifiers/common": [
|
|
85
|
+
"dist/modifiers/common.d.ts"
|
|
86
|
+
],
|
|
87
|
+
"modifiers/encryption": [
|
|
88
|
+
"dist/modifiers/encryption.d.ts"
|
|
89
|
+
],
|
|
90
|
+
"modifiers/hash": [
|
|
91
|
+
"dist/modifiers/hash.d.ts"
|
|
92
|
+
],
|
|
93
|
+
"modifiers/localization": [
|
|
94
|
+
"dist/modifiers/localization.d.ts"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"antelopeJs": {
|
|
99
|
+
"test": "src/antelope.test.ts"
|
|
100
|
+
}
|
|
101
|
+
}
|