@jupytergis/schema 0.1.1

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 (44) hide show
  1. package/lib/_interface/forms.json +1987 -0
  2. package/lib/_interface/geoTiffSource.d.ts +31 -0
  3. package/lib/_interface/geojsonsource.d.ts +404 -0
  4. package/lib/_interface/hillshadeLayer.d.ts +20 -0
  5. package/lib/_interface/imageLayer.d.ts +20 -0
  6. package/lib/_interface/imageSource.d.ts +20 -0
  7. package/lib/_interface/jgis.d.ts +140 -0
  8. package/lib/_interface/rasterDemSource.d.ts +28 -0
  9. package/lib/_interface/rasterlayer.d.ts +20 -0
  10. package/lib/_interface/rastersource.d.ts +43 -0
  11. package/lib/_interface/shapefileSource.d.ts +34 -0
  12. package/lib/_interface/vectorTileLayer.d.ts +32 -0
  13. package/lib/_interface/vectorlayer.d.ts +32 -0
  14. package/lib/_interface/vectortilesource.d.ts +35 -0
  15. package/lib/_interface/videoSource.d.ts +20 -0
  16. package/lib/_interface/webGlLayer.d.ts +24 -0
  17. package/lib/doc.d.ts +59 -0
  18. package/lib/doc.js +251 -0
  19. package/lib/index.d.ts +4 -0
  20. package/lib/index.js +4 -0
  21. package/lib/interfaces.d.ts +189 -0
  22. package/lib/interfaces.js +1 -0
  23. package/lib/model.d.ts +142 -0
  24. package/lib/model.js +554 -0
  25. package/lib/schema/geoTiffSource.json +37 -0
  26. package/lib/schema/geojsonsource.json +23 -0
  27. package/lib/schema/hillshadeLayer.json +18 -0
  28. package/lib/schema/imageLayer.json +21 -0
  29. package/lib/schema/imageSource.json +30 -0
  30. package/lib/schema/jgis.json +248 -0
  31. package/lib/schema/rasterDemSource.json +33 -0
  32. package/lib/schema/rasterlayer.json +21 -0
  33. package/lib/schema/rastersource.json +66 -0
  34. package/lib/schema/shapefileSource.json +37 -0
  35. package/lib/schema/vectorTileLayer.json +36 -0
  36. package/lib/schema/vectorlayer.json +36 -0
  37. package/lib/schema/vectortilesource.json +40 -0
  38. package/lib/schema/videoSource.json +33 -0
  39. package/lib/schema/webGlLayer.json +41 -0
  40. package/lib/token.d.ts +6 -0
  41. package/lib/token.js +5 -0
  42. package/lib/types.d.ts +19 -0
  43. package/lib/types.js +22 -0
  44. package/package.json +65 -0
package/package.json ADDED
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@jupytergis/schema",
3
+ "version": "0.1.1",
4
+ "description": "A JupyterGIS schema package.",
5
+ "keywords": [
6
+ "jupytergis"
7
+ ],
8
+ "homepage": "https://github.com/geojupyter/jupytergis",
9
+ "bugs": {
10
+ "url": "https://github.com/geojupyter/jupytergis/issues"
11
+ },
12
+ "license": "BSD-3-Clause",
13
+ "author": {
14
+ "name": "JupyterGIS contributors"
15
+ },
16
+ "files": [
17
+ "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
18
+ "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}"
19
+ ],
20
+ "main": "lib/index.js",
21
+ "types": "lib/types.d.ts",
22
+ "style": "style/index.css",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/geojupyter/jupytergis.git"
26
+ },
27
+ "scripts": {
28
+ "build": "jlpm build:schema && jlpm run build:lib",
29
+ "build:schema": "jlpm build:schema:js && jlpm build:schema:py",
30
+ "build:schema:js": "json2ts -i src/schema -o src/_interface --no-unknownAny --unreachableDefinitions --cwd ./src/schema && cd src/schema && node ../../schema.js",
31
+ "build:schema:py": "datamodel-codegen --input ./src/schema --output ../../python/jupytergis_lab/jupytergis_lab/notebook/objects/_schema --output-model-type pydantic_v2.BaseModel --input-file-type jsonschema",
32
+ "build:prod": "jlpm run clean && jlpm build:schema && jlpm run build:lib",
33
+ "build:lib": "tsc",
34
+ "build:dev": "jlpm run build",
35
+ "clean": "rimraf tsconfig.tsbuildinfo",
36
+ "clean:lib": "rimraf lib tsconfig.tsbuildinfo",
37
+ "clean:all": "jlpm run clean:lib",
38
+ "watch": "tsc -w"
39
+ },
40
+ "dependencies": {
41
+ "@apidevtools/json-schema-ref-parser": "^9.0.9",
42
+ "@jupyter/docprovider": "^2.0.0",
43
+ "@jupyter/ydoc": "^1.0.0",
44
+ "@jupyterlab/apputils": "^4.0.0",
45
+ "@jupyterlab/coreutils": "^6.0.0",
46
+ "@jupyterlab/docregistry": "^4.0.0",
47
+ "@jupyterlab/services": "^7.0.0",
48
+ "@jupyterlab/ui-components": "^4.0.0",
49
+ "@lumino/coreutils": "^2.0.0",
50
+ "@lumino/signaling": "^2.0.0",
51
+ "ajv": "8.16.0",
52
+ "json-schema-to-typescript": "^10.1.5",
53
+ "yjs": "^13.5.40"
54
+ },
55
+ "devDependencies": {
56
+ "@types/node": "^18.15.11",
57
+ "rimraf": "^3.0.2",
58
+ "source-map-loader": "^3.0.0",
59
+ "ts-loader": "^9.2.6",
60
+ "typescript": "^5"
61
+ },
62
+ "publishConfig": {
63
+ "access": "public"
64
+ }
65
+ }