grist-widget-sdk 0.3.20 → 0.3.26

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 (38) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/advanced.d.cts +3 -2
  3. package/dist/advanced.d.ts +3 -2
  4. package/dist/app.cjs +5176 -0
  5. package/dist/app.cjs.map +1 -0
  6. package/dist/app.d.cts +147 -0
  7. package/dist/app.d.ts +147 -0
  8. package/dist/app.js +527 -0
  9. package/dist/app.js.map +1 -0
  10. package/dist/chunk-PDGEZ24B.js +2366 -0
  11. package/dist/chunk-PDGEZ24B.js.map +1 -0
  12. package/dist/{create-grist-emulator-_3_JK7Rr.d.ts → create-grist-emulator-BCqp1BF9.d.ts} +2 -2
  13. package/dist/{create-grist-emulator-K-iUKUCZ.d.cts → create-grist-emulator-DBM8OSIR.d.cts} +2 -2
  14. package/dist/emulator/testing.d.cts +2 -2
  15. package/dist/emulator/testing.d.ts +2 -2
  16. package/dist/emulator/transports.d.cts +3 -3
  17. package/dist/emulator/transports.d.ts +3 -3
  18. package/dist/emulator.d.cts +5 -5
  19. package/dist/emulator.d.ts +5 -5
  20. package/dist/index.d.cts +9 -500
  21. package/dist/index.d.ts +9 -500
  22. package/dist/index.js +57 -2291
  23. package/dist/index.js.map +1 -1
  24. package/dist/{inline-A8yaddmp.d.cts → inline-C7DkvuET.d.cts} +1 -1
  25. package/dist/{inline-B7QQeWul.d.ts → inline-DpcT8tV9.d.ts} +1 -1
  26. package/dist/{templates-CB_VwjEU.d.cts → templates-8k2LKoO-.d.cts} +1 -1
  27. package/dist/{templates-pRIXc2RR.d.ts → templates-DIwi_mvI.d.ts} +1 -1
  28. package/dist/{types-YcRfo7oy.d.cts → types-D3JxUCfL.d.cts} +1 -1
  29. package/dist/{types-YcRfo7oy.d.ts → types-D3JxUCfL.d.ts} +1 -1
  30. package/dist/{use-grist-widget-options-from-context-hl-NwOwP.d.ts → use-grist-reads-DUMvJgV7.d.ts} +3 -44
  31. package/dist/{use-grist-widget-options-from-context-Bbd5-f39.d.cts → use-grist-reads-DpjVuI0H.d.cts} +3 -44
  32. package/dist/use-grist-types-DdOLEJXN.d.cts +499 -0
  33. package/dist/use-grist-types-kwxoFeub.d.ts +499 -0
  34. package/dist/use-grist-widget-options-from-context-CGOlQ5Vc.d.cts +43 -0
  35. package/dist/use-grist-widget-options-from-context-CGOlQ5Vc.d.ts +43 -0
  36. package/package.json +15 -2
  37. package/tsconfig/app.json +38 -0
  38. package/tsconfig/node.json +36 -0
@@ -0,0 +1,36 @@
1
+ {
2
+ // Shared TypeScript settings for a widget's build config (vite.config.ts),
3
+ // which runs in Node.
4
+ //
5
+ // // tsconfig.node.json
6
+ // { "extends": "grist-widget-sdk/tsconfig/node.json", ... }
7
+ //
8
+ // The widget's own file keeps tsBuildInfoFile and include (TypeScript
9
+ // resolves those relative to the file that declares them) and types
10
+ // (e.g. "node").
11
+ //
12
+ // Needs TypeScript 5.8 or later (erasableSyntaxOnly). Making a check
13
+ // stricter can fail a widget's typecheck, so it only happens in a minor
14
+ // (breaking, before 1.0) release of grist-widget-sdk.
15
+ "compilerOptions": {
16
+ "target": "ES2023",
17
+ "lib": ["ES2023"],
18
+ "module": "ESNext",
19
+ "skipLibCheck": true,
20
+
21
+ /* Bundler mode */
22
+ "moduleResolution": "bundler",
23
+ "allowImportingTsExtensions": true,
24
+ "verbatimModuleSyntax": true,
25
+ "moduleDetection": "force",
26
+ "noEmit": true,
27
+
28
+ /* Linting */
29
+ "strict": true,
30
+ "noUnusedLocals": true,
31
+ "noUnusedParameters": true,
32
+ "erasableSyntaxOnly": true,
33
+ "noFallthroughCasesInSwitch": true,
34
+ "noUncheckedSideEffectImports": true
35
+ }
36
+ }