@rebasepro/studio 0.16.0 → 0.16.1-canary.g2d1aec8

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.
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { ParsedEndpoint, OpenApiSpec } from "./types";
2
+ import type { ParsedEndpoint, OpenApiSpec } from "./types.js";
3
3
  /**
4
4
  * Renders the documentation view for a single API endpoint:
5
5
  * parameters, request body schema, response schemas.
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { ParsedEndpoint } from "./types";
2
+ import type { ParsedEndpoint } from "./types.js";
3
3
  import type { User } from "@rebasepro/types";
4
4
  interface TryItPanelProps {
5
5
  endpoint: ParsedEndpoint;
@@ -1,4 +1,4 @@
1
- import type { OpenApiSpec, ParsedEndpoint, EndpointGroup } from "./types";
1
+ import type { OpenApiSpec, ParsedEndpoint, EndpointGroup } from "./types.js";
2
2
  /**
3
3
  * Parse an OpenAPI 3.x spec into grouped, sorted endpoints for the sidebar.
4
4
  */
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { PostgresPolicy } from "./RLSEditor";
2
+ import type { PostgresPolicy } from "./RLSEditor.js";
3
3
  export interface PolicyEditorProps {
4
4
  policy?: PostgresPolicy;
5
5
  schema: string;
@@ -1 +1 @@
1
- export * from "./RLSEditor";
1
+ export * from "./RLSEditor.js";
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
- import type { SQLEditorColumnInfo, TableInfo } from "./sql_editor_types";
2
+ import type { SQLEditorColumnInfo, TableInfo } from "./sql_editor_types.js";
3
3
  export type { SQLEditorColumnInfo, TableInfo };
4
4
  export declare const SQLEditor: () => React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { TableInfo } from "./sql_editor_types";
2
+ import type { TableInfo } from "./sql_editor_types.js";
3
3
  export interface Snippet {
4
4
  id: string;
5
5
  name: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { TableInfo } from "./sql_editor_types";
2
+ import type { TableInfo } from "./sql_editor_types.js";
3
3
  export declare const SchemaBrowser: ({ onTableClick, schemas, isSchemaLoading, schemaError, onRetrySchema }: {
4
4
  onTableClick?: (tableName: string) => void;
5
5
  schemas: Record<string, TableInfo[]>;
@@ -1,5 +1,5 @@
1
1
  import type { Node, Edge } from "@xyflow/react";
2
- import type { LayoutDirection } from "./schema-visualizer.utils";
2
+ import type { LayoutDirection } from "./schema-visualizer.utils.js";
3
3
  import type { AdminCollection } from "@rebasepro/admin-types";
4
4
  export interface ColumnInfo {
5
5
  name: string;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export { StudioBridgeProvider, StudioBridgeContext, useStudioCollectionRegistry, useStudioSidePanelController, useStudioUrlController, useStudioNavigationState, useStudioBreadcrumbs } from "@rebasepro/app";
2
2
  export type { StudioBridge, BreadcrumbEntry, BreadcrumbsController } from "@rebasepro/app";
3
- export * from "./components/RebaseStudio";
4
- export * from "./components/StudioHomePage";
3
+ export * from "./components/RebaseStudio.js";
4
+ export * from "./components/StudioHomePage.js";
@@ -1,4 +1,4 @@
1
- import type { TableInfo } from "../components/SQLEditor/sql_editor_types";
1
+ import type { TableInfo } from "../components/SQLEditor/sql_editor_types.js";
2
2
  /**
3
3
  * A table extracted from a SQL query's FROM/JOIN clauses.
4
4
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rebasepro/studio",
3
3
  "type": "module",
4
- "version": "0.16.0",
4
+ "version": "0.16.1-canary.g2d1aec8",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.es.js",
7
7
  "module": "./dist/index.es.js",
@@ -16,19 +16,19 @@
16
16
  "pgsql-ast-parser": "12.0.2",
17
17
  "prism-react-renderer": "^2.4.1",
18
18
  "react-dropzone": "^19.1.1",
19
- "@rebasepro/app": "0.16.0",
20
- "@rebasepro/client": "0.16.0",
21
- "@rebasepro/common": "0.16.0",
22
- "@rebasepro/ui": "0.16.0",
23
- "@rebasepro/types": "0.16.0",
24
- "@rebasepro/admin-types": "0.16.0",
25
- "@rebasepro/utils": "0.16.0"
19
+ "@rebasepro/admin-types": "0.16.1-canary.g2d1aec8",
20
+ "@rebasepro/client": "0.16.1-canary.g2d1aec8",
21
+ "@rebasepro/common": "0.16.1-canary.g2d1aec8",
22
+ "@rebasepro/app": "0.16.1-canary.g2d1aec8",
23
+ "@rebasepro/types": "0.16.1-canary.g2d1aec8",
24
+ "@rebasepro/utils": "0.16.1-canary.g2d1aec8",
25
+ "@rebasepro/ui": "0.16.1-canary.g2d1aec8"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "react": ">=19.2.7",
29
29
  "react-dom": ">=19.2.7",
30
30
  "react-router": "^8.3.0",
31
- "@rebasepro/admin": "0.16.0"
31
+ "@rebasepro/admin": "0.16.1-canary.g2d1aec8"
32
32
  },
33
33
  "peerDependenciesMeta": {
34
34
  "@rebasepro/admin": {
@@ -87,7 +87,7 @@
87
87
  "scripts": {
88
88
  "dev": "vite",
89
89
  "test": "jest --passWithNoTests",
90
- "build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/assert-build-output.mjs",
90
+ "build": "vite build && tsc --emitDeclarationOnly -p tsconfig.prod.json && node ../../scripts/add-dts-extensions.mjs dist && node ../../scripts/assert-build-output.mjs",
91
91
  "clean": "rm -rf dist && find ./src -name '*.js' -type f | xargs rm -f"
92
92
  }
93
93
  }