@everylanguage/shared-types 1.0.22 → 1.0.23-dev.20251211.113620.162
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 +7 -69
- package/types/README.md +3 -3
- package/types/database.d.ts +3799 -1445
- package/LICENSE +0 -21
- package/README.md +0 -350
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@everylanguage/shared-types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.23-dev.20251211.113620.162",
|
|
4
4
|
"type": "module",
|
|
5
|
+
"private": false,
|
|
5
6
|
"main": "types/database.js",
|
|
6
7
|
"types": "types/database.d.ts",
|
|
7
8
|
"exports": {
|
|
@@ -24,75 +25,12 @@
|
|
|
24
25
|
"publishConfig": {
|
|
25
26
|
"access": "public"
|
|
26
27
|
},
|
|
27
|
-
"
|
|
28
|
-
"doc": "docs"
|
|
29
|
-
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"dev": "supabase start",
|
|
32
|
-
"stop": "supabase stop",
|
|
33
|
-
"reset": "supabase db reset",
|
|
34
|
-
"generate-types": "supabase gen types typescript --local > types/database.ts",
|
|
35
|
-
"build-types": "tsc types/database.ts --declaration --emitDeclarationOnly --outDir types/",
|
|
36
|
-
"prepare-package": "npm run build-types && echo '// Re-export all types from the TypeScript definitions\nexport * from \"./database.d.ts\";' > types/database.js",
|
|
37
|
-
"seed:language-region": "psql -h localhost -p 54322 -U postgres -d postgres -f supabase/seed/language_region_seed.sql",
|
|
38
|
-
"prepare-package:ci": "npm run build-types && echo '// Re-export all types from the TypeScript definitions\nexport * from \"./database.d.ts\";' > types/database.js",
|
|
39
|
-
"functions:serve": "supabase functions serve",
|
|
40
|
-
"functions:deploy": "supabase functions deploy",
|
|
41
|
-
"test": "jest --passWithNoTests",
|
|
42
|
-
"test:watch": "jest --watch",
|
|
43
|
-
"lint": "eslint . --ext .ts,.js,.sql",
|
|
44
|
-
"lint:fix": "eslint . --ext .ts,.js,.sql --fix",
|
|
45
|
-
"format": "prettier --write .",
|
|
46
|
-
"format:check": "prettier --check .",
|
|
47
|
-
"sql:format": "sql-formatter --config .sqlformatterrc.json supabase/migrations/*.sql",
|
|
48
|
-
"type-check": "tsc --noEmit",
|
|
49
|
-
"type-check:functions": "cd supabase/functions && deno check **/*.ts",
|
|
50
|
-
"prepare": "husky",
|
|
51
|
-
"commit": "cz",
|
|
52
|
-
"version:patch": "npm version patch",
|
|
53
|
-
"version:minor": "npm version minor",
|
|
54
|
-
"version:major": "npm version major",
|
|
55
|
-
"release": "npm run prepare-package && npm publish",
|
|
56
|
-
"generate:language-seeds": "node scripts/generate-language-seeds.js"
|
|
57
|
-
},
|
|
28
|
+
"description": "TypeScript types for Every Language database",
|
|
58
29
|
"keywords": [
|
|
59
30
|
"supabase",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
31
|
+
"types",
|
|
32
|
+
"typescript",
|
|
33
|
+
"database"
|
|
63
34
|
],
|
|
64
|
-
"
|
|
65
|
-
"license": "ISC",
|
|
66
|
-
"description": "Supabase backend for EL audio translation platform",
|
|
67
|
-
"dependencies": {
|
|
68
|
-
"@cloudflare/workers-types": "^4.20250813.0",
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
70
|
-
"@typescript-eslint/parser": "^8.34.1",
|
|
71
|
-
"backblaze-b2": "^1.7.1",
|
|
72
|
-
"eslint": "^9.29.0",
|
|
73
|
-
"eslint-config-prettier": "^10.1.5",
|
|
74
|
-
"eslint-plugin-prettier": "^5.5.0",
|
|
75
|
-
"eslint-plugin-sql": "^3.2.2",
|
|
76
|
-
"form-data": "^4.0.3",
|
|
77
|
-
"husky": "^9.1.7",
|
|
78
|
-
"jest": "^30.0.2",
|
|
79
|
-
"lint-staged": "^16.1.2",
|
|
80
|
-
"prettier": "^3.5.3",
|
|
81
|
-
"shapefile": "^0.6.6",
|
|
82
|
-
"sql-formatter": "^15.6.5",
|
|
83
|
-
"typescript": "^5.8.3",
|
|
84
|
-
"wa-sqlite": "^1.0.0"
|
|
85
|
-
},
|
|
86
|
-
"devDependencies": {
|
|
87
|
-
"@commitlint/cli": "^19.8.1",
|
|
88
|
-
"@commitlint/config-conventional": "^19.8.1",
|
|
89
|
-
"@supabase/supabase-js": "^2.50.2",
|
|
90
|
-
"@types/jest": "^30.0.0",
|
|
91
|
-
"@types/node": "^24.0.7",
|
|
92
|
-
"@types/node-fetch": "^2.6.12",
|
|
93
|
-
"commitizen": "^4.3.1",
|
|
94
|
-
"cz-conventional-changelog": "^3.3.0",
|
|
95
|
-
"node-fetch": "^3.3.2",
|
|
96
|
-
"ts-jest": "^29.4.0"
|
|
97
|
-
}
|
|
35
|
+
"license": "ISC"
|
|
98
36
|
}
|
package/types/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
🎯 **Shared TypeScript types**
|
|
4
4
|
|
|
5
|
-
This package contains automatically generated TypeScript types from our Supabase database schema, ensuring type safety across all applications in the
|
|
5
|
+
This package contains automatically generated TypeScript types from our Supabase database schema, ensuring type safety across all applications in the Every Language ecosystem.
|
|
6
6
|
|
|
7
7
|
## 📦 Installation
|
|
8
8
|
|
|
@@ -59,6 +59,6 @@ This package follows [Semantic Versioning](https://semver.org/):
|
|
|
59
59
|
|
|
60
60
|
## 🐛 Issues & Support
|
|
61
61
|
|
|
62
|
-
- **
|
|
63
|
-
- **Type Issues**: [Type-specific issues](https://github.com/
|
|
62
|
+
- **Issues**: [Monorepo Issues](https://github.com/Every-Language/everylanguage-monorepo/issues)
|
|
63
|
+
- **Type Issues**: [Type-specific issues](https://github.com/Every-Language/everylanguage-monorepo/issues?q=label%3Atypes)
|
|
64
64
|
- **Application Integration**: Contact your respective app team
|