@contember/database-tester 2.1.0-alpha.37 → 2.1.0-alpha.39
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/development/index.cjs +6 -0
- package/dist/development/index.cjs.map +1 -0
- package/dist/development/index.js +6 -0
- package/dist/development/index.js.map +1 -0
- package/dist/development/src/mocking.cjs +100 -0
- package/dist/development/src/mocking.cjs.map +1 -0
- package/dist/development/src/mocking.js +100 -0
- package/dist/development/src/mocking.js.map +1 -0
- package/dist/production/index.cjs +6 -0
- package/dist/production/index.cjs.map +1 -0
- package/dist/production/index.js +6 -0
- package/dist/production/index.js.map +1 -0
- package/dist/production/src/mocking.cjs +100 -0
- package/dist/production/src/mocking.cjs.map +1 -0
- package/dist/production/src/mocking.js +100 -0
- package/dist/production/src/mocking.js.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/mocking.d.ts +32 -0
- package/dist/types/mocking.d.ts.map +1 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const mocking = require("./src/mocking.cjs");
|
|
4
|
+
exports.ConnectionMock = mocking.ConnectionMock;
|
|
5
|
+
exports.createConnectionMock = mocking.createConnectionMock;
|
|
6
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Database = require("@contember/database");
|
|
4
|
+
const bun_test = require("bun:test");
|
|
5
|
+
const node_util = require("node:util");
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
9
|
+
class CounterRef {
|
|
10
|
+
constructor() {
|
|
11
|
+
__publicField(this, "value", 0);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
class ConnectionMock {
|
|
15
|
+
constructor(queries, counter = new CounterRef(), eventManager = new Database.EventManager()) {
|
|
16
|
+
this.queries = queries;
|
|
17
|
+
this.counter = counter;
|
|
18
|
+
this.eventManager = eventManager;
|
|
19
|
+
__publicField(this, "config", { database: "", host: "", password: "", user: "", port: 5432 });
|
|
20
|
+
__publicField(this, "isClosed", false);
|
|
21
|
+
}
|
|
22
|
+
async query(sql, parameters, meta) {
|
|
23
|
+
const expected = this.queries.shift() || { sql: "", parameters: [], response: {} };
|
|
24
|
+
const actualSql = sql.replace(/\s+/g, " ").toLowerCase();
|
|
25
|
+
const expectedSql = expected.sql.replace(/\s+/g, " ").toLowerCase();
|
|
26
|
+
this.counter.value++;
|
|
27
|
+
const expectedMsg = `Expected query #${this.counter.value} does not match SQL:
|
|
28
|
+
${sql}
|
|
29
|
+
with following parameters
|
|
30
|
+
${JSON.stringify(parameters, void 0, " ")}
|
|
31
|
+
|
|
32
|
+
Expected:
|
|
33
|
+
${expected.sql}`;
|
|
34
|
+
if (actualSql !== expectedSql) {
|
|
35
|
+
bun_test.expect().fail(expectedMsg);
|
|
36
|
+
}
|
|
37
|
+
const evm = this.eventManager;
|
|
38
|
+
if (expected.parameters) {
|
|
39
|
+
if ((parameters?.length ?? 0) !== expected.parameters.length) {
|
|
40
|
+
bun_test.expect().fail(expectedMsg);
|
|
41
|
+
}
|
|
42
|
+
for (let index in expected.parameters) {
|
|
43
|
+
const expectedParameter = expected.parameters[index];
|
|
44
|
+
const actualParameter = (parameters || [])[index];
|
|
45
|
+
if (typeof expectedParameter === "function") {
|
|
46
|
+
if (!expectedParameter(actualParameter)) {
|
|
47
|
+
bun_test.expect().fail(expectedMsg);
|
|
48
|
+
}
|
|
49
|
+
} else {
|
|
50
|
+
if (!node_util.isDeepStrictEqual(expectedParameter, actualParameter)) {
|
|
51
|
+
bun_test.expect().fail(expectedMsg);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
evm.fire(Database.EventManager.Event.queryStart, { sql: expected.sql, parameters: expected.parameters ?? [], meta });
|
|
57
|
+
await new Promise((resolve) => setTimeout(resolve, 1));
|
|
58
|
+
evm.fire(Database.EventManager.Event.queryEnd, {
|
|
59
|
+
sql: expected.sql,
|
|
60
|
+
parameters: expected.parameters ?? [],
|
|
61
|
+
meta
|
|
62
|
+
}, {});
|
|
63
|
+
return expected.response;
|
|
64
|
+
}
|
|
65
|
+
async scope(callback, options = {}) {
|
|
66
|
+
return await callback(new ConnectionMock(this.queries, this.counter, new Database.EventManager(options.eventManager ?? this.eventManager)));
|
|
67
|
+
}
|
|
68
|
+
async transaction(trx, options = {}) {
|
|
69
|
+
await this.query("BEGIN;");
|
|
70
|
+
const transaction = new ConnectionMock(this.queries, this.counter, new Database.EventManager(options.eventManager ?? this.eventManager));
|
|
71
|
+
const result = await trx(transaction);
|
|
72
|
+
if (!transaction.isClosed) {
|
|
73
|
+
await this.commit();
|
|
74
|
+
}
|
|
75
|
+
return result;
|
|
76
|
+
}
|
|
77
|
+
async commit() {
|
|
78
|
+
this.isClosed = true;
|
|
79
|
+
await this.query("COMMIT;");
|
|
80
|
+
}
|
|
81
|
+
async rollback() {
|
|
82
|
+
this.isClosed = true;
|
|
83
|
+
await this.query("ROLLBACK;");
|
|
84
|
+
}
|
|
85
|
+
createClient(schema, meta) {
|
|
86
|
+
return new Database.Client(this, schema, meta, new Database.EventManager(this.eventManager));
|
|
87
|
+
}
|
|
88
|
+
on() {
|
|
89
|
+
return () => null;
|
|
90
|
+
}
|
|
91
|
+
getPoolStatus() {
|
|
92
|
+
return void 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
const createConnectionMock = (queries) => {
|
|
96
|
+
return new ConnectionMock(queries);
|
|
97
|
+
};
|
|
98
|
+
exports.ConnectionMock = ConnectionMock;
|
|
99
|
+
exports.createConnectionMock = createConnectionMock;
|
|
100
|
+
//# sourceMappingURL=mocking.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mocking.cjs","sources":["../../../../packages/database-tester/src/mocking.ts"],"sourcesContent":["import { Client, Connection, DatabaseConfig, EventManager } from '@contember/database'\nimport { expect } from 'bun:test'\nimport { isDeepStrictEqual } from 'node:util'\n\nexport interface ExpectedQuery {\n\tsql: string\n\tparameters?: any[]\n\tresponse: Partial<Connection.Result>\n}\nclass CounterRef {\n\tpublic value = 0\n}\n\nexport class ConnectionMock implements Connection.ConnectionType, Connection.TransactionLike {\n\tpublic config: DatabaseConfig = { database: '', host: '', password: '', user: '', port: 5432 }\n\n\tconstructor(\n\t\tprivate readonly queries: ExpectedQuery[],\n\t\tprivate counter = new CounterRef(),\n\t\tpublic readonly eventManager = new EventManager(),\n\t) {\n\t}\n\n\tasync query<Row extends Record<string, any>>(\n\t\tsql: string,\n\t\tparameters?: any[],\n\t\tmeta?: any,\n\t): Promise<Connection.Result<Row>> {\n\t\tconst expected = this.queries.shift() || { sql: '', parameters: [], response: {} }\n\n\t\tconst actualSql = sql.replace(/\\s+/g, ' ').toLowerCase()\n\t\tconst expectedSql = expected.sql.replace(/\\s+/g, ' ').toLowerCase()\n\t\tthis.counter.value++\n\t\t// console.log({sql, parameters, response: {}})\n\t\tconst expectedMsg = `Expected query #${this.counter.value} does not match SQL:\n${sql}\nwith following parameters\n${JSON.stringify(parameters, undefined, ' ')}\n\nExpected:\n${expected.sql}`\n\t\tif (actualSql !== expectedSql) {\n\t\t\texpect().fail(expectedMsg)\n\t\t}\n\n\t\tconst evm = this.eventManager\n\t\tif (expected.parameters) {\n\t\t\tif ((parameters?.length ?? 0) !== expected.parameters.length) {\n\t\t\t\texpect().fail(expectedMsg)\n\t\t\t}\n\n\t\t\tfor (let index in expected.parameters) {\n\t\t\t\tconst expectedParameter = expected.parameters[index]\n\t\t\t\tconst actualParameter = (parameters || [])[index]\n\t\t\t\tif (typeof expectedParameter === 'function') {\n\t\t\t\t\tif (!expectedParameter(actualParameter)) {\n\t\t\t\t\t\texpect().fail(expectedMsg)\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (!isDeepStrictEqual(expectedParameter, actualParameter)) {\n\t\t\t\t\t\texpect().fail(expectedMsg)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevm.fire(EventManager.Event.queryStart, { sql: expected.sql, parameters: expected.parameters ?? [], meta })\n\t\tawait new Promise(resolve => setTimeout(resolve, 1))\n\t\tevm.fire(EventManager.Event.queryEnd, {\n\t\t\tsql: expected.sql,\n\t\t\tparameters: expected.parameters ?? [],\n\t\t\tmeta,\n\t\t}, {} as any)\n\n\t\treturn expected.response as any\n\t}\n\n\tasync scope<Result>(\n\t\tcallback: (connection: Connection.TransactionLike) => Promise<Result> | Result,\n\t\toptions: { eventManager?: EventManager } = {},\n\t): Promise<Result> {\n\t\treturn await callback(new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager)))\n\t}\n\n\tasync transaction<Result>(\n\t\ttrx: (connection: Connection.TransactionLike) => Promise<Result> | Result,\n\t\toptions: { eventManager?: EventManager } = {},\n\t): Promise<Result> {\n\t\tawait this.query('BEGIN;')\n\t\tconst transaction = new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager))\n\t\tconst result = await trx(transaction)\n\t\tif (!transaction.isClosed) {\n\t\t\tawait this.commit()\n\t\t}\n\t\treturn result\n\t}\n\n\tisClosed: boolean = false\n\n\tasync commit(): Promise<void> {\n\t\tthis.isClosed = true\n\t\tawait this.query('COMMIT;')\n\t}\n\n\tasync rollback(): Promise<void> {\n\t\tthis.isClosed = true\n\t\tawait this.query('ROLLBACK;')\n\t}\n\n\tpublic createClient(schema: string, meta: Record<string, any>): Client {\n\t\treturn new Client(this, schema, meta, new EventManager(this.eventManager))\n\t}\n\n\tpublic on() {\n\t\treturn () => null\n\t}\n\n\tgetPoolStatus() {\n\t\treturn undefined\n\t}\n}\n\nexport const createConnectionMock = (\n\tqueries: ExpectedQuery[],\n): Connection.ConnectionType => {\n\treturn new ConnectionMock(queries)\n}\n"],"names":["EventManager","expect","isDeepStrictEqual","Client"],"mappings":"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"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EventManager, Client } from "@contember/database";
|
|
2
|
+
import { expect } from "bun:test";
|
|
3
|
+
import { isDeepStrictEqual } from "node:util";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7
|
+
class CounterRef {
|
|
8
|
+
constructor() {
|
|
9
|
+
__publicField(this, "value", 0);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
class ConnectionMock {
|
|
13
|
+
constructor(queries, counter = new CounterRef(), eventManager = new EventManager()) {
|
|
14
|
+
this.queries = queries;
|
|
15
|
+
this.counter = counter;
|
|
16
|
+
this.eventManager = eventManager;
|
|
17
|
+
__publicField(this, "config", { database: "", host: "", password: "", user: "", port: 5432 });
|
|
18
|
+
__publicField(this, "isClosed", false);
|
|
19
|
+
}
|
|
20
|
+
async query(sql, parameters, meta) {
|
|
21
|
+
const expected = this.queries.shift() || { sql: "", parameters: [], response: {} };
|
|
22
|
+
const actualSql = sql.replace(/\s+/g, " ").toLowerCase();
|
|
23
|
+
const expectedSql = expected.sql.replace(/\s+/g, " ").toLowerCase();
|
|
24
|
+
this.counter.value++;
|
|
25
|
+
const expectedMsg = `Expected query #${this.counter.value} does not match SQL:
|
|
26
|
+
${sql}
|
|
27
|
+
with following parameters
|
|
28
|
+
${JSON.stringify(parameters, void 0, " ")}
|
|
29
|
+
|
|
30
|
+
Expected:
|
|
31
|
+
${expected.sql}`;
|
|
32
|
+
if (actualSql !== expectedSql) {
|
|
33
|
+
expect().fail(expectedMsg);
|
|
34
|
+
}
|
|
35
|
+
const evm = this.eventManager;
|
|
36
|
+
if (expected.parameters) {
|
|
37
|
+
if ((parameters?.length ?? 0) !== expected.parameters.length) {
|
|
38
|
+
expect().fail(expectedMsg);
|
|
39
|
+
}
|
|
40
|
+
for (let index in expected.parameters) {
|
|
41
|
+
const expectedParameter = expected.parameters[index];
|
|
42
|
+
const actualParameter = (parameters || [])[index];
|
|
43
|
+
if (typeof expectedParameter === "function") {
|
|
44
|
+
if (!expectedParameter(actualParameter)) {
|
|
45
|
+
expect().fail(expectedMsg);
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
if (!isDeepStrictEqual(expectedParameter, actualParameter)) {
|
|
49
|
+
expect().fail(expectedMsg);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
evm.fire(EventManager.Event.queryStart, { sql: expected.sql, parameters: expected.parameters ?? [], meta });
|
|
55
|
+
await new Promise((resolve) => setTimeout(resolve, 1));
|
|
56
|
+
evm.fire(EventManager.Event.queryEnd, {
|
|
57
|
+
sql: expected.sql,
|
|
58
|
+
parameters: expected.parameters ?? [],
|
|
59
|
+
meta
|
|
60
|
+
}, {});
|
|
61
|
+
return expected.response;
|
|
62
|
+
}
|
|
63
|
+
async scope(callback, options = {}) {
|
|
64
|
+
return await callback(new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager)));
|
|
65
|
+
}
|
|
66
|
+
async transaction(trx, options = {}) {
|
|
67
|
+
await this.query("BEGIN;");
|
|
68
|
+
const transaction = new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager));
|
|
69
|
+
const result = await trx(transaction);
|
|
70
|
+
if (!transaction.isClosed) {
|
|
71
|
+
await this.commit();
|
|
72
|
+
}
|
|
73
|
+
return result;
|
|
74
|
+
}
|
|
75
|
+
async commit() {
|
|
76
|
+
this.isClosed = true;
|
|
77
|
+
await this.query("COMMIT;");
|
|
78
|
+
}
|
|
79
|
+
async rollback() {
|
|
80
|
+
this.isClosed = true;
|
|
81
|
+
await this.query("ROLLBACK;");
|
|
82
|
+
}
|
|
83
|
+
createClient(schema, meta) {
|
|
84
|
+
return new Client(this, schema, meta, new EventManager(this.eventManager));
|
|
85
|
+
}
|
|
86
|
+
on() {
|
|
87
|
+
return () => null;
|
|
88
|
+
}
|
|
89
|
+
getPoolStatus() {
|
|
90
|
+
return void 0;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
const createConnectionMock = (queries) => {
|
|
94
|
+
return new ConnectionMock(queries);
|
|
95
|
+
};
|
|
96
|
+
export {
|
|
97
|
+
ConnectionMock,
|
|
98
|
+
createConnectionMock
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=mocking.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mocking.js","sources":["../../../../packages/database-tester/src/mocking.ts"],"sourcesContent":["import { Client, Connection, DatabaseConfig, EventManager } from '@contember/database'\nimport { expect } from 'bun:test'\nimport { isDeepStrictEqual } from 'node:util'\n\nexport interface ExpectedQuery {\n\tsql: string\n\tparameters?: any[]\n\tresponse: Partial<Connection.Result>\n}\nclass CounterRef {\n\tpublic value = 0\n}\n\nexport class ConnectionMock implements Connection.ConnectionType, Connection.TransactionLike {\n\tpublic config: DatabaseConfig = { database: '', host: '', password: '', user: '', port: 5432 }\n\n\tconstructor(\n\t\tprivate readonly queries: ExpectedQuery[],\n\t\tprivate counter = new CounterRef(),\n\t\tpublic readonly eventManager = new EventManager(),\n\t) {\n\t}\n\n\tasync query<Row extends Record<string, any>>(\n\t\tsql: string,\n\t\tparameters?: any[],\n\t\tmeta?: any,\n\t): Promise<Connection.Result<Row>> {\n\t\tconst expected = this.queries.shift() || { sql: '', parameters: [], response: {} }\n\n\t\tconst actualSql = sql.replace(/\\s+/g, ' ').toLowerCase()\n\t\tconst expectedSql = expected.sql.replace(/\\s+/g, ' ').toLowerCase()\n\t\tthis.counter.value++\n\t\t// console.log({sql, parameters, response: {}})\n\t\tconst expectedMsg = `Expected query #${this.counter.value} does not match SQL:\n${sql}\nwith following parameters\n${JSON.stringify(parameters, undefined, ' ')}\n\nExpected:\n${expected.sql}`\n\t\tif (actualSql !== expectedSql) {\n\t\t\texpect().fail(expectedMsg)\n\t\t}\n\n\t\tconst evm = this.eventManager\n\t\tif (expected.parameters) {\n\t\t\tif ((parameters?.length ?? 0) !== expected.parameters.length) {\n\t\t\t\texpect().fail(expectedMsg)\n\t\t\t}\n\n\t\t\tfor (let index in expected.parameters) {\n\t\t\t\tconst expectedParameter = expected.parameters[index]\n\t\t\t\tconst actualParameter = (parameters || [])[index]\n\t\t\t\tif (typeof expectedParameter === 'function') {\n\t\t\t\t\tif (!expectedParameter(actualParameter)) {\n\t\t\t\t\t\texpect().fail(expectedMsg)\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (!isDeepStrictEqual(expectedParameter, actualParameter)) {\n\t\t\t\t\t\texpect().fail(expectedMsg)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevm.fire(EventManager.Event.queryStart, { sql: expected.sql, parameters: expected.parameters ?? [], meta })\n\t\tawait new Promise(resolve => setTimeout(resolve, 1))\n\t\tevm.fire(EventManager.Event.queryEnd, {\n\t\t\tsql: expected.sql,\n\t\t\tparameters: expected.parameters ?? [],\n\t\t\tmeta,\n\t\t}, {} as any)\n\n\t\treturn expected.response as any\n\t}\n\n\tasync scope<Result>(\n\t\tcallback: (connection: Connection.TransactionLike) => Promise<Result> | Result,\n\t\toptions: { eventManager?: EventManager } = {},\n\t): Promise<Result> {\n\t\treturn await callback(new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager)))\n\t}\n\n\tasync transaction<Result>(\n\t\ttrx: (connection: Connection.TransactionLike) => Promise<Result> | Result,\n\t\toptions: { eventManager?: EventManager } = {},\n\t): Promise<Result> {\n\t\tawait this.query('BEGIN;')\n\t\tconst transaction = new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager))\n\t\tconst result = await trx(transaction)\n\t\tif (!transaction.isClosed) {\n\t\t\tawait this.commit()\n\t\t}\n\t\treturn result\n\t}\n\n\tisClosed: boolean = false\n\n\tasync commit(): Promise<void> {\n\t\tthis.isClosed = true\n\t\tawait this.query('COMMIT;')\n\t}\n\n\tasync rollback(): Promise<void> {\n\t\tthis.isClosed = true\n\t\tawait this.query('ROLLBACK;')\n\t}\n\n\tpublic createClient(schema: string, meta: Record<string, any>): Client {\n\t\treturn new Client(this, schema, meta, new EventManager(this.eventManager))\n\t}\n\n\tpublic on() {\n\t\treturn () => null\n\t}\n\n\tgetPoolStatus() {\n\t\treturn undefined\n\t}\n}\n\nexport const createConnectionMock = (\n\tqueries: ExpectedQuery[],\n): Connection.ConnectionType => {\n\treturn new ConnectionMock(queries)\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const mocking = require("./src/mocking.cjs");
|
|
4
|
+
exports.ConnectionMock = mocking.ConnectionMock;
|
|
5
|
+
exports.createConnectionMock = mocking.createConnectionMock;
|
|
6
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Database = require("@contember/database");
|
|
4
|
+
const bun_test = require("bun:test");
|
|
5
|
+
const node_util = require("node:util");
|
|
6
|
+
var __defProp = Object.defineProperty;
|
|
7
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
9
|
+
class CounterRef {
|
|
10
|
+
constructor() {
|
|
11
|
+
__publicField(this, "value", 0);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
class ConnectionMock {
|
|
15
|
+
constructor(queries, counter = new CounterRef(), eventManager = new Database.EventManager()) {
|
|
16
|
+
this.queries = queries;
|
|
17
|
+
this.counter = counter;
|
|
18
|
+
this.eventManager = eventManager;
|
|
19
|
+
__publicField(this, "config", { database: "", host: "", password: "", user: "", port: 5432 });
|
|
20
|
+
__publicField(this, "isClosed", false);
|
|
21
|
+
}
|
|
22
|
+
async query(sql, parameters, meta) {
|
|
23
|
+
const expected = this.queries.shift() || { sql: "", parameters: [], response: {} };
|
|
24
|
+
const actualSql = sql.replace(/\s+/g, " ").toLowerCase();
|
|
25
|
+
const expectedSql = expected.sql.replace(/\s+/g, " ").toLowerCase();
|
|
26
|
+
this.counter.value++;
|
|
27
|
+
const expectedMsg = `Expected query #${this.counter.value} does not match SQL:
|
|
28
|
+
${sql}
|
|
29
|
+
with following parameters
|
|
30
|
+
${JSON.stringify(parameters, void 0, " ")}
|
|
31
|
+
|
|
32
|
+
Expected:
|
|
33
|
+
${expected.sql}`;
|
|
34
|
+
if (actualSql !== expectedSql) {
|
|
35
|
+
bun_test.expect().fail(expectedMsg);
|
|
36
|
+
}
|
|
37
|
+
const evm = this.eventManager;
|
|
38
|
+
if (expected.parameters) {
|
|
39
|
+
if ((parameters?.length ?? 0) !== expected.parameters.length) {
|
|
40
|
+
bun_test.expect().fail(expectedMsg);
|
|
41
|
+
}
|
|
42
|
+
for (let index in expected.parameters) {
|
|
43
|
+
const expectedParameter = expected.parameters[index];
|
|
44
|
+
const actualParameter = (parameters || [])[index];
|
|
45
|
+
if (typeof expectedParameter === "function") {
|
|
46
|
+
if (!expectedParameter(actualParameter)) {
|
|
47
|
+
bun_test.expect().fail(expectedMsg);
|
|
48
|
+
}
|
|
49
|
+
} else {
|
|
50
|
+
if (!node_util.isDeepStrictEqual(expectedParameter, actualParameter)) {
|
|
51
|
+
bun_test.expect().fail(expectedMsg);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
evm.fire(Database.EventManager.Event.queryStart, { sql: expected.sql, parameters: expected.parameters ?? [], meta });
|
|
57
|
+
await new Promise((resolve) => setTimeout(resolve, 1));
|
|
58
|
+
evm.fire(Database.EventManager.Event.queryEnd, {
|
|
59
|
+
sql: expected.sql,
|
|
60
|
+
parameters: expected.parameters ?? [],
|
|
61
|
+
meta
|
|
62
|
+
}, {});
|
|
63
|
+
return expected.response;
|
|
64
|
+
}
|
|
65
|
+
async scope(callback, options = {}) {
|
|
66
|
+
return await callback(new ConnectionMock(this.queries, this.counter, new Database.EventManager(options.eventManager ?? this.eventManager)));
|
|
67
|
+
}
|
|
68
|
+
async transaction(trx, options = {}) {
|
|
69
|
+
await this.query("BEGIN;");
|
|
70
|
+
const transaction = new ConnectionMock(this.queries, this.counter, new Database.EventManager(options.eventManager ?? this.eventManager));
|
|
71
|
+
const result = await trx(transaction);
|
|
72
|
+
if (!transaction.isClosed) {
|
|
73
|
+
await this.commit();
|
|
74
|
+
}
|
|
75
|
+
return result;
|
|
76
|
+
}
|
|
77
|
+
async commit() {
|
|
78
|
+
this.isClosed = true;
|
|
79
|
+
await this.query("COMMIT;");
|
|
80
|
+
}
|
|
81
|
+
async rollback() {
|
|
82
|
+
this.isClosed = true;
|
|
83
|
+
await this.query("ROLLBACK;");
|
|
84
|
+
}
|
|
85
|
+
createClient(schema, meta) {
|
|
86
|
+
return new Database.Client(this, schema, meta, new Database.EventManager(this.eventManager));
|
|
87
|
+
}
|
|
88
|
+
on() {
|
|
89
|
+
return () => null;
|
|
90
|
+
}
|
|
91
|
+
getPoolStatus() {
|
|
92
|
+
return void 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
const createConnectionMock = (queries) => {
|
|
96
|
+
return new ConnectionMock(queries);
|
|
97
|
+
};
|
|
98
|
+
exports.ConnectionMock = ConnectionMock;
|
|
99
|
+
exports.createConnectionMock = createConnectionMock;
|
|
100
|
+
//# sourceMappingURL=mocking.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mocking.cjs","sources":["../../../../packages/database-tester/src/mocking.ts"],"sourcesContent":["import { Client, Connection, DatabaseConfig, EventManager } from '@contember/database'\nimport { expect } from 'bun:test'\nimport { isDeepStrictEqual } from 'node:util'\n\nexport interface ExpectedQuery {\n\tsql: string\n\tparameters?: any[]\n\tresponse: Partial<Connection.Result>\n}\nclass CounterRef {\n\tpublic value = 0\n}\n\nexport class ConnectionMock implements Connection.ConnectionType, Connection.TransactionLike {\n\tpublic config: DatabaseConfig = { database: '', host: '', password: '', user: '', port: 5432 }\n\n\tconstructor(\n\t\tprivate readonly queries: ExpectedQuery[],\n\t\tprivate counter = new CounterRef(),\n\t\tpublic readonly eventManager = new EventManager(),\n\t) {\n\t}\n\n\tasync query<Row extends Record<string, any>>(\n\t\tsql: string,\n\t\tparameters?: any[],\n\t\tmeta?: any,\n\t): Promise<Connection.Result<Row>> {\n\t\tconst expected = this.queries.shift() || { sql: '', parameters: [], response: {} }\n\n\t\tconst actualSql = sql.replace(/\\s+/g, ' ').toLowerCase()\n\t\tconst expectedSql = expected.sql.replace(/\\s+/g, ' ').toLowerCase()\n\t\tthis.counter.value++\n\t\t// console.log({sql, parameters, response: {}})\n\t\tconst expectedMsg = `Expected query #${this.counter.value} does not match SQL:\n${sql}\nwith following parameters\n${JSON.stringify(parameters, undefined, ' ')}\n\nExpected:\n${expected.sql}`\n\t\tif (actualSql !== expectedSql) {\n\t\t\texpect().fail(expectedMsg)\n\t\t}\n\n\t\tconst evm = this.eventManager\n\t\tif (expected.parameters) {\n\t\t\tif ((parameters?.length ?? 0) !== expected.parameters.length) {\n\t\t\t\texpect().fail(expectedMsg)\n\t\t\t}\n\n\t\t\tfor (let index in expected.parameters) {\n\t\t\t\tconst expectedParameter = expected.parameters[index]\n\t\t\t\tconst actualParameter = (parameters || [])[index]\n\t\t\t\tif (typeof expectedParameter === 'function') {\n\t\t\t\t\tif (!expectedParameter(actualParameter)) {\n\t\t\t\t\t\texpect().fail(expectedMsg)\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (!isDeepStrictEqual(expectedParameter, actualParameter)) {\n\t\t\t\t\t\texpect().fail(expectedMsg)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevm.fire(EventManager.Event.queryStart, { sql: expected.sql, parameters: expected.parameters ?? [], meta })\n\t\tawait new Promise(resolve => setTimeout(resolve, 1))\n\t\tevm.fire(EventManager.Event.queryEnd, {\n\t\t\tsql: expected.sql,\n\t\t\tparameters: expected.parameters ?? [],\n\t\t\tmeta,\n\t\t}, {} as any)\n\n\t\treturn expected.response as any\n\t}\n\n\tasync scope<Result>(\n\t\tcallback: (connection: Connection.TransactionLike) => Promise<Result> | Result,\n\t\toptions: { eventManager?: EventManager } = {},\n\t): Promise<Result> {\n\t\treturn await callback(new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager)))\n\t}\n\n\tasync transaction<Result>(\n\t\ttrx: (connection: Connection.TransactionLike) => Promise<Result> | Result,\n\t\toptions: { eventManager?: EventManager } = {},\n\t): Promise<Result> {\n\t\tawait this.query('BEGIN;')\n\t\tconst transaction = new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager))\n\t\tconst result = await trx(transaction)\n\t\tif (!transaction.isClosed) {\n\t\t\tawait this.commit()\n\t\t}\n\t\treturn result\n\t}\n\n\tisClosed: boolean = false\n\n\tasync commit(): Promise<void> {\n\t\tthis.isClosed = true\n\t\tawait this.query('COMMIT;')\n\t}\n\n\tasync rollback(): Promise<void> {\n\t\tthis.isClosed = true\n\t\tawait this.query('ROLLBACK;')\n\t}\n\n\tpublic createClient(schema: string, meta: Record<string, any>): Client {\n\t\treturn new Client(this, schema, meta, new EventManager(this.eventManager))\n\t}\n\n\tpublic on() {\n\t\treturn () => null\n\t}\n\n\tgetPoolStatus() {\n\t\treturn undefined\n\t}\n}\n\nexport const createConnectionMock = (\n\tqueries: ExpectedQuery[],\n): Connection.ConnectionType => {\n\treturn new ConnectionMock(queries)\n}\n"],"names":["EventManager","expect","isDeepStrictEqual","Client"],"mappings":"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"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { EventManager, Client } from "@contember/database";
|
|
2
|
+
import { expect } from "bun:test";
|
|
3
|
+
import { isDeepStrictEqual } from "node:util";
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
7
|
+
class CounterRef {
|
|
8
|
+
constructor() {
|
|
9
|
+
__publicField(this, "value", 0);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
class ConnectionMock {
|
|
13
|
+
constructor(queries, counter = new CounterRef(), eventManager = new EventManager()) {
|
|
14
|
+
this.queries = queries;
|
|
15
|
+
this.counter = counter;
|
|
16
|
+
this.eventManager = eventManager;
|
|
17
|
+
__publicField(this, "config", { database: "", host: "", password: "", user: "", port: 5432 });
|
|
18
|
+
__publicField(this, "isClosed", false);
|
|
19
|
+
}
|
|
20
|
+
async query(sql, parameters, meta) {
|
|
21
|
+
const expected = this.queries.shift() || { sql: "", parameters: [], response: {} };
|
|
22
|
+
const actualSql = sql.replace(/\s+/g, " ").toLowerCase();
|
|
23
|
+
const expectedSql = expected.sql.replace(/\s+/g, " ").toLowerCase();
|
|
24
|
+
this.counter.value++;
|
|
25
|
+
const expectedMsg = `Expected query #${this.counter.value} does not match SQL:
|
|
26
|
+
${sql}
|
|
27
|
+
with following parameters
|
|
28
|
+
${JSON.stringify(parameters, void 0, " ")}
|
|
29
|
+
|
|
30
|
+
Expected:
|
|
31
|
+
${expected.sql}`;
|
|
32
|
+
if (actualSql !== expectedSql) {
|
|
33
|
+
expect().fail(expectedMsg);
|
|
34
|
+
}
|
|
35
|
+
const evm = this.eventManager;
|
|
36
|
+
if (expected.parameters) {
|
|
37
|
+
if ((parameters?.length ?? 0) !== expected.parameters.length) {
|
|
38
|
+
expect().fail(expectedMsg);
|
|
39
|
+
}
|
|
40
|
+
for (let index in expected.parameters) {
|
|
41
|
+
const expectedParameter = expected.parameters[index];
|
|
42
|
+
const actualParameter = (parameters || [])[index];
|
|
43
|
+
if (typeof expectedParameter === "function") {
|
|
44
|
+
if (!expectedParameter(actualParameter)) {
|
|
45
|
+
expect().fail(expectedMsg);
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
if (!isDeepStrictEqual(expectedParameter, actualParameter)) {
|
|
49
|
+
expect().fail(expectedMsg);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
evm.fire(EventManager.Event.queryStart, { sql: expected.sql, parameters: expected.parameters ?? [], meta });
|
|
55
|
+
await new Promise((resolve) => setTimeout(resolve, 1));
|
|
56
|
+
evm.fire(EventManager.Event.queryEnd, {
|
|
57
|
+
sql: expected.sql,
|
|
58
|
+
parameters: expected.parameters ?? [],
|
|
59
|
+
meta
|
|
60
|
+
}, {});
|
|
61
|
+
return expected.response;
|
|
62
|
+
}
|
|
63
|
+
async scope(callback, options = {}) {
|
|
64
|
+
return await callback(new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager)));
|
|
65
|
+
}
|
|
66
|
+
async transaction(trx, options = {}) {
|
|
67
|
+
await this.query("BEGIN;");
|
|
68
|
+
const transaction = new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager));
|
|
69
|
+
const result = await trx(transaction);
|
|
70
|
+
if (!transaction.isClosed) {
|
|
71
|
+
await this.commit();
|
|
72
|
+
}
|
|
73
|
+
return result;
|
|
74
|
+
}
|
|
75
|
+
async commit() {
|
|
76
|
+
this.isClosed = true;
|
|
77
|
+
await this.query("COMMIT;");
|
|
78
|
+
}
|
|
79
|
+
async rollback() {
|
|
80
|
+
this.isClosed = true;
|
|
81
|
+
await this.query("ROLLBACK;");
|
|
82
|
+
}
|
|
83
|
+
createClient(schema, meta) {
|
|
84
|
+
return new Client(this, schema, meta, new EventManager(this.eventManager));
|
|
85
|
+
}
|
|
86
|
+
on() {
|
|
87
|
+
return () => null;
|
|
88
|
+
}
|
|
89
|
+
getPoolStatus() {
|
|
90
|
+
return void 0;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
const createConnectionMock = (queries) => {
|
|
94
|
+
return new ConnectionMock(queries);
|
|
95
|
+
};
|
|
96
|
+
export {
|
|
97
|
+
ConnectionMock,
|
|
98
|
+
createConnectionMock
|
|
99
|
+
};
|
|
100
|
+
//# sourceMappingURL=mocking.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mocking.js","sources":["../../../../packages/database-tester/src/mocking.ts"],"sourcesContent":["import { Client, Connection, DatabaseConfig, EventManager } from '@contember/database'\nimport { expect } from 'bun:test'\nimport { isDeepStrictEqual } from 'node:util'\n\nexport interface ExpectedQuery {\n\tsql: string\n\tparameters?: any[]\n\tresponse: Partial<Connection.Result>\n}\nclass CounterRef {\n\tpublic value = 0\n}\n\nexport class ConnectionMock implements Connection.ConnectionType, Connection.TransactionLike {\n\tpublic config: DatabaseConfig = { database: '', host: '', password: '', user: '', port: 5432 }\n\n\tconstructor(\n\t\tprivate readonly queries: ExpectedQuery[],\n\t\tprivate counter = new CounterRef(),\n\t\tpublic readonly eventManager = new EventManager(),\n\t) {\n\t}\n\n\tasync query<Row extends Record<string, any>>(\n\t\tsql: string,\n\t\tparameters?: any[],\n\t\tmeta?: any,\n\t): Promise<Connection.Result<Row>> {\n\t\tconst expected = this.queries.shift() || { sql: '', parameters: [], response: {} }\n\n\t\tconst actualSql = sql.replace(/\\s+/g, ' ').toLowerCase()\n\t\tconst expectedSql = expected.sql.replace(/\\s+/g, ' ').toLowerCase()\n\t\tthis.counter.value++\n\t\t// console.log({sql, parameters, response: {}})\n\t\tconst expectedMsg = `Expected query #${this.counter.value} does not match SQL:\n${sql}\nwith following parameters\n${JSON.stringify(parameters, undefined, ' ')}\n\nExpected:\n${expected.sql}`\n\t\tif (actualSql !== expectedSql) {\n\t\t\texpect().fail(expectedMsg)\n\t\t}\n\n\t\tconst evm = this.eventManager\n\t\tif (expected.parameters) {\n\t\t\tif ((parameters?.length ?? 0) !== expected.parameters.length) {\n\t\t\t\texpect().fail(expectedMsg)\n\t\t\t}\n\n\t\t\tfor (let index in expected.parameters) {\n\t\t\t\tconst expectedParameter = expected.parameters[index]\n\t\t\t\tconst actualParameter = (parameters || [])[index]\n\t\t\t\tif (typeof expectedParameter === 'function') {\n\t\t\t\t\tif (!expectedParameter(actualParameter)) {\n\t\t\t\t\t\texpect().fail(expectedMsg)\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (!isDeepStrictEqual(expectedParameter, actualParameter)) {\n\t\t\t\t\t\texpect().fail(expectedMsg)\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevm.fire(EventManager.Event.queryStart, { sql: expected.sql, parameters: expected.parameters ?? [], meta })\n\t\tawait new Promise(resolve => setTimeout(resolve, 1))\n\t\tevm.fire(EventManager.Event.queryEnd, {\n\t\t\tsql: expected.sql,\n\t\t\tparameters: expected.parameters ?? [],\n\t\t\tmeta,\n\t\t}, {} as any)\n\n\t\treturn expected.response as any\n\t}\n\n\tasync scope<Result>(\n\t\tcallback: (connection: Connection.TransactionLike) => Promise<Result> | Result,\n\t\toptions: { eventManager?: EventManager } = {},\n\t): Promise<Result> {\n\t\treturn await callback(new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager)))\n\t}\n\n\tasync transaction<Result>(\n\t\ttrx: (connection: Connection.TransactionLike) => Promise<Result> | Result,\n\t\toptions: { eventManager?: EventManager } = {},\n\t): Promise<Result> {\n\t\tawait this.query('BEGIN;')\n\t\tconst transaction = new ConnectionMock(this.queries, this.counter, new EventManager(options.eventManager ?? this.eventManager))\n\t\tconst result = await trx(transaction)\n\t\tif (!transaction.isClosed) {\n\t\t\tawait this.commit()\n\t\t}\n\t\treturn result\n\t}\n\n\tisClosed: boolean = false\n\n\tasync commit(): Promise<void> {\n\t\tthis.isClosed = true\n\t\tawait this.query('COMMIT;')\n\t}\n\n\tasync rollback(): Promise<void> {\n\t\tthis.isClosed = true\n\t\tawait this.query('ROLLBACK;')\n\t}\n\n\tpublic createClient(schema: string, meta: Record<string, any>): Client {\n\t\treturn new Client(this, schema, meta, new EventManager(this.eventManager))\n\t}\n\n\tpublic on() {\n\t\treturn () => null\n\t}\n\n\tgetPoolStatus() {\n\t\treturn undefined\n\t}\n}\n\nexport const createConnectionMock = (\n\tqueries: ExpectedQuery[],\n): Connection.ConnectionType => {\n\treturn new ConnectionMock(queries)\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Client, Connection, DatabaseConfig, EventManager } from '@contember/database';
|
|
2
|
+
export interface ExpectedQuery {
|
|
3
|
+
sql: string;
|
|
4
|
+
parameters?: any[];
|
|
5
|
+
response: Partial<Connection.Result>;
|
|
6
|
+
}
|
|
7
|
+
declare class CounterRef {
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class ConnectionMock implements Connection.ConnectionType, Connection.TransactionLike {
|
|
11
|
+
private readonly queries;
|
|
12
|
+
private counter;
|
|
13
|
+
readonly eventManager: EventManager;
|
|
14
|
+
config: DatabaseConfig;
|
|
15
|
+
constructor(queries: ExpectedQuery[], counter?: CounterRef, eventManager?: EventManager);
|
|
16
|
+
query<Row extends Record<string, any>>(sql: string, parameters?: any[], meta?: any): Promise<Connection.Result<Row>>;
|
|
17
|
+
scope<Result>(callback: (connection: Connection.TransactionLike) => Promise<Result> | Result, options?: {
|
|
18
|
+
eventManager?: EventManager;
|
|
19
|
+
}): Promise<Result>;
|
|
20
|
+
transaction<Result>(trx: (connection: Connection.TransactionLike) => Promise<Result> | Result, options?: {
|
|
21
|
+
eventManager?: EventManager;
|
|
22
|
+
}): Promise<Result>;
|
|
23
|
+
isClosed: boolean;
|
|
24
|
+
commit(): Promise<void>;
|
|
25
|
+
rollback(): Promise<void>;
|
|
26
|
+
createClient(schema: string, meta: Record<string, any>): Client;
|
|
27
|
+
on(): () => null;
|
|
28
|
+
getPoolStatus(): undefined;
|
|
29
|
+
}
|
|
30
|
+
export declare const createConnectionMock: (queries: ExpectedQuery[]) => Connection.ConnectionType;
|
|
31
|
+
export {};
|
|
32
|
+
//# sourceMappingURL=mocking.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mocking.d.ts","sourceRoot":"","sources":["../../src/mocking.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAItF,MAAM,WAAW,aAAa;IAC7B,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,CAAC,EAAE,GAAG,EAAE,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAA;CACpC;AACD,cAAM,UAAU;IACR,KAAK,SAAI;CAChB;AAED,qBAAa,cAAe,YAAW,UAAU,CAAC,cAAc,EAAE,UAAU,CAAC,eAAe;IAI1F,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,OAAO;aACC,YAAY;IALtB,MAAM,EAAE,cAAc,CAAiE;gBAG5E,OAAO,EAAE,aAAa,EAAE,EACjC,OAAO,aAAmB,EAClB,YAAY,eAAqB;IAI5C,KAAK,CAAC,GAAG,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAC1C,GAAG,EAAE,MAAM,EACX,UAAU,CAAC,EAAE,GAAG,EAAE,EAClB,IAAI,CAAC,EAAE,GAAG,GACR,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAiD5B,KAAK,CAAC,MAAM,EACjB,QAAQ,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC,eAAe,KAAK,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,EAC9E,OAAO,GAAE;QAAE,YAAY,CAAC,EAAE,YAAY,CAAA;KAAO,GAC3C,OAAO,CAAC,MAAM,CAAC;IAIZ,WAAW,CAAC,MAAM,EACvB,GAAG,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC,eAAe,KAAK,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,EACzE,OAAO,GAAE;QAAE,YAAY,CAAC,EAAE,YAAY,CAAA;KAAO,GAC3C,OAAO,CAAC,MAAM,CAAC;IAUlB,QAAQ,EAAE,OAAO,CAAQ;IAEnB,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAKvB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAKxB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM;IAI/D,EAAE;IAIT,aAAa;CAGb;AAED,eAAO,MAAM,oBAAoB,GAChC,SAAS,aAAa,EAAE,KACtB,UAAU,CAAC,cAEb,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"fileNames":["../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../../node_modules/typescript/lib/lib.es2023.d.ts","../../../../node_modules/typescript/lib/lib.es2024.d.ts","../../../../node_modules/typescript/lib/lib.es2025.d.ts","../../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2023.array.d.ts","../../../../node_modules/typescript/lib/lib.es2023.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2023.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts","../../../../node_modules/typescript/lib/lib.es2024.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2024.object.d.ts","../../../../node_modules/typescript/lib/lib.es2024.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2024.regexp.d.ts","../../../../node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.es2024.string.d.ts","../../../../node_modules/typescript/lib/lib.es2025.collection.d.ts","../../../../node_modules/typescript/lib/lib.es2025.float16.d.ts","../../../../node_modules/typescript/lib/lib.es2025.intl.d.ts","../../../../node_modules/typescript/lib/lib.es2025.iterator.d.ts","../../../../node_modules/typescript/lib/lib.es2025.promise.d.ts","../../../../node_modules/typescript/lib/lib.es2025.regexp.d.ts","../../../../node_modules/typescript/lib/lib.esnext.array.d.ts","../../../../node_modules/typescript/lib/lib.esnext.collection.d.ts","../../../../node_modules/typescript/lib/lib.esnext.date.d.ts","../../../../node_modules/typescript/lib/lib.esnext.decorators.d.ts","../../../../node_modules/typescript/lib/lib.esnext.disposable.d.ts","../../../../node_modules/typescript/lib/lib.esnext.error.d.ts","../../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts","../../../../node_modules/typescript/lib/lib.esnext.temporal.d.ts","../../../../node_modules/typescript/lib/lib.esnext.typedarrays.d.ts","../../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../node_modules/@types/react/global.d.ts","../../../../node_modules/csstype/index.d.ts","../../../../node_modules/@types/react/index.d.ts","../../../../node_modules/@types/react/jsx-runtime.d.ts","../../../database/dist/types/Literal.d.ts","../../../database/dist/types/types.d.ts","../../../database/dist/types/builders/WindowFunction.d.ts","../../../database/dist/types/builders/CaseStatement.d.ts","../../../database/dist/types/builders/ColumnExpressionFactory.d.ts","../../../database/dist/types/builders/QueryBuilder.d.ts","../../../database/dist/types/builders/internal/Subqueries.d.ts","../../../database/dist/types/builders/ConditionBuilder.d.ts","../../../database/dist/types/builders/internal/Where.d.ts","../../../database/dist/types/builders/internal/Returning.d.ts","../../../database/dist/types/builders/DeleteBuilder.d.ts","../../../database/dist/types/builders/ConflictActionType.d.ts","../../../database/dist/types/builders/InsertBuilder.d.ts","../../../database/dist/types/builders/LimitByGroupWrapper.d.ts","../../../database/dist/types/builders/UpdateBuilder.d.ts","../../../database/dist/types/builders/LockType.d.ts","../../../database/dist/types/builders/index.d.ts","../../../queryable/dist/types/Query.d.ts","../../../queryable/dist/types/Queryable.d.ts","../../../queryable/dist/types/QueryHandler.d.ts","../../../queryable/dist/types/QueryHandlerAccessor.d.ts","../../../queryable/dist/types/index.d.ts","../../../database/dist/types/queryable/DatabaseQuery.d.ts","../../../database/dist/types/queryable/DatabaseQueryable.d.ts","../../../database/dist/types/queryable/index.d.ts","../../../database/dist/types/client/EventManager.d.ts","../../../database/dist/types/client/errors.d.ts","../../../database/dist/types/utils/assertNever.d.ts","../../../database/dist/types/utils/asyncIterableTransaction.d.ts","../../../database/dist/types/metadata/UniqueConstraintMetadata.d.ts","../../../database/dist/types/metadata/ForeignKeyConstraintMetadata.d.ts","../../../database/dist/types/metadata/IndexMetadata.d.ts","../../../database/dist/types/metadata/DatabaseMetadata.d.ts","../../../database/dist/types/metadata/DatabaseMetadataResolver.d.ts","../../../database/dist/types/metadata/index.d.ts","../../../database/dist/types/utils/ConstraintHelper.d.ts","../../../database/dist/types/utils/createDatabaseIfNotExists.d.ts","../../../database/dist/types/utils/listen.d.ts","../../../database/dist/types/utils/Mutex.d.ts","../../../database/dist/types/utils/sql.d.ts","../../../database/dist/types/utils/retryTransaction.d.ts","../../../database/dist/types/utils/withDatabaseAdvisoryLock.d.ts","../../../../node_modules/@types/node/compatibility/iterators.d.ts","../../../../node_modules/@types/node/globals.typedarray.d.ts","../../../../node_modules/@types/node/buffer.buffer.d.ts","../../../../node_modules/@types/node/globals.d.ts","../../../../node_modules/@types/node/web-globals/abortcontroller.d.ts","../../../../node_modules/@types/node/web-globals/crypto.d.ts","../../../../node_modules/@types/node/web-globals/domexception.d.ts","../../../../node_modules/@types/node/web-globals/events.d.ts","../../../../node_modules/buffer/index.d.ts","../../../../node_modules/undici-types/utility.d.ts","../../../../node_modules/undici-types/header.d.ts","../../../../node_modules/undici-types/readable.d.ts","../../../../node_modules/undici-types/fetch.d.ts","../../../../node_modules/undici-types/formdata.d.ts","../../../../node_modules/undici-types/connector.d.ts","../../../../node_modules/undici-types/client-stats.d.ts","../../../../node_modules/undici-types/client.d.ts","../../../../node_modules/undici-types/errors.d.ts","../../../../node_modules/undici-types/dispatcher.d.ts","../../../../node_modules/undici-types/global-dispatcher.d.ts","../../../../node_modules/undici-types/global-origin.d.ts","../../../../node_modules/undici-types/pool-stats.d.ts","../../../../node_modules/undici-types/pool.d.ts","../../../../node_modules/undici-types/handlers.d.ts","../../../../node_modules/undici-types/balanced-pool.d.ts","../../../../node_modules/undici-types/h2c-client.d.ts","../../../../node_modules/undici-types/agent.d.ts","../../../../node_modules/undici-types/mock-interceptor.d.ts","../../../../node_modules/undici-types/mock-call-history.d.ts","../../../../node_modules/undici-types/mock-agent.d.ts","../../../../node_modules/undici-types/mock-client.d.ts","../../../../node_modules/undici-types/mock-pool.d.ts","../../../../node_modules/undici-types/snapshot-agent.d.ts","../../../../node_modules/undici-types/mock-errors.d.ts","../../../../node_modules/undici-types/proxy-agent.d.ts","../../../../node_modules/undici-types/env-http-proxy-agent.d.ts","../../../../node_modules/undici-types/retry-handler.d.ts","../../../../node_modules/undici-types/retry-agent.d.ts","../../../../node_modules/undici-types/api.d.ts","../../../../node_modules/undici-types/cache-interceptor.d.ts","../../../../node_modules/undici-types/interceptors.d.ts","../../../../node_modules/undici-types/util.d.ts","../../../../node_modules/undici-types/cookies.d.ts","../../../../node_modules/undici-types/patch.d.ts","../../../../node_modules/undici-types/websocket.d.ts","../../../../node_modules/undici-types/eventsource.d.ts","../../../../node_modules/undici-types/diagnostics-channel.d.ts","../../../../node_modules/undici-types/content-type.d.ts","../../../../node_modules/undici-types/cache.d.ts","../../../../node_modules/undici-types/index.d.ts","../../../../node_modules/@types/node/web-globals/fetch.d.ts","../../../../node_modules/@types/node/web-globals/navigator.d.ts","../../../../node_modules/@types/node/web-globals/storage.d.ts","../../../../node_modules/@types/node/web-globals/streams.d.ts","../../../../node_modules/@types/node/assert.d.ts","../../../../node_modules/@types/node/assert/strict.d.ts","../../../../node_modules/@types/node/async_hooks.d.ts","../../../../node_modules/@types/node/buffer.d.ts","../../../../node_modules/@types/node/child_process.d.ts","../../../../node_modules/@types/node/cluster.d.ts","../../../../node_modules/@types/node/console.d.ts","../../../../node_modules/@types/node/constants.d.ts","../../../../node_modules/@types/node/crypto.d.ts","../../../../node_modules/@types/node/dgram.d.ts","../../../../node_modules/@types/node/diagnostics_channel.d.ts","../../../../node_modules/@types/node/dns.d.ts","../../../../node_modules/@types/node/dns/promises.d.ts","../../../../node_modules/@types/node/domain.d.ts","../../../../node_modules/@types/node/events.d.ts","../../../../node_modules/@types/node/fs.d.ts","../../../../node_modules/@types/node/fs/promises.d.ts","../../../../node_modules/@types/node/http.d.ts","../../../../node_modules/@types/node/http2.d.ts","../../../../node_modules/@types/node/https.d.ts","../../../../node_modules/@types/node/inspector.d.ts","../../../../node_modules/@types/node/inspector.generated.d.ts","../../../../node_modules/@types/node/module.d.ts","../../../../node_modules/@types/node/net.d.ts","../../../../node_modules/@types/node/os.d.ts","../../../../node_modules/@types/node/path.d.ts","../../../../node_modules/@types/node/perf_hooks.d.ts","../../../../node_modules/@types/node/process.d.ts","../../../../node_modules/@types/node/punycode.d.ts","../../../../node_modules/@types/node/querystring.d.ts","../../../../node_modules/@types/node/readline.d.ts","../../../../node_modules/@types/node/readline/promises.d.ts","../../../../node_modules/@types/node/repl.d.ts","../../../../node_modules/@types/node/sea.d.ts","../../../../node_modules/@types/node/sqlite.d.ts","../../../../node_modules/@types/node/stream.d.ts","../../../../node_modules/@types/node/stream/promises.d.ts","../../../../node_modules/@types/node/stream/consumers.d.ts","../../../../node_modules/@types/node/stream/web.d.ts","../../../../node_modules/@types/node/string_decoder.d.ts","../../../../node_modules/@types/node/test.d.ts","../../../../node_modules/@types/node/timers.d.ts","../../../../node_modules/@types/node/timers/promises.d.ts","../../../../node_modules/@types/node/tls.d.ts","../../../../node_modules/@types/node/trace_events.d.ts","../../../../node_modules/@types/node/tty.d.ts","../../../../node_modules/@types/node/url.d.ts","../../../../node_modules/@types/node/util.d.ts","../../../../node_modules/@types/node/v8.d.ts","../../../../node_modules/@types/node/vm.d.ts","../../../../node_modules/@types/node/wasi.d.ts","../../../../node_modules/@types/node/worker_threads.d.ts","../../../../node_modules/@types/node/zlib.d.ts","../../../../node_modules/@types/node/index.d.ts","../../../../node_modules/@types/pg/node_modules/pg-types/index.d.ts","../../../../node_modules/@types/pg/node_modules/pg-protocol/dist/messages.d.ts","../../../../node_modules/@types/pg/node_modules/pg-protocol/dist/serializer.d.ts","../../../../node_modules/@types/pg/node_modules/pg-protocol/dist/parser.d.ts","../../../../node_modules/@types/pg/node_modules/pg-protocol/dist/index.d.ts","../../../../node_modules/@types/pg/index.d.ts","../../../database/dist/types/client/PgClient.d.ts","../../../database/dist/types/utils/pgClientFactory.d.ts","../../../database/dist/types/utils/index.d.ts","../../../database/dist/types/client/Pool.d.ts","../../../database/dist/types/client/Connection.d.ts","../../../database/dist/types/client/Client.d.ts","../../../database/dist/types/client/errorCodes.d.ts","../../../database/dist/types/client/Transaction.d.ts","../../../database/dist/types/client/index.d.ts","../../../database/dist/types/builders/SelectBuilder.d.ts","../../../database/dist/types/builders/Compiler.d.ts","../../../database/dist/types/builders/internal/With.d.ts","../../../database/dist/types/index.d.ts","../../src/mocking.ts","../../src/index.ts","../../../../node_modules/bun-types/globals.d.ts","../../../../node_modules/bun-types/s3.d.ts","../../../../node_modules/bun-types/fetch.d.ts","../../../../node_modules/bun-types/jsx.d.ts","../../../../node_modules/bun-types/bun.d.ts","../../../../node_modules/bun-types/extensions.d.ts","../../../../node_modules/bun-types/devserver.d.ts","../../../../node_modules/bun-types/ffi.d.ts","../../../../node_modules/bun-types/html-rewriter.d.ts","../../../../node_modules/bun-types/jsc.d.ts","../../../../node_modules/bun-types/sqlite.d.ts","../../../../node_modules/bun-types/vendor/expect-type/utils.d.ts","../../../../node_modules/bun-types/vendor/expect-type/overloads.d.ts","../../../../node_modules/bun-types/vendor/expect-type/branding.d.ts","../../../../node_modules/bun-types/vendor/expect-type/messages.d.ts","../../../../node_modules/bun-types/vendor/expect-type/index.d.ts","../../../../node_modules/bun-types/test.d.ts","../../../../node_modules/bun-types/wasm.d.ts","../../../../node_modules/bun-types/overrides.d.ts","../../../../node_modules/bun-types/deprecated.d.ts","../../../../node_modules/bun-types/redis.d.ts","../../../../node_modules/bun-types/shell.d.ts","../../../../node_modules/bun-types/serve.d.ts","../../../../node_modules/bun-types/sql.d.ts","../../../../node_modules/bun-types/security.d.ts","../../../../node_modules/bun-types/bundle.d.ts","../../../../node_modules/bun-types/bun.ns.d.ts","../../../../node_modules/bun-types/index.d.ts","../../../../node_modules/@types/bun/index.d.ts"],"fileIdsList":[[138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289,292],[138,190,191,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,192,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,198,210,211,228,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,194,199,204,210,211,213,225,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,194,195,204,210,211,213,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,196,210,211,237,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,197,198,205,210,211,214,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,198,210,211,225,233,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,199,201,204,210,211,213,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,192,193,200,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,201,202,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,203,204,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,192,193,204,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,204,205,206,210,211,225,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,204,205,206,210,211,220,225,228,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,185,193,201,204,207,210,211,213,225,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,204,205,207,208,210,211,213,225,233,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,207,209,210,211,225,233,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[136,137,138,139,140,141,142,143,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,204,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,212,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,201,204,210,211,213,225,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,214,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,215,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,192,193,210,211,216,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,218,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,219,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,204,210,211,220,221,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,220,222,237,239,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,205,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,204,210,211,225,226,228,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,227,228,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,225,226,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,228,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,229,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,190,193,210,211,225,230,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,204,210,211,231,232,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,231,232,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,198,210,211,213,225,233,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,234,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,213,235,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,207,210,211,219,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,198,210,211,237,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,225,238,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,212,239,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,240,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,198,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,185,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,241,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,185,193,204,206,210,211,216,225,228,236,238,239,241,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,225,242,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,204,210,211,225,233,243,244,245,248,249,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,243,245,246,247,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,243,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,225,243,245,265,266,267,269,271,282,283,284,285,286,287,288,289],[90,91,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[92,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,185,193,198,205,207,210,211,233,237,241,265,266,267,268,271,272,282,283,284,285,286,287,288,289],[138,193,210,211,265,266,267,269,271,282,283,285,286,287,288,289],[138,193,210,211,265,266,267,269,282,283,284,285,286,287,288,289],[138,185,193,210,211,265,266,269,271,282,283,284,285,286,287,288,289],[138,185,193,198,210,211,216,225,228,233,237,241,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,243,265,266,267,269,270,271,272,273,274,275,281,282,283,284,285,286,287,288,289,290,291],[14,138,139,193,196,198,205,206,210,211,214,228,233,236,242,265,266,267,269,271,282,284,285,286,287,288,289],[138,193,210,211,265,266,267,269,271,282,283,284,286,287,288,289],[138,193,205,210,211,265,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288],[138,193,210,211,265,266,267,269,271,282,283,284,285,286,288,289],[138,193,210,211,265,266,267,269,271,282,283,284,285,287,288,289],[138,193,210,211,265,266,267,269,271,275,282,283,284,285,286,287,289],[138,193,210,211,265,266,267,269,271,280,282,283,284,285,286,287,288,289],[138,193,210,211,265,266,267,269,271,276,277,282,283,284,285,286,287,288,289],[138,193,210,211,265,266,267,269,271,276,277,278,279,282,283,284,285,286,287,288,289],[138,193,210,211,265,266,267,269,271,276,278,282,283,284,285,286,287,288,289],[138,193,210,211,265,266,267,269,271,276,282,283,284,285,286,287,288,289],[138,193,210,211,265,266,267,269,271,283,284,285,286,287,288,289],[138,151,154,157,158,193,210,211,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,154,193,210,211,225,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,154,158,193,210,211,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,225,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,148,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,152,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,150,151,154,193,210,211,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,213,233,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,148,193,210,211,243,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,150,154,193,210,211,213,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,145,146,147,149,153,193,204,210,211,225,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,154,162,170,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,146,152,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,154,179,180,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,146,149,154,193,210,211,228,236,243,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,154,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,150,154,193,210,211,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,145,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,148,149,150,152,153,154,155,156,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,180,181,182,183,184,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,154,172,175,193,201,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,154,162,163,164,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,152,154,163,165,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,153,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,146,148,154,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,154,158,163,165,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,158,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,152,154,157,193,210,211,236,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,146,150,154,162,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,154,172,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,165,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,148,154,179,193,210,211,228,241,243,265,266,267,269,271,282,283,284,285,286,287,288,289],[93,138,193,210,211,263,265,266,267,269,271,282,283,284,285,286,287,288,289],[93,138,193,210,211,237,262,265,266,267,269,271,281,282,283,284,285,286,287,288,289],[94,99,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,95,96,97,99,101,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,104,106,108,138,193,210,211,259,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,95,99,100,138,193,210,211,259,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,99,100,102,103,138,193,210,211,258,260,261,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,99,100,102,103,105,138,193,210,211,258,259,260,261,265,266,267,269,271,282,283,284,285,286,287,288,289],[99,138,193,210,211,258,259,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,95,98,138,193,210,211,259,260,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,99,100,101,102,109,138,193,210,211,258,260,261,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,99,100,102,103,138,193,210,211,258,259,260,261,265,266,267,269,271,282,283,284,285,286,287,288,289],[96,97,99,101,104,105,106,107,108,109,138,193,210,211,259,260,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,110,138,193,210,211,258,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,99,138,193,210,211,259,260,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,95,101,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,100,138,193,210,211,260,265,266,267,269,271,282,283,284,285,286,287,288,289],[110,115,118,119,138,193,210,211,254,265,266,267,269,271,282,283,284,285,286,287,288,289],[95,119,138,193,210,211,249,253,255,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,254,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,249,265,266,267,269,271,282,283,284,285,286,287,288,289],[120,138,193,210,211,250,252,265,266,267,269,271,282,283,284,285,286,287,288,289],[119,138,193,210,211,249,254,265,266,267,269,271,282,283,284,285,286,287,288,289],[119,120,138,193,210,211,253,254,255,256,257,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,95,102,103,110,118,128,138,193,210,211,252,258,261,265,266,267,269,271,282,283,284,285,286,287,288,289],[123,124,125,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[126,138,193,210,211,258,265,266,267,269,271,282,283,284,285,286,287,288,289],[123,124,125,126,127,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[115,138,193,210,211,262,265,266,267,269,271,282,283,284,285,286,287,288,289],[116,117,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[128,138,193,210,211,258,265,266,267,269,271,282,283,284,285,286,287,288,289],[138,193,210,211,258,265,266,267,269,271,282,283,284,285,286,287,288,289],[95,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[121,122,129,130,131,132,133,134,135,138,193,210,211,251,265,266,267,269,271,282,283,284,285,286,287,288,289],[95,138,193,210,211,249,250,265,266,267,269,271,282,283,284,285,286,287,288,289],[94,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[115,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289],[111,112,113,114,138,193,210,211,265,266,267,269,271,282,283,284,285,286,287,288,289]],"fileInfos":[{"version":"bcd24271a113971ba9eb71ff8cb01bc6b0f872a85c23fdbe5d93065b375933cd","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f88bedbeb09c6f5a6645cb24c7c55f1aa22d19ae96c8e6959cbd8b85a707bc6","impliedFormat":1},{"version":"7fe93b39b810eadd916be8db880dd7f0f7012a5cc6ffb62de8f62a2117fa6f1f","impliedFormat":1},{"version":"bb0074cc08b84a2374af33d8bf044b80851ccc9e719a5e202eacf40db2c31600","impliedFormat":1},{"version":"1a7daebe4f45fb03d9ec53d60008fbf9ac45a697fdc89e4ce218bc94b94f94d6","impliedFormat":1},{"version":"f94b133a3cb14a288803be545ac2683e0d0ff6661bcd37e31aaaec54fc382aed","impliedFormat":1},{"version":"f59d0650799f8782fd74cf73c19223730c6d1b9198671b1c5b3a38e1188b5953","impliedFormat":1},{"version":"8a15b4607d9a499e2dbeed9ec0d3c0d7372c850b2d5f1fb259e8f6d41d468a84","impliedFormat":1},{"version":"26e0fe14baee4e127f4365d1ae0b276f400562e45e19e35fd2d4c296684715e6","impliedFormat":1},{"version":"1e9332c23e9a907175e0ffc6a49e236f97b48838cc8aec9ce7e4cec21e544b65","impliedFormat":1},{"version":"3753fbc1113dc511214802a2342280a8b284ab9094f6420e7aa171e868679f91","impliedFormat":1},{"version":"999ca32883495a866aa5737fe1babc764a469e4cde6ee6b136a4b9ae68853e4b","impliedFormat":1},{"version":"17f13ecb98cbc39243f2eee1f16d45cd8ec4706b03ee314f1915f1a8b42f6984","impliedFormat":1},{"version":"d6b1eba8496bdd0eed6fc8a685768fe01b2da4a0388b5fe7df558290bffcf32f","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f57fc4404ff020bc45b9c620aff2b40f700b95fe31164024c453a5e3c163c54","impliedFormat":1},{"version":"eadcffda2aa84802c73938e589b9e58248d74c59cb7fcbca6474e3435ac15504","affectsGlobalScope":true,"impliedFormat":1},{"version":"105ba8ff7ba746404fe1a2e189d1d3d2e0eb29a08c18dded791af02f29fb4711","affectsGlobalScope":true,"impliedFormat":1},{"version":"00343ca5b2e3d48fa5df1db6e32ea2a59afab09590274a6cccb1dbae82e60c7c","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebd9f816d4002697cb2864bea1f0b70a103124e18a8cd9645eeccc09bdf80ab4","affectsGlobalScope":true,"impliedFormat":1},{"version":"2c1afac30a01772cd2a9a298a7ce7706b5892e447bb46bdbeef720f7b5da77ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"7b0225f483e4fa685625ebe43dd584bb7973bbd84e66a6ba7bbe175ee1048b4f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c0a4b8ac6ce74679c1da2b3795296f5896e31c38e888469a8e0f99dc3305de60","affectsGlobalScope":true,"impliedFormat":1},{"version":"3084a7b5f569088e0146533a00830e206565de65cae2239509168b11434cd84f","affectsGlobalScope":true,"impliedFormat":1},{"version":"c5079c53f0f141a0698faa903e76cb41cd664e3efb01cc17a5c46ec2eb0bef42","affectsGlobalScope":true,"impliedFormat":1},{"version":"32cafbc484dea6b0ab62cf8473182bbcb23020d70845b406f80b7526f38ae862","affectsGlobalScope":true,"impliedFormat":1},{"version":"fca4cdcb6d6c5ef18a869003d02c9f0fd95df8cfaf6eb431cd3376bc034cad36","affectsGlobalScope":true,"impliedFormat":1},{"version":"b93ec88115de9a9dc1b602291b85baf825c85666bf25985cc5f698073892b467","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5c06dcc3fe849fcb297c247865a161f995cc29de7aa823afdd75aaaddc1419b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b77e16112127a4b169ef0b8c3a4d730edf459c5f25fe52d5e436a6919206c4d7","affectsGlobalScope":true,"impliedFormat":1},{"version":"fbffd9337146eff822c7c00acbb78b01ea7ea23987f6c961eba689349e744f8c","affectsGlobalScope":true,"impliedFormat":1},{"version":"a995c0e49b721312f74fdfb89e4ba29bd9824c770bbb4021d74d2bf560e4c6bd","affectsGlobalScope":true,"impliedFormat":1},{"version":"c7b3542146734342e440a84b213384bfa188835537ddbda50d30766f0593aff9","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce6180fa19b1cccd07ee7f7dbb9a367ac19c0ed160573e4686425060b6df7f57","affectsGlobalScope":true,"impliedFormat":1},{"version":"3f02e2476bccb9dbe21280d6090f0df17d2f66b74711489415a8aa4df73c9675","affectsGlobalScope":true,"impliedFormat":1},{"version":"45e3ab34c1c013c8ab2dc1ba4c80c780744b13b5676800ae2e3be27ae862c40c","affectsGlobalScope":true,"impliedFormat":1},{"version":"805c86f6cca8d7702a62a844856dbaa2a3fd2abef0536e65d48732441dde5b5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e42e397f1a5a77994f0185fd1466520691456c772d06bf843e5084ceb879a0ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"f4c2b41f90c95b1c532ecc874bd3c111865793b23aebcc1c3cbbabcd5d76ffb0","affectsGlobalScope":true,"impliedFormat":1},{"version":"ab26191cfad5b66afa11b8bf935ef1cd88fabfcb28d30b2dfa6fad877d050332","affectsGlobalScope":true,"impliedFormat":1},{"version":"2088bc26531e38fb05eedac2951480db5309f6be3fa4a08d2221abb0f5b4200d","affectsGlobalScope":true,"impliedFormat":1},{"version":"cb9d366c425fea79716a8fb3af0d78e6b22ebbab3bd64d25063b42dc9f531c1e","affectsGlobalScope":true,"impliedFormat":1},{"version":"500934a8089c26d57ebdb688fc9757389bb6207a3c8f0674d68efa900d2abb34","affectsGlobalScope":true,"impliedFormat":1},{"version":"689da16f46e647cef0d64b0def88910e818a5877ca5379ede156ca3afb780ac3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc21cc8b6fee4f4c2440d08035b7ea3c06b3511314c8bab6bef7a92de58a2593","affectsGlobalScope":true,"impliedFormat":1},{"version":"7ca53d13d2957003abb47922a71866ba7cb2068f8d154877c596d63c359fed25","affectsGlobalScope":true,"impliedFormat":1},{"version":"54725f8c4df3d900cb4dac84b64689ce29548da0b4e9b7c2de61d41c79293611","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5594bc3076ac29e6c1ebda77939bc4c8833de72f654b6e376862c0473199323","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f3eb332c2d73e729f3364fcc0c2b375e72a121e8157d25a82d67a138c83a95c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6f4427f9642ce8d500970e4e69d1397f64072ab73b97e476b4002a646ac743b1","affectsGlobalScope":true,"impliedFormat":1},{"version":"48915f327cd1dea4d7bd358d9dc7732f58f9e1626a29cc0c05c8c692419d9bb7","affectsGlobalScope":true,"impliedFormat":1},{"version":"b7bf9377723203b5a6a4b920164df22d56a43f593269ba6ae1fdc97774b68855","affectsGlobalScope":true,"impliedFormat":1},{"version":"db9709688f82c9e5f65a119c64d835f906efe5f559d08b11642d56eb85b79357","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b25b8c874acd1a4cf8444c3617e037d444d19080ac9f634b405583fd10ce1f7","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be57d7c90cf1f8112ee2636a068d8fd181289f82b744160ec56a7dc158a9f5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a917a49ac94cd26b754ab84e113369a75d1a47a710661d7cd25e961cc797065f","affectsGlobalScope":true,"impliedFormat":1},{"version":"6d3261badeb7843d157ef3e6f5d1427d0eeb0af0cf9df84a62cfd29fd47ac86e","affectsGlobalScope":true,"impliedFormat":1},{"version":"195daca651dde22f2167ac0d0a05e215308119a3100f5e6268e8317d05a92526","affectsGlobalScope":true,"impliedFormat":1},{"version":"8b11e4285cd2bb164a4dc09248bdec69e9842517db4ca47c1ba913011e44ff2f","affectsGlobalScope":true,"impliedFormat":1},{"version":"0508571a52475e245b02bc50fa1394065a0a3d05277fbf5120c3784b85651799","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f9af488f510c3015af3cc8c267a9e9d96c4dd38a1fdff0e11dc5a544711415b","affectsGlobalScope":true,"impliedFormat":1},{"version":"fc611fea8d30ea72c6bbfb599c9b4d393ce22e2f5bfef2172534781e7d138104","affectsGlobalScope":true,"impliedFormat":1},{"version":"0bd714129fca875f7d4c477a1a392200b0bcd13fb2e80928cd334b63830ea047","affectsGlobalScope":true,"impliedFormat":1},{"version":"e2c9037ae6cd2c52d80ceef0b3c5ffdb488627d71529cf4f63776daf11161c9a","affectsGlobalScope":true,"impliedFormat":1},{"version":"135d5cf4d345f59f1a9caadfafcd858d3d9cc68290db616cc85797224448cccc","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc238c3f81c2984751932b6aab223cd5b830e0ac6cad76389e5e9d2ffc03287d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4a07f9b76d361f572620927e5735b77d6d2101c23cdd94383eb5b706e7b36357","affectsGlobalScope":true,"impliedFormat":1},{"version":"7c4e8dc6ab834cc6baa0227e030606d29e3e8449a9f67cdf5605ea5493c4db29","affectsGlobalScope":true,"impliedFormat":1},{"version":"de7ba0fd02e06cd9a5bd4ab441ed0e122735786e67dde1e849cced1cd8b46b78","affectsGlobalScope":true,"impliedFormat":1},{"version":"6148e4e88d720a06855071c3db02069434142a8332cf9c182cda551adedf3156","affectsGlobalScope":true,"impliedFormat":1},{"version":"d63dba625b108316a40c95a4425f8d4294e0deeccfd6c7e59d819efa19e23409","affectsGlobalScope":true,"impliedFormat":1},{"version":"0568d6befee03dd435bed4fc25c4e46865b24bdcb8c563fdc21f580a2c301904","affectsGlobalScope":true,"impliedFormat":1},{"version":"30d62269b05b584741f19a5369852d5d34895aa2ac4fd948956f886d15f9cc0d","affectsGlobalScope":true,"impliedFormat":1},{"version":"f128dae7c44d8f35ee42e0a437000a57c9f06cc04f8b4fb42eebf44954d53dc8","affectsGlobalScope":true,"impliedFormat":1},{"version":"ffbe6d7b295306b2ba88030f65b74c107d8d99bdcf596ea99c62a02f606108b0","affectsGlobalScope":true,"impliedFormat":1},{"version":"996fb27b15277369c68a4ba46ed138b4e9e839a02fb4ec756f7997629242fd9f","affectsGlobalScope":true,"impliedFormat":1},{"version":"79b712591b270d4778c89706ca2cfc56ddb8c3f895840e477388f1710dc5eda9","affectsGlobalScope":true,"impliedFormat":1},{"version":"20884846cef428b992b9bd032e70a4ef88e349263f63aeddf04dda837a7dba26","affectsGlobalScope":true,"impliedFormat":1},{"version":"5fcab789c73a97cd43828ee3cc94a61264cf24d4c44472ce64ced0e0f148bdb2","affectsGlobalScope":true,"impliedFormat":1},{"version":"db59a81f070c1880ad645b2c0275022baa6a0c4f0acdc58d29d349c6efcf0903","affectsGlobalScope":true,"impliedFormat":1},{"version":"673294292640f5722b700e7d814e17aaf7d93f83a48a2c9b38f33cbc940ad8b0","affectsGlobalScope":true,"impliedFormat":1},{"version":"d786b48f934cbca483b3c6d0a798cb43bbb4ada283e76fb22c28e53ae05b9e69","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ecb8e347cb6b2a8927c09b86263663289418df375f5e68e11a0ae683776978f","affectsGlobalScope":true,"impliedFormat":1},{"version":"142efd4ce210576f777dc34df121777be89eda476942d6d6663b03dcb53be3ff","affectsGlobalScope":true,"impliedFormat":1},{"version":"379bc41580c2d774f82e828c70308f24a005b490c25ba34d679d84bcf05c3d9d","affectsGlobalScope":true,"impliedFormat":1},{"version":"ed484fb2aa8a1a23d0277056ec3336e0a0b52f9b8d6a961f338a642faf43235d","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ffedae1d1c2d53fdbca1c96d3c7dda544281f7d262f99b6880634f8fd8d9820","affectsGlobalScope":true,"impliedFormat":1},{"version":"83a730b125d477dd264df8ba479afab27a3dae7152b005c214ab94dc7ee44fd3","affectsGlobalScope":true,"impliedFormat":1},{"version":"1ce14b81c5cc821994aa8ec1d42b220dd41b27fcc06373bce3958af7421b77d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3a048b3e9302ef9a34ef4ebb9aecfb28b66abb3bce577206a79fee559c230da","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e29f41b158de217f94cb9676bf9cbd0cd9b5a46e1985141ed36e075c52bf6ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"dc0a7f107690ee5cd8afc8dbf05c4df78085471ce16bdd9881642ec738bc81fe","impliedFormat":1},{"version":"42c169fb8c2d42f4f668c624a9a11e719d5d07dacbebb63cbcf7ef365b0a75b3","impliedFormat":1},"4bdf31cd534cbeb8811b56e6f8bc41d0c8c5ab477979e921bd8784254ca6617f","f1937ac620bf6e41972bb00d551c6e7614577f132dd39a0287e98d37fd8899e1","265f4c88b614e7c98e811135f6420f6827e1fe27e12292a6333646a13fe9901e","4c58ff7e1538326f47ae4a9fe92dc085c97485f05030cb7a999b41c389fbb5d5","8238cf3eac439547f5297b2329f03f695f96275d723bbb12b2830b3b63557683","315446e207446f08110e39a12fba8bfaebe5aab9c64ad7249eeeaa435222fa2f","a09349f002ea6df6621f5144694c66f40e916b5fc71c2accd3a457fcfd2b7d36","a9b4da60444e6c1b8a7de3806e752b7e3bf3000722b2701187abd8d2fe04ea40","26c9a2532a93583d3ec70d9ed0f74eddc266d3722339fa0c2119e26f046fe52d","28ad8538d2d19a55c2999160f4d87f0bf324624bb60ce3d349d395c6896a25d7","9a161a4dec176ecbdd14c840642f516fab2afc4409ca05f9762ec633dd214550","98c0d59fe2526a3c6045f52999e175f53a2634f4b7d32c7c501c31700a1c73b5","a861bcd6292c47f69f746e89434f99bb5617244ed087cd3c385d7f36a575f21e","05123181ba31608df9766de2264b173ad7e4e36f9fc38fffb27ed2326282be24","c0f536818fa5a90f6b69498e483b698dd953bdb75efc69b772aad251938a092d","edd07923d3910e1d7c36d9974ef4329985646431465795f3d95e203db9689505","0b063864ed213abcff09342240509dd48e33dca7f3aa4b0ee11623b18ae046e3","7139f5049f474713aed9bde5b26278ca836c4be9dff9d342600d2fe11141dc27","50881435a1ad2b3e359501d5a1d12868c10d5fdb2930ea57136cb0275d8eaa81","abbe9e7013a4af83b4d257e11d7ee5cca6e744a848b9fbb7b2f182bd6b8a413d","19d08b0d4c629ebea463a0ca0c63cd446c0cd8e1ae5920d332b863e13c178ae8","89a64c1c434dedbf9bcbcb804afe4f88f0a54631c61981bfc0333ff481f981e4","22488e1ea11ac597453d2ae8eea14eff442fe9f0ed0b652d9671425f4cebd92e","86c81150fd48e596f1e19e8a3e6d788cd80970f709caadb6b7f9fdd256767812","8d925a755dbc67010f5571dbee7b0a38ff14b47d9f454c64168c5e3f234a1282","a642658d3daac45a72ee7d09bb997d1153179c9224a1fb1c2a9d28569b37273b","27b199f0f5f394d3f764bfe1ce323c83ef36f3889d7e98d824688fa19b71573e","a95c25e1f9146dd90f7cb36c7e306a25a67bdef1eaae7319a60d2f9d3ff66804","b87a7ae256ac1d43cd5dbcd46ae0022dde60be5eecf00673aac0744631dec7da","19f0372c6f5b7a5d5bc6d6cd080d2cf70afcae8d29ccfbf00ef5fa7f22af4891","bf6e09c7b2495a4eb1da968ae6bdb5ff7c6aac3b30deed8ea42592fe2b169d48","befb66d3e523eadb7eac192ca11714d711f91a4bc397088a1343b1ceffb10852","f9ebfeacb14121f3854ab1374d1510808d4cec772bbd06aeda2db6a337db177e","5a3b817315b76b44e32243eac984076bec98c1d347de796f9f15a60ea6a6a774","7496b3631096eef41c7e8b436f78f03b6f03c0a988ca923e135d3cfc0f530d0f","9d3d3893c0cb0047ac901d8417b97804ae284696050956f31d12a1ba2745575c","3b2d35a3a67165d1a33738cbff3eb569c7733d73677ff2ffb2acb7c90ad76382","06efc0b0ecadda0108288732c6dcec3207900021128f61b3ea77f17346b4dcb1","914818c0b4de14e48659bf6b153472be63f81cb12a429e91d6f4aa593423a3d2","ade4b1b07949c09fcb549cac6754503c90d3f9090243fb58401180f8f831f60e","5bbfbfbdcfbd3cad3286d1516cb63d5bef17958c572536167b6d10834e41a716","3fb16f93880611e011b3df68baa947eee241a8140358d728dab8191c7a544c86",{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"378281aa35786c27d5811af7e6bcaa492eebd0c7013d48137c35bbc69a2b9751","affectsGlobalScope":true,"impliedFormat":1},{"version":"3af97acf03cc97de58a3a4bc91f8f616408099bc4233f6d0852e72a8ffb91ac9","affectsGlobalScope":true,"impliedFormat":1},{"version":"1b2dd1cbeb0cc6ae20795958ba5950395ebb2849b7c8326853dd15530c77ab0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"1db0b7dca579049ca4193d034d835f6bfe73096c73663e5ef9a0b5779939f3d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"387a023d363f755eb63450a66c28b14cdd7bc30a104565e2dbf0a8988bb4a56c","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"f26b11d8d8e4b8028f1c7d618b22274c892e4b0ef5b3678a8ccbad85419aef43","affectsGlobalScope":true,"impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"f724236417941ea77ec8d38c6b7021f5fb7f8521c7f8c1538e87661f2c6a0774","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d97fb21da858fb18b8ae72c314e9743fd52f73ebe2764e12af1db32fc03f853f","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ea15fd99b2e34cb25fe8346c955000bb70c8b423ae4377a972ef46bfb37f595","impliedFormat":1},{"version":"7cf69dd5502c41644c9e5106210b5da7144800670cbe861f66726fa209e231c4","impliedFormat":1},{"version":"72c1f5e0a28e473026074817561d1bc9647909cf253c8d56c41d1df8d95b85f7","impliedFormat":1},{"version":"f9b4137a0d285bd77dba2e6e895530112264310ae47e07bf311feae428fb8b61","affectsGlobalScope":true,"impliedFormat":1},{"version":"c06b2652ffeb89afd0f1c52c165ced77032f9cd09bc481153fbd6b5504c69494","impliedFormat":1},{"version":"51aecd2df90a3cffea1eb4696b33b2d78594ea2aa2138e6b9471ec4841c6c2ee","impliedFormat":1},{"version":"9d8f9e63e29a3396285620908e7f14d874d066caea747dc4b2c378f0599166b4","affectsGlobalScope":true,"impliedFormat":1},{"version":"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a","impliedFormat":1},{"version":"612422d5ba6b4a5c4537f423e9199645468ad80a689801da63ab7edb43f7b835","impliedFormat":1},{"version":"db9ada976f9e52e13f7ae8b9a320f4b67b87685938c5879187d8864b2fbe97f3","impliedFormat":1},{"version":"9f39e70a354d0fba29ac3cdf6eca00b7f9e96f64b2b2780c432e8ea27f133743","impliedFormat":1},{"version":"0dace96cc0f7bc6d0ee2044921bdf19fe42d16284dbcc8ae200800d1c9579335","impliedFormat":1},{"version":"a2e2bbde231b65c53c764c12313897ffdfb6c49183dd31823ee2405f2f7b5378","impliedFormat":1},{"version":"ad1cc0ed328f3f708771272021be61ab146b32ecf2b78f3224959ff1e2cd2a5c","impliedFormat":1},{"version":"c64e1888baaa3253ca4405b455e4bf44f76357868a1bd0a52998ade9a092ad78","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc8c6f5322961b56d9906601b20798725df60baeab45ec014fba9f795d5596fd","impliedFormat":1},{"version":"0904660ae854e6d41f6ff25356db1d654436c6305b0f0aa89d1532df0253486e","impliedFormat":1},{"version":"060d305fe4494d8cb2b99d620928d369d1ee55c1645f5e729a2aca07d0f108cb","impliedFormat":1},{"version":"230bdc111d7578276e4a3bb9d075d85c78c6b68f428c3a9935e2eaa10f4ae1f5","impliedFormat":1},{"version":"0c50296ee73dae94efc3f0da4936b1146ca6ce2217acfabb44c19c9a33fa30e5","impliedFormat":1},{"version":"bbf42f98a5819f4f06e18c8b669a994afe9a17fe520ae3454a195e6eabf7700d","impliedFormat":1},{"version":"0e5974dfff7a97181c7c376545f126b20acf2f1341db7d3fccea4977bf3ce19c","impliedFormat":1},{"version":"c7f977ea78a1b060a30554c1c4ec0e2269c6e305a349ca2ada14931ac27ecc0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"145dcf25fd4967c610c53d93d7bc4dce8fbb1b6dd7935362472d4ae49363c7ba","impliedFormat":1},{"version":"ff65b8a8bd380c6d129becc35de02f7c29ad7ce03300331ca91311fb4044d1a9","impliedFormat":1},{"version":"04bf1aa481d1adfb16d93d76e44ce71c51c8ef68039d849926551199489637f6","impliedFormat":1},{"version":"2c9adcc85574b002c9a6311ff2141055769e0071856ec979d92ff989042b1f1b","affectsGlobalScope":true,"impliedFormat":1},{"version":"b8bf3fe89ec8baa335f6370b9fa36308e1bc7a72e2eb2dad1e94f31e27fa28b5","affectsGlobalScope":true,"impliedFormat":1},{"version":"a58a15da4c5ba3df60c910a043281256fa52d36a0fcdef9b9100c646282e88dd","impliedFormat":1},{"version":"b36beffbf8acdc3ebc58c8bb4b75574b31a2169869c70fc03f82895b93950a12","impliedFormat":1},{"version":"de263f0089aefbfd73c89562fb7254a7468b1f33b61839aafc3f035d60766cb4","impliedFormat":1},{"version":"77fbe5eecb6fac4b6242bbf6eebfc43e98ce5ccba8fa44e0ef6a95c945ff4d98","impliedFormat":1},{"version":"8c81fd4a110490c43d7c578e8c6f69b3af01717189196899a6a44f93daa57a3a","impliedFormat":1},{"version":"5fb39858b2459864b139950a09adae4f38dad87c25bf572ce414f10e4bd7baab","impliedFormat":1},{"version":"35390d6fa94bdb432c5d0bcb6547bdd11406c2692a6b90b9e47be2105ea19bd6","impliedFormat":1},{"version":"b33b74b97952d9bf4fbd2951dcfbb5136656ddb310ce1c84518aaa77dbca9992","impliedFormat":1},{"version":"37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","impliedFormat":1},{"version":"45650f47bfb376c8a8ed39d4bcda5902ab899a3150029684ee4c10676d9fbaee","impliedFormat":1},{"version":"8d117798e5228c7fdff887f44851d07320739c5cc0d511afae8f250c51809a36","affectsGlobalScope":true,"impliedFormat":1},{"version":"c119835edf36415081dfd9ed15fc0cd37aaa28d232be029ad073f15f3d88c323","impliedFormat":1},{"version":"8e7c3bed5f19ade8f911677ddc83052e2283e25b0a8654cd89db9079d4b323c7","impliedFormat":1},{"version":"9705cd157ffbb91c5cab48bdd2de5a437a372e63f870f8a8472e72ff634d47c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"ae86f30d5d10e4f75ce8dcb6e1bd3a12ecec3d071a21e8f462c5c85c678efb41","impliedFormat":1},{"version":"ccf3afaeebbeee4ca9092101e99fd6abd681116b6e5ec23e381bbb1e1f32262c","impliedFormat":1},{"version":"e03460fe72b259f6d25ad029f085e4bedc3f90477da4401d8fbc1efa9793230e","impliedFormat":1},{"version":"4286a3a6619514fca656089aee160bb6f2e77f4dd53dc5a96b26a0b4fc778055","impliedFormat":1},{"version":"ab7818a9d57a9297b90e456fc68b77f84d74395a9210a3cfa9d87db33aff8b14","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb08062718a5470cd864c1fae0eb5b3a3adc5bcd05dcf87608d6f60b65eca3f4","affectsGlobalScope":true,"impliedFormat":1},{"version":"3a815b7d1aebc0646b91548eab2fc19dada09ff255d04c71ced00bbd3058c8eb","impliedFormat":1},{"version":"255d948f87f24ffd57bcb2fdf95792fd418a2e1f712a98cf2cce88744d75085c","impliedFormat":1},{"version":"0d5b085f36e6dc55bc6332ecb9c733be3a534958c238fb8d8d18d4a2b6f2a15a","impliedFormat":1},{"version":"836b36913830645ac3b28fe33731aac3fdb3524ee8adbb4cdab9a5c189f41943","affectsGlobalScope":true,"impliedFormat":1},{"version":"bfd3b3c21a56104693183942e221c1896ee23bcb8f8d91ab0b941f7b32985411","impliedFormat":1},{"version":"d7e9ab1b0996639047c61c1e62f85c620e4382206b3abb430d9a21fb7bc23c77","impliedFormat":1},{"version":"a589f9f052276a3fc00b75e62f73b93ea568fce3e935b86ed7052945f99d9dc2","impliedFormat":1},{"version":"17230b34bb564a3a2e36f9d3985372ccab4ad1722df2c43f7c5c2b553f68e5db","impliedFormat":1},{"version":"6e5c9272f6b3783be7bdddaf207cccdb8e033be3d14c5beacc03ae9d27d50929","impliedFormat":1},{"version":"9b4f7ff9681448c72abe38ea8eefd7ffe0c3aefe495137f02012a08801373f71","impliedFormat":1},{"version":"0dfe35191a04e8f9dc7caeb9f52f2ee07402736563d12cbccd15fb5f31ac877f","impliedFormat":1},{"version":"1fcf48177cd64f25c193ecc0bf33995d54ea527e29f7faf8cf666f54f3fa0375","impliedFormat":1},"66a03053f87adc261be2affd1c7b28e5a729c3c1e377029c13e1f9002e4497fd","383a1160ce0e9c528e64fe4ed76af6e6a4130c838dea3c635ca1cde856b0de7d","23e69fda091faf66ff4f724ce4f723debd806d1ae7adbb9fee55803ea8e63ae3","e1c4341037d5f6975d19f0f9132ee8d80ebf51290ce1496c754d374271d9e0eb","9d9b32f763346d101d0997f6e07282a125611d5345bb23ac064043810c7b94bb","8c264d8f6f7b56244e2f41227dbf63ac0fb7d7008f8fee8b16e01ce2edf91413","9c97dab41e2ac94db05b1334f59d11f4c46d7023e9045b2c7b3423ab8b8a5a46","9f35f52ede4b5d30026a7a0a70ff58ba579a0d50ebc609a86267bcb580c8d2a5","1c777a051e6f281558a6912d6e00df8a9e5a96509846db05e2ed331f30562261","c3b59d5b99430bb4ed369d9146177cb43a60918df70f95c7cacec0bf83868793","cc9a5db3e7a18f71d6b5c68be291b15c1bbe9d7512ba348d3be6bad3e439e6e8","fce14cfa104035ed5a757df68ad4b56961512d82cd6bcae917bd9ce0fb963140","b14f0e92ed11b7cf1d5176ee1cc63e758e1fcb12e5ad85ffb313c7f62d36db0e",{"version":"1cb7b1fa8f2440b81e29aa703fcecd07a022bfe8dfe75c1ddd0cb0056f689e59","signature":"b613b761cb48b6c0996e0cc5b97da752138cbbc586ce5ff1c37c4f139f4aeb01"},{"version":"283360c67f22d8fe161ddbed8f1cf1e26df8581e7fe78d6c3fe20d7a26eba54c","signature":"07de1726ebf0897a57995db6b51bbb71e3a87da4dd71496eef0aec277859e505"},{"version":"6e215dac8b234548d91b718f9c07d5b09473cd5cabb29053fcd8be0af190acb6","affectsGlobalScope":true,"impliedFormat":1},{"version":"dbecf494aac7d3ee1b23cdaafae0d0bfea8590567fc153db58fe00ed9fa66c24","impliedFormat":1},{"version":"f3d3e999a323c85c8a63ce90c6e4624ff89fe137a0e2508fddc08e0556d08abf","impliedFormat":1},{"version":"314607151cc203975193d5f44765f38597be3b0a43f466d3c1bfb17176dd3bd3","impliedFormat":1},{"version":"c0aefa42fc76bf16b3d00c983405a9ad7bcde623caabc598d66d93d3c4aa7c54","impliedFormat":1},{"version":"f40aad6c91017f20fc542f5701ec41e0f6aeba63c61bbf7aa13266ec29a50a3b","impliedFormat":1},{"version":"fc9e630f9302d0414ccd6c8ed2706659cff5ae454a56560c6122fa4a3fac5bbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa0a44af370a2d7c1aac988a17836f57910a6c52689f52f5b3ac1d4c6cadcb23","impliedFormat":1},{"version":"0ac74c7586880e26b6a599c710b59284a284e084a2bbc82cd40fb3fbfdea71ae","affectsGlobalScope":true,"impliedFormat":1},{"version":"2ce12357dadbb8efc4e4ec4dab709c8071bf992722fc9adfea2fe0bd5b50923f","impliedFormat":1},{"version":"b5a907deaba678e5083ccdd7cc063a3a8c3413c688098f6de29d6e4cefabc85f","impliedFormat":1},{"version":"ffd344731abee98a0a85a735b19052817afd2156d97d1410819cd9bcd1bd575e","impliedFormat":1},{"version":"475e07c959f4766f90678425b45cf58ac9b95e50de78367759c1e5118e85d5c3","impliedFormat":1},{"version":"a524ae401b30a1b0814f1bbcdae459da97fa30ae6e22476e506bb3f82e3d9456","impliedFormat":1},{"version":"7375e803c033425e27cb33bae21917c106cb37b508fd242cccd978ef2ee244c7","impliedFormat":1},{"version":"eeb890c7e9218afdad2f30ad8a76b0b0b5161d11ce13b6723879de408e6bc47a","impliedFormat":1},{"version":"998da6b85ebace9ebea67040dd1a640f0156064e3d28dbe9bd9c0229b6f72347","impliedFormat":1},{"version":"dfbcc400ac6d20b941ccc7bd9031b9d9f54e4d495dd79117334e771959df4805","affectsGlobalScope":true,"impliedFormat":1},{"version":"944d65951e33a13068be5cd525ec42bf9bc180263ba0b723fa236970aa21f611","affectsGlobalScope":true,"impliedFormat":1},{"version":"6b386c7b6ce6f369d18246904fa5eac73566167c88fb6508feba74fa7501a384","affectsGlobalScope":true,"impliedFormat":1},{"version":"592a109e67b907ffd2078cd6f727d5c326e06eaada169eef8fb18546d96f6797","impliedFormat":1},{"version":"f2eb1e35cae499d57e34b4ac3650248776fe7dbd9a3ec34b23754cfd8c22fceb","impliedFormat":1},{"version":"fbed43a6fcf5b675f5ec6fc960328114777862b58a2bb19c109e8fc1906caa09","impliedFormat":1},{"version":"9e98bd421e71f70c75dae7029e316745c89fa7b8bc8b43a91adf9b82c206099c","impliedFormat":1},{"version":"fc803e6b01f4365f71f51f9ce13f71396766848204d4f7a1b2b6154434b84b15","impliedFormat":1},{"version":"f3afcc0d6f77a9ca2d2c5c92eb4b89cd38d6fa4bdc1410d626bd701760a977ec","impliedFormat":1},{"version":"c8109fe76467db6e801d0edfbc50e6826934686467c9418ce6b246232ce7f109","affectsGlobalScope":true,"impliedFormat":1},{"version":"e6f803e4e45915d58e721c04ec17830c6e6678d1e3e00e28edf3d52720909cea","affectsGlobalScope":true,"impliedFormat":1},{"version":"37be812b06e518320ba82e2aff3ac2ca37370a9df917db708f081b9043fa3315","impliedFormat":1}],"root":[263,264],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":true,"jsx":4,"module":99,"noEmitOnError":true,"noImplicitOverride":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7,"useDefineForClassFields":true},"referencedMap":[[293,1],[190,2],[191,2],[192,3],[138,4],[193,5],[194,6],[195,7],[136,8],[196,9],[197,10],[198,11],[199,12],[200,13],[201,14],[202,14],[203,15],[204,16],[205,17],[206,18],[139,8],[137,8],[207,19],[208,20],[209,21],[243,22],[210,23],[211,8],[212,24],[213,25],[214,26],[215,27],[216,28],[217,29],[218,30],[219,31],[220,32],[221,32],[222,33],[223,8],[224,34],[225,35],[227,36],[226,37],[228,38],[229,39],[230,40],[231,41],[232,42],[233,43],[234,44],[235,45],[236,46],[237,47],[238,48],[239,49],[240,50],[140,8],[141,51],[142,8],[143,8],[186,52],[187,53],[188,8],[189,38],[241,54],[242,55],[249,56],[248,57],[245,58],[247,59],[246,8],[244,8],[90,8],[92,60],[93,61],[144,8],[269,62],[291,8],[290,8],[284,63],[271,64],[270,8],[267,65],[272,8],[265,66],[273,8],[292,67],[274,8],[268,8],[283,68],[285,69],[266,70],[289,71],[287,72],[286,73],[288,74],[275,8],[281,75],[278,76],[280,77],[279,78],[277,79],[276,8],[282,80],[91,8],[88,8],[89,8],[14,8],[15,8],[17,8],[16,8],[2,8],[18,8],[19,8],[20,8],[21,8],[22,8],[23,8],[24,8],[25,8],[3,8],[26,8],[27,8],[4,8],[28,8],[32,8],[29,8],[30,8],[31,8],[33,8],[34,8],[35,8],[5,8],[36,8],[37,8],[38,8],[39,8],[6,8],[43,8],[40,8],[41,8],[42,8],[44,8],[7,8],[45,8],[50,8],[51,8],[46,8],[47,8],[48,8],[49,8],[8,8],[55,8],[52,8],[53,8],[54,8],[56,8],[9,8],[57,8],[58,8],[59,8],[61,8],[60,8],[62,8],[63,8],[10,8],[64,8],[65,8],[66,8],[11,8],[67,8],[68,8],[69,8],[70,8],[71,8],[72,8],[12,8],[73,8],[74,8],[75,8],[76,8],[77,8],[1,8],[78,8],[79,8],[13,8],[80,8],[81,8],[82,8],[83,8],[84,8],[85,8],[86,8],[87,8],[162,81],[174,82],[160,83],[175,84],[184,85],[151,86],[152,87],[150,88],[183,58],[178,89],[182,90],[154,91],[171,92],[153,93],[181,94],[148,95],[149,89],[155,96],[156,8],[161,97],[159,96],[146,98],[185,99],[176,100],[165,101],[164,96],[166,102],[169,103],[163,104],[167,105],[179,58],[157,106],[158,107],[170,108],[147,84],[173,109],[172,96],[168,110],[177,8],[145,8],[180,111],[264,112],[263,113],[94,8],[97,114],[98,115],[260,116],[101,117],[105,8],[104,118],[106,119],[107,120],[109,8],[99,121],[259,122],[108,123],[96,114],[110,124],[103,125],[100,126],[102,127],[261,128],[255,129],[254,130],[119,131],[250,132],[253,133],[257,134],[256,8],[120,8],[258,135],[262,136],[126,137],[127,138],[124,8],[125,8],[123,8],[128,139],[116,140],[117,140],[118,141],[95,8],[129,142],[132,8],[121,8],[122,143],[130,144],[252,145],[131,143],[251,146],[134,8],[133,147],[135,143],[111,148],[113,148],[114,148],[112,148],[115,149]],"latestChangedDtsFile":"./index.d.ts","version":"6.0.1-rc"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contember/database-tester",
|
|
3
|
-
"version": "2.1.0-alpha.
|
|
3
|
+
"version": "2.1.0-alpha.39",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/production/index.js",
|
|
6
6
|
"typings": "./dist/types/index.d.ts",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@contember/database": "2.1.0-alpha.
|
|
26
|
+
"@contember/database": "2.1.0-alpha.39"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"pg": "
|
|
29
|
+
"pg": "^8.20.0"
|
|
30
30
|
},
|
|
31
31
|
"type": "module",
|
|
32
32
|
"repository": {
|