@tandem-language-exchange/content-store 1.2.22 → 1.2.23

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.
@@ -0,0 +1,14 @@
1
+ import { WorkspaceOptions } from 'sanity';
2
+
3
+ interface StudioPageProps {
4
+ config?: Partial<WorkspaceOptions>;
5
+ }
6
+
7
+ /**
8
+ * Server-side stub for StudioPage.
9
+ * The real component is client-only; this prevents Node.js from trying to
10
+ * resolve browser-only dependencies (next/dynamic, react-dropzone, etc.) during SSR.
11
+ */
12
+ declare const StudioPage: () => null;
13
+
14
+ export { StudioPage, type StudioPageProps };
@@ -0,0 +1,6 @@
1
+ // src/sanity-studio.node.ts
2
+ var StudioPage = () => null;
3
+ export {
4
+ StudioPage
5
+ };
6
+ //# sourceMappingURL=sanity-studio.node.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/sanity-studio.node.ts"],"sourcesContent":["/**\n * Server-side stub for StudioPage.\n * The real component is client-only; this prevents Node.js from trying to\n * resolve browser-only dependencies (next/dynamic, react-dropzone, etc.) during SSR.\n */\nconst StudioPage = () => null;\n\nexport { StudioPage };\nexport type { StudioPageProps } from './client/sanity/studio';\n"],"mappings":";AAKA,IAAM,aAAa,MAAM;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tandem-language-exchange/content-store",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,6 +26,7 @@
26
26
  },
27
27
  "./sanity/studio": {
28
28
  "types": "./dist/sanity-studio.d.ts",
29
+ "node": "./dist/sanity-studio.node.js",
29
30
  "import": "./dist/sanity-studio.js",
30
31
  "default": "./dist/sanity-studio.js"
31
32
  }
@@ -37,6 +38,7 @@
37
38
  "dist/index-*.d.ts",
38
39
  "dist/sanity.*",
39
40
  "dist/sanity-studio.*",
41
+ "dist/sanity-studio.node.*",
40
42
  "dist/node.*",
41
43
  "dist/node.browser.*",
42
44
  "dist/sdk/",