@saltcorn/data 0.7.3-beta.2 → 0.7.3-beta.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.
Files changed (59) hide show
  1. package/dist/base-plugin/index.d.ts +182 -170
  2. package/dist/base-plugin/index.d.ts.map +1 -1
  3. package/dist/base-plugin/viewtemplates/edit.d.ts +10 -2
  4. package/dist/base-plugin/viewtemplates/edit.d.ts.map +1 -1
  5. package/dist/base-plugin/viewtemplates/edit.js +28 -13
  6. package/dist/base-plugin/viewtemplates/edit.js.map +1 -1
  7. package/dist/base-plugin/viewtemplates/room.d.ts +3 -1
  8. package/dist/base-plugin/viewtemplates/room.d.ts.map +1 -1
  9. package/dist/base-plugin/viewtemplates/room.js +8 -4
  10. package/dist/base-plugin/viewtemplates/room.js.map +1 -1
  11. package/dist/base-plugin/viewtemplates/show.d.ts +2 -0
  12. package/dist/base-plugin/viewtemplates/show.d.ts.map +1 -1
  13. package/dist/base-plugin/viewtemplates/show.js +1 -1
  14. package/dist/base-plugin/viewtemplates/show.js.map +1 -1
  15. package/dist/db/state.d.ts.map +1 -1
  16. package/dist/db/state.js +4 -1
  17. package/dist/db/state.js.map +1 -1
  18. package/dist/mobile-mocks/saltcorn/html-pdf-node.d.ts +5 -0
  19. package/dist/mobile-mocks/saltcorn/html-pdf-node.d.ts.map +1 -0
  20. package/dist/mobile-mocks/saltcorn/html-pdf-node.js +6 -0
  21. package/dist/mobile-mocks/saltcorn/html-pdf-node.js.map +1 -0
  22. package/dist/models/config.d.ts.map +1 -1
  23. package/dist/models/config.js +11 -3
  24. package/dist/models/config.js.map +1 -1
  25. package/dist/models/email.d.ts.map +1 -1
  26. package/dist/models/email.js +5 -0
  27. package/dist/models/email.js.map +1 -1
  28. package/dist/models/field.d.ts +8 -5
  29. package/dist/models/field.d.ts.map +1 -1
  30. package/dist/models/field.js +11 -6
  31. package/dist/models/field.js.map +1 -1
  32. package/dist/models/file.d.ts +11 -1
  33. package/dist/models/file.d.ts.map +1 -1
  34. package/dist/models/file.js +25 -2
  35. package/dist/models/file.js.map +1 -1
  36. package/dist/models/form.d.ts +1 -1
  37. package/dist/models/form.d.ts.map +1 -1
  38. package/dist/models/form.js +2 -2
  39. package/dist/models/form.js.map +1 -1
  40. package/dist/models/view.d.ts.map +1 -1
  41. package/dist/models/view.js.map +1 -1
  42. package/dist/plugin-helper.d.ts.map +1 -1
  43. package/dist/plugin-helper.js +5 -1
  44. package/dist/plugin-helper.js.map +1 -1
  45. package/dist/tests/email.test.js +14 -14
  46. package/dist/tests/email.test.js.map +1 -1
  47. package/dist/tsconfig.ref.tsbuildinfo +1 -1
  48. package/dist/webpack.config.d.ts +2 -0
  49. package/dist/webpack.config.js +2 -0
  50. package/dist/webpack.config.js.map +1 -1
  51. package/package.json +10 -7
  52. package/dist/app-locales/public/da.json +0 -3
  53. package/dist/db/db.test.d.ts +0 -2
  54. package/dist/db/db.test.d.ts.map +0 -1
  55. package/dist/db/db.test.js +0 -28
  56. package/dist/db/db.test.js.map +0 -1
  57. package/dist/package.json +0 -127
  58. package/dist/tsconfig.json +0 -24
  59. package/dist/tsconfig.ref.json +0 -9
package/dist/package.json DELETED
@@ -1,127 +0,0 @@
1
- {
2
- "name": "@saltcorn/data",
3
- "version": "0.7.2-beta.5",
4
- "description": "Data models for Saltcorn, open-source no-code platform",
5
- "homepage": "https://saltcorn.com",
6
- "scripts": {
7
- "test": "jest tests --runInBand",
8
- "remote-queries-test": "REMOTE_QUERIES=true jest tests/exact_views.test.ts",
9
- "tsc": "echo \"Error: no TypeScript support yet\"",
10
- "clean": "echo \"Error: no TypeScript support yet\"",
11
- "build": "webpack --mode development"
12
- },
13
- "author": "Tom Nielsen",
14
- "license": "MIT",
15
- "main": "dist/index.js",
16
- "exports": {
17
- ".": "./dist/index.js",
18
- "./*": "./dist/*.js",
19
- "./base-plugin/*": "./dist/base-plugin/*.js",
20
- "./base-plugin": "./dist/base-plugin/index.js",
21
- "./base-plugin/viewtemplate/*": "./dist/base-plugin/viewtemplate/*.js",
22
- "./db/": "./dist/db/index.js",
23
- "./db": "./dist/db/index.js",
24
- "./db/*": "./dist/db/*.js",
25
- "./models/*": "./dist/models/*.js"
26
- },
27
- "typesVersions": {
28
- "*": {
29
- "*": [
30
- "dist/*",
31
- "dist/db/*"
32
- ]
33
- }
34
- },
35
- "files": [
36
- "dist/**/*"
37
- ],
38
- "optionalDependencies": {
39
- "@saltcorn/postgres": "0.7.2-beta.5",
40
- "@saltcorn/sqlite": "0.7.2-beta.5"
41
- },
42
- "dependencies": {
43
- "@saltcorn/types": "0.7.2-beta.5",
44
- "@saltcorn/markup": "0.7.2-beta.5",
45
- "@saltcorn/db-common": "0.7.2-beta.5",
46
- "@saltcorn/sqlite-mobile": "0.7.2-beta.5",
47
- "acorn": "^8.0.3",
48
- "astring": "^1.4.3",
49
- "axios": "^0.26.1",
50
- "bcryptjs": "^2.4.3",
51
- "blockly": "^6.20210701.0",
52
- "contractis": "^0.1.0",
53
- "csvtojson": "^2.0.10",
54
- "dateformat": "^3.0.3",
55
- "dumb-passwords": "^0.2.1",
56
- "email-validator": "^2.0.4",
57
- "env-paths": "^2.2.0",
58
- "estraverse": "^5.2.0",
59
- "i18n": "^0.14.0",
60
- "latest-version": "^5.1.0",
61
- "moment": "^2.27.0",
62
- "moment-timezone": "^0.5.33",
63
- "node-fetch": "2.6.2",
64
- "pluralize": "^8.0.0",
65
- "tmp-promise": "^3.0.2",
66
- "uuid": "^8.2.0",
67
- "vm-browserify": "^1.1.2",
68
- "buffer": "6.0.3",
69
- "url": "0.11.0",
70
- "util": "0.12.4",
71
- "os-browserify": "0.3.0",
72
- "path-browserify": "1.0.1",
73
- "stream-browserify": "3.0.0",
74
- "stream-http": "3.2.0",
75
- "cordova-sqlite-storage": "^6.0.0",
76
- "crypto-browserify": "3.12.0",
77
- "https-browserify": "1.0.0",
78
- "browserify-zlib": "0.2.0",
79
- "nodemailer": "^6.4.17",
80
- "mjml": "4.12.0"
81
- },
82
- "repository": "github:saltcorn/saltcorn",
83
- "devDependencies": {
84
- "@types/i18n": "^0.13.2",
85
- "@types/bcryptjs": "^2.4.2",
86
- "@types/csvtojson": "^2.0.0",
87
- "@types/dateformat": "^5.0.0",
88
- "@types/dumb-passwords": "^0.2.1",
89
- "@types/estraverse": "^5.1.1",
90
- "@types/jest": "^27.0.3",
91
- "@types/jsonwebtoken": "^8.5.1",
92
- "@types/mjml": "4.7.0",
93
- "@types/node": "^16.11.12",
94
- "@types/node-fetch": "2.5.12",
95
- "@types/nodemailer": "^6.4.4",
96
- "@types/uuid": "^8.3.3",
97
- "chaos-guinea-pig": "^0.1.0",
98
- "jest": "^27.1.0",
99
- "jsonwebtoken": "^8.5.1",
100
- "ts-jest": "^27.1.0",
101
- "typescript": "^4.4.4",
102
- "webpack": "5.68.0",
103
- "webpack-cli": "4.9.2"
104
- },
105
- "jest": {
106
- "preset": "ts-jest",
107
- "testEnvironment": "node",
108
- "modulePathIgnorePatterns": [
109
- ".*\\.js$"
110
- ],
111
- "coveragePathIgnorePatterns": [
112
- "/migrations/",
113
- "/tests/"
114
- ],
115
- "moduleNameMapper": {
116
- "@saltcorn/sqlite/(.*)": "@saltcorn/sqlite/dist/$1",
117
- "@saltcorn/db-common/(.*)": "@saltcorn/db-common/dist/$1",
118
- "@saltcorn/data/(.*)": "@saltcorn/data/dist/$1",
119
- "@saltcorn/types/(.*)": "@saltcorn/types/dist/$1",
120
- "@saltcorn/markup$": "@saltcorn/markup/dist",
121
- "@saltcorn/markup/(.*)": "@saltcorn/markup/dist/$1"
122
- }
123
- },
124
- "publishConfig": {
125
- "access": "public"
126
- }
127
- }
@@ -1,24 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "skipLibCheck": true,
4
- "rootDir": ".",
5
- "outDir": "./dist",
6
- "allowJs": true,
7
- "sourceMap": true,
8
- "composite": true,
9
- "declaration": true /* set to true by "composite" */,
10
- "declarationMap": true,
11
- "esModuleInterop": true,
12
- "allowSyntheticDefaultImports": true /* set to true by "esModuleInterop" and "module" */,
13
- "strict": true,
14
- "forceConsistentCasingInFileNames": true,
15
- "baseUrl": ".",
16
- /* https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping */
17
- "lib": ["ES2020"],
18
- "module": "commonjs",
19
- "target": "ES2020",
20
- "resolveJsonModule": true
21
- },
22
- "exclude": ["node_modules", "dist/**"],
23
- "include": ["**/*", "**/*.json"]
24
- }
@@ -1,9 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "skipLibCheck": true,
5
- "composite": true,
6
- "declaration": true /* set to true by "composite" */,
7
- "baseUrl": "."
8
- }
9
- }