mirror of
https://github.com/h-sphere/sql-seal.git
synced 2026-07-22 10:10:28 +00:00
chore: releasing types package
This commit is contained in:
parent
9269d13559
commit
678ef948f8
5 changed files with 5 additions and 5 deletions
|
|
@ -7,7 +7,7 @@ import { transformQuery } from "../sql/sqlTransformer";
|
|||
import { displayError, displayNotice } from "../utils/ui";
|
||||
import SqlSealPlugin from "../main";
|
||||
import { registerObservers } from "../utils/registerObservers";
|
||||
import { ParserResult, parseWithDefaults, TableDefinition } from "src/grammar/parser";
|
||||
import { ParserResult, parseWithDefaults, TableDefinition } from "../grammar/parser";
|
||||
|
||||
export class CodeblockProcessor extends MarkdownRenderChild {
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ export class SqlSealDatabase {
|
|||
const INDENT_INCREASE = 4
|
||||
map.set(0, -INDENT_INCREASE)
|
||||
for (const result of explainResults) {
|
||||
const parent = parseInt((result.parent as unknown as string) ?? 0, 10)
|
||||
const parent = parseInt((result.parent as unknown as string) ?? '0', 10)
|
||||
const indent = map.get(parent)! + INDENT_INCREASE
|
||||
for (let i=0;i<indent;i++) {
|
||||
strResult += ' '
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import * as ohm from 'ohm-js';
|
||||
import { Flag } from 'src/renderer/rendererRegistry';
|
||||
import { Flag } from '../renderer/rendererRegistry';
|
||||
|
||||
export interface ViewDefinition {
|
||||
name: string,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { identity } from "lodash"
|
||||
import { App } from "obsidian"
|
||||
import { CellParserRegistar } from "src/cellParser"
|
||||
import { CellParserRegistar } from "../cellParser"
|
||||
|
||||
export const displayNotice = (el: HTMLElement, text: string) => {
|
||||
el.empty()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@hypersphere/sqlseal",
|
||||
"version": "0.21.0",
|
||||
"version": "0.28.0",
|
||||
"description": "",
|
||||
"types": "dist/types-package/src/index.d.ts",
|
||||
"files": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue