Comparing version 1.0.62 to 1.0.63
export declare const start_profiler: () => Promise<void>; | ||
export declare const stop_profiler: () => Promise<void>; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const deep_merge: (target: any, source: any) => any; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface error_type { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ declare type type_string = 'Object' | 'Number' | 'Boolean' | 'String' | 'Null' | 'Array' | 'RegExp' | 'Function' | 'Undefined'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const stable_sort: (arr: any, compare: any) => any; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const path_to_string: (path: any) => string; | ||
export declare const string_to_path: (str: any) => any; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare const orma_introspect: (db: string, fn: (s: string[]) => Promise<Record<string, unknown>[][]>) => Promise<import("./introspector/introspector").orma_schema>; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
import { orma_schema } from './introspector'; | ||
export declare const migrator: (target_schema: orma_schema, database_schema?: orma_schema) => void; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const apply_inherit_operations_macro: (mutation: any) => void; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { orma_schema } from '../../introspector/introspector'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { PathedRecord } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { orma_schema } from '../introspector/introspector'; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { error_type } from '../helpers/error_handling'; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const verify_independence: (mutation: any, orma_query: (query: any) => Promise<any>) => Promise<void>; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { orma_schema } from '../introspector/introspector'; |
@@ -53,7 +53,5 @@ "use strict"; | ||
.filter(el => el !== undefined); | ||
if (query_statements.length > 0) { | ||
const query_results = await mysql_function(query_statements); | ||
const new_tier_results = (0, exports.add_foreign_key_indexes)(query_statements, query_results, mutation, orma_schema); | ||
tier_results = Object.assign(Object.assign({}, tier_results), new_tier_results); | ||
} | ||
const query_results = await mysql_function(query_statements); | ||
const new_tier_results = (0, exports.add_foreign_key_indexes)(query_statements, query_results, mutation, orma_schema); | ||
tier_results = Object.assign(Object.assign({}, tier_results), new_tier_results); | ||
} | ||
@@ -60,0 +58,0 @@ // merge database rows into mutation |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { error_type } from '../../helpers/error_handling'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { orma_schema } from '../../introspector/introspector'; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const apply_escape_macro: (query: any) => void; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { orma_schema } from '../../introspector/introspector'; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { orma_schema } from '../../introspector/introspector'; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ declare type select_expr = {}; |
@@ -0,0 +0,0 @@ // interface query { |
@@ -0,0 +0,0 @@ import { error_type } from '../helpers/error_handling'; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { error_type } from '../helpers/error_handling'; |
@@ -106,3 +106,3 @@ "use strict"; | ||
if (errors.length > 0) { | ||
throw { | ||
return { | ||
$success: false, | ||
@@ -109,0 +109,0 @@ errors, |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ // export type CreateTableStatement = ({ |
import { error_type } from "../helpers/error_handling"; | ||
export declare const validator: (query: any, schema: any) => error_type[]; |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare type Path = (string | number)[]; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { XOR } from '../helper_types'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IsEqual } from '../helper_types'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ "use strict"; |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Pluck } from '../helper_types'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { Edge } from '../helpers/schema_helpers'; |
"use strict"; | ||
// generate type for orma schema which plays well with as const declarations | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
export {}; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "orma", | ||
"version": "1.0.62", | ||
"version": "1.0.63", | ||
"description": "A declarative relational syncronous orm", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -0,0 +0,0 @@ ## Status |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
421551
154
10436
1