@nongt/visql 0.6.0 → 0.6.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.
package/dist/mui.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as n, jsxs as P } from "react/jsx-runtime";
2
2
  import { forwardRef as C, useMemo as _, useState as w, useRef as G, useLayoutEffect as K } from "react";
3
- import { P as Q } from "./PipelineEditor-6fohlut2.js";
3
+ import { P as Q } from "./PipelineEditor-X83xfPeC.js";
4
4
  import U from "@emotion/cache";
5
5
  import { CacheProvider as J } from "@emotion/react";
6
6
  import { TextField as R, Menu as X, ListSubheader as $, MenuItem as D, Box as y, createFilterOptions as Y, Autocomplete as j, Select as Z, InputBase as ee, Button as te, IconButton as oe, Tooltip as re, Chip as ne } from "@mui/material";
@@ -5,6 +5,5 @@ import type { SqlDialect } from './sqlGen.js';
5
5
  * validateQuery reports what the database lacks. */
6
6
  declare const DialectContext: import("react").Context<SqlDialect | undefined>;
7
7
  export declare function useDialect(): SqlDialect | undefined;
8
- /** Whether `dialect` has the operator: SQL Server has no REGEXP. */
9
- export declare function hasOperator(dialect: SqlDialect | undefined, operator: string): boolean;
8
+ export { hasJoinType, hasOperator } from './dialectSupport.js';
10
9
  export default DialectContext;
@@ -0,0 +1,6 @@
1
+ import type { JoinType } from './queryAst.js';
2
+ import type { SqlDialect } from './sqlGen.js';
3
+ /** Whether `dialect` has the operator: SQL Server has no REGEXP. */
4
+ export declare function hasOperator(dialect: SqlDialect | undefined, operator: string): boolean;
5
+ /** Whether `dialect` has the join type: MySQL has no FULL JOIN (issue 242). */
6
+ export declare function hasJoinType(dialect: SqlDialect | undefined, joinType: JoinType): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nongt/visql",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "A visual SQL query editor for React: build a whole query on a node canvas, store it as JSON, turn it into SQL.",
5
5
  "keywords": [
6
6
  "sql",