Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@drizzle-team/studio

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drizzle-team/studio - npm Package Compare versions

Comparing version 0.0.37 to 0.0.38

1

common.d.ts

@@ -77,2 +77,3 @@ import { SQL, TablesRelationalConfig } from "drizzle-orm";

proxy: (params: ProxyParams) => Promise<any[]>;
raw: (query: string) => Promise<any[][]>;
select: (schema: string) => (params: QueryParams) => Promise<any[]>;

@@ -79,0 +80,0 @@ insert: (schema: string) => (params: InsertParams) => Promise<any>;

@@ -280,2 +280,5 @@ "use strict";

proxy: setup.proxy,
raw: (query) => {
return Promise.resolve(db.all(import_drizzle_orm2.sql.raw(query)));
},
select: (schema) => selectFn(db, schemaToTables[schema]),

@@ -496,2 +499,3 @@ insert: (schema) => insertFn(db, schemaToTables[schema], schmaToTablesToColumnNames[schema]),

proxy: setup.proxy,
raw: setup.raw,
select: (schema) => selectFn2(db, schemaToTables[schema]),

@@ -697,2 +701,3 @@ delete: (schema) => deleteFn2(db, schemaToTables[schema]),

proxy: setup.proxy,
raw: setup.raw,
select: (schema) => selectFn3(db, schemaToTables[schema]),

@@ -699,0 +704,0 @@ delete: (schema) => deleteFn3(db, schemaToTables[schema]),

@@ -8,2 +8,3 @@ import { Relations } from "drizzle-orm";

proxy: (it: ProxyParams) => Promise<any>;
raw: (sql: string) => Promise<any[][]>;
schema: Record<string, Record<string, AnyMySqlTable>>;

@@ -10,0 +11,0 @@ relations: Record<string, Relations>;

2

package.json
{
"name": "@drizzle-team/studio",
"version": "0.0.37",
"version": "0.0.38",
"license": "UNLICENSED",

@@ -5,0 +5,0 @@ "scripts": {

@@ -8,2 +8,3 @@ import { AnyPgTable, PgDatabase } from "drizzle-orm/pg-core";

proxy: (it: ProxyParams) => Promise<any>;
raw: (sql: string) => Promise<any[][]>;
schema: Record<string, Record<string, AnyPgTable>>;

@@ -10,0 +11,0 @@ relations: Record<string, Relations>;

@@ -9,7 +9,7 @@ import { BaseSchema } from "valibot";

export declare const schema: import("valibot").UnionSchema<[import("valibot").ObjectSchema<{
type: import("valibot").EnumSchema<["init"], "init">;
type: import("valibot").LiteralSchema<"init", "init">;
}, {
type: "init";
}>, import("valibot").ObjectSchema<{
type: import("valibot").EnumSchema<["proxy"], "proxy">;
type: import("valibot").LiteralSchema<"proxy", "proxy">;
data: import("valibot").ObjectSchema<{

@@ -32,3 +32,9 @@ sql: import("valibot").StringSchema<string>;

}>, import("valibot").ObjectSchema<{
type: import("valibot").EnumSchema<["sql-schema"], "sql-schema">;
type: import("valibot").LiteralSchema<"raw-sql", "raw-sql">;
data: import("valibot").StringSchema<string>;
}, {
data: string;
type: "raw-sql";
}>, import("valibot").ObjectSchema<{
type: import("valibot").LiteralSchema<"sql-schema", "sql-schema">;
schema: import("valibot").OptionalSchema<import("valibot").StringSchema<string>, "public", string>;

@@ -202,2 +208,5 @@ data: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{

} | {
data: string;
type: "raw-sql";
} | {
schema: string;

@@ -204,0 +213,0 @@ type: "sql-schema";

@@ -9,2 +9,3 @@ import { Relations } from "drizzle-orm";

proxy: (it: ProxyParams) => Promise<any>;
raw: (sql: string) => Promise<any[][]>;
schema: Record<string, Record<string, AnySQLiteTable>>;

@@ -11,0 +12,0 @@ relations: Record<string, Relations>;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc