@payloadcms/db-postgres 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/connect.js +1 -1
- package/dist/create.d.ts.map +1 -1
- package/dist/create.js +7 -9
- package/dist/createGlobal.d.ts +1 -1
- package/dist/createGlobal.d.ts.map +1 -1
- package/dist/createGlobal.js +8 -10
- package/dist/createGlobalVersion.d.ts +1 -1
- package/dist/createGlobalVersion.d.ts.map +1 -1
- package/dist/createGlobalVersion.js +12 -14
- package/dist/createMigration.js +1 -1
- package/dist/createVersion.d.ts.map +1 -1
- package/dist/createVersion.js +22 -19
- package/dist/deleteMany.js +6 -8
- package/dist/deleteOne.d.ts.map +1 -1
- package/dist/deleteOne.js +46 -16
- package/dist/deleteVersions.d.ts.map +1 -1
- package/dist/deleteVersions.js +7 -8
- package/dist/destroy.js +1 -1
- package/dist/find/buildFindManyArgs.js +3 -3
- package/dist/find/chainMethods.d.ts +3 -2
- package/dist/find/chainMethods.d.ts.map +1 -1
- package/dist/find/chainMethods.js +1 -1
- package/dist/find/findMany.d.ts.map +1 -1
- package/dist/find/findMany.js +33 -55
- package/dist/find/traverseFields.d.ts.map +1 -1
- package/dist/find/traverseFields.js +23 -11
- package/dist/find.d.ts.map +1 -1
- package/dist/find.js +10 -11
- package/dist/findGlobal.d.ts.map +1 -1
- package/dist/findGlobal.js +7 -9
- package/dist/findGlobalVersions.d.ts.map +1 -1
- package/dist/findGlobalVersions.js +7 -8
- package/dist/findOne.d.ts +1 -1
- package/dist/findOne.d.ts.map +1 -1
- package/dist/findOne.js +9 -10
- package/dist/findVersions.d.ts.map +1 -1
- package/dist/findVersions.js +7 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -1
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +28 -15
- package/dist/migrate.js +1 -1
- package/dist/migrateDown.js +1 -1
- package/dist/migrateFresh.js +1 -1
- package/dist/migrateRefresh.js +1 -1
- package/dist/migrateReset.js +1 -1
- package/dist/migrateStatus.js +1 -1
- package/dist/queries/buildAndOrConditions.js +1 -1
- package/dist/queries/buildQuery.js +1 -1
- package/dist/queries/createJSONQuery/convertPathToJSONTraversal.js +1 -1
- package/dist/queries/createJSONQuery/formatJSONPathSegment.js +1 -1
- package/dist/queries/createJSONQuery/index.js +1 -1
- package/dist/queries/getTableColumnFromPath.d.ts.map +1 -1
- package/dist/queries/getTableColumnFromPath.js +148 -42
- package/dist/queries/operatorMap.js +1 -1
- package/dist/queries/parseParams.js +1 -1
- package/dist/queries/sanitizeQueryValue.d.ts.map +1 -1
- package/dist/queries/sanitizeQueryValue.js +5 -2
- package/dist/queries/selectDistinct.d.ts +23 -0
- package/dist/queries/selectDistinct.d.ts.map +1 -0
- package/dist/queries/selectDistinct.js +49 -0
- package/dist/queryDrafts.d.ts.map +1 -1
- package/dist/queryDrafts.js +7 -8
- package/dist/schema/build.d.ts +2 -1
- package/dist/schema/build.d.ts.map +1 -1
- package/dist/schema/build.js +19 -14
- package/dist/schema/createIndex.js +1 -1
- package/dist/schema/getTableName.d.ts +32 -0
- package/dist/schema/getTableName.d.ts.map +1 -0
- package/dist/schema/getTableName.js +43 -0
- package/dist/schema/idToUUID.js +1 -1
- package/dist/schema/parentIDColumnMap.js +1 -1
- package/dist/schema/setColumnID.js +1 -1
- package/dist/schema/traverseFields.d.ts +2 -1
- package/dist/schema/traverseFields.d.ts.map +1 -1
- package/dist/schema/traverseFields.js +55 -17
- package/dist/schema/validateExistingBlockIsIdentical.d.ts +2 -1
- package/dist/schema/validateExistingBlockIsIdentical.d.ts.map +1 -1
- package/dist/schema/validateExistingBlockIsIdentical.js +12 -6
- package/dist/transactions/beginTransaction.js +1 -1
- package/dist/transactions/commitTransaction.js +1 -1
- package/dist/transactions/rollbackTransaction.js +1 -1
- package/dist/transform/read/hasManyNumber.js +1 -1
- package/dist/transform/read/hasManyText.js +1 -1
- package/dist/transform/read/index.js +1 -1
- package/dist/transform/read/relationship.js +1 -1
- package/dist/transform/read/traverseFields.js +1 -1
- package/dist/transform/write/array.js +1 -1
- package/dist/transform/write/blocks.d.ts +2 -2
- package/dist/transform/write/blocks.d.ts.map +1 -1
- package/dist/transform/write/blocks.js +4 -4
- package/dist/transform/write/index.js +1 -1
- package/dist/transform/write/numbers.js +1 -1
- package/dist/transform/write/relationships.js +1 -1
- package/dist/transform/write/selects.js +1 -1
- package/dist/transform/write/texts.js +1 -1
- package/dist/transform/write/traverseFields.d.ts +2 -2
- package/dist/transform/write/traverseFields.d.ts.map +1 -1
- package/dist/transform/write/traverseFields.js +34 -25
- package/dist/transform/write/types.js +1 -1
- package/dist/types.d.ts +13 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +1 -1
- package/dist/update.d.ts.map +1 -1
- package/dist/update.js +26 -48
- package/dist/updateGlobal.d.ts +1 -1
- package/dist/updateGlobal.d.ts.map +1 -1
- package/dist/updateGlobal.js +9 -11
- package/dist/updateGlobalVersion.d.ts.map +1 -1
- package/dist/updateGlobalVersion.js +9 -5
- package/dist/updateVersion.d.ts.map +1 -1
- package/dist/updateVersion.js +9 -5
- package/dist/upsertRow/deleteExistingArrayRows.js +1 -1
- package/dist/upsertRow/deleteExistingRowsByPath.js +1 -1
- package/dist/upsertRow/index.d.ts.map +1 -1
- package/dist/upsertRow/index.js +7 -6
- package/dist/upsertRow/insertArrays.d.ts.map +1 -1
- package/dist/upsertRow/insertArrays.js +3 -3
- package/dist/upsertRow/types.d.ts +1 -1
- package/dist/upsertRow/types.d.ts.map +1 -1
- package/dist/upsertRow/types.js +1 -1
- package/dist/utilities/appendPrefixToKeys.js +1 -1
- package/dist/utilities/createBlocksMap.js +1 -1
- package/dist/utilities/createMigrationTable.js +1 -1
- package/dist/utilities/createRelationshipMap.js +1 -1
- package/dist/utilities/hasLocalesTable.js +1 -1
- package/dist/utilities/isArrayOfRows.js +1 -1
- package/dist/utilities/migrationTableExists.js +1 -1
- package/dist/utilities/parseError.js +1 -1
- package/package.json +8 -4
package/dist/findVersions.js
CHANGED
@@ -9,17 +9,16 @@ Object.defineProperty(exports, "findVersions", {
|
|
9
9
|
}
|
10
10
|
});
|
11
11
|
const _versions = require("payload/versions");
|
12
|
-
const _tosnakecase = /*#__PURE__*/ _interop_require_default(require("to-snake-case"));
|
13
12
|
const _findMany = require("./find/findMany");
|
14
|
-
|
15
|
-
return obj && obj.__esModule ? obj : {
|
16
|
-
default: obj
|
17
|
-
};
|
18
|
-
}
|
13
|
+
const _getTableName = require("./schema/getTableName");
|
19
14
|
const findVersions = async function findVersions({ collection, limit, locale, page, pagination, req = {}, skip, sort: sortArg, where }) {
|
20
15
|
const collectionConfig = this.payload.collections[collection].config;
|
21
16
|
const sort = typeof sortArg === 'string' ? sortArg : collectionConfig.defaultSort;
|
22
|
-
const tableName =
|
17
|
+
const tableName = (0, _getTableName.getTableName)({
|
18
|
+
adapter: this,
|
19
|
+
config: collectionConfig,
|
20
|
+
versions: true
|
21
|
+
});
|
23
22
|
const fields = (0, _versions.buildVersionCollectionFields)(collectionConfig);
|
24
23
|
return (0, _findMany.findMany)({
|
25
24
|
adapter: this,
|
@@ -36,4 +35,4 @@ const findVersions = async function findVersions({ collection, limit, locale, pa
|
|
36
35
|
});
|
37
36
|
};
|
38
37
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9maW5kVmVyc2lvbnMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBGaW5kVmVyc2lvbnMgfSBmcm9tICdwYXlsb2FkL2RhdGFiYXNlJ1xuaW1wb3J0IHR5cGUgeyBQYXlsb2FkUmVxdWVzdCwgU2FuaXRpemVkQ29sbGVjdGlvbkNvbmZpZyB9IGZyb20gJ3BheWxvYWQvdHlwZXMnXG5cbmltcG9ydCB7IGJ1aWxkVmVyc2lvbkNvbGxlY3Rpb25GaWVsZHMgfSBmcm9tICdwYXlsb2FkL3ZlcnNpb25zJ1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FBV0EsVUFBVUUsaUJBQWlCSSxXQUFXO0lBRWpGLE1BQU1DLFlBQVlDLElBQUFBLDBCQUFZLEVBQUM7UUFDN0JDLFNBQVMsSUFBSTtRQUNiSixRQUFRSDtRQUNSUSxVQUFVO0lBQ1o7SUFDQSxNQUFNQyxTQUFTQyxJQUFBQSxzQ0FBNEIsRUFBQ1Y7SUFFNUMsT0FBT1csSUFBQUEsa0JBQVEsRUFBQztRQUNkSixTQUFTLElBQUk7UUFDYkU7UUFDQWxCO1FBQ0FDO1FBQ0FDO1FBQ0FDO1FBQ0FDO1FBQ0FDO1FBQ0FDO1FBQ0FRO1FBQ0FOO0lBQ0Y7QUFDRiJ9
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAmB,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAiC3E,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE7D,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,qBAAqB,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAmB,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAiC3E,YAAY,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAE7D,wBAAgB,eAAe,CAAC,IAAI,EAAE,IAAI,GAAG,qBAAqB,CAoEjE"}
|
package/dist/index.js
CHANGED
@@ -53,20 +53,24 @@ function postgresAdapter(args) {
|
|
53
53
|
return (0, _database.createDatabaseAdapter)({
|
54
54
|
name: 'postgres',
|
55
55
|
// Postgres-specific
|
56
|
+
blockTableNames: {},
|
56
57
|
drizzle: undefined,
|
57
58
|
enums: {},
|
58
59
|
fieldConstraints: {},
|
59
60
|
idType,
|
61
|
+
localesSuffix: args.localesSuffix || '_locales',
|
60
62
|
logger: args.logger,
|
61
63
|
pgSchema: undefined,
|
62
64
|
pool: undefined,
|
63
65
|
poolOptions: args.pool,
|
64
66
|
push: args.push,
|
65
67
|
relations: {},
|
68
|
+
relationshipsSuffix: args.relationshipsSuffix || '_rels',
|
66
69
|
schema: {},
|
67
70
|
schemaName: args.schemaName,
|
68
71
|
sessions: {},
|
69
72
|
tables: {},
|
73
|
+
versionsSuffix: args.versionsSuffix || '_v',
|
70
74
|
// DatabaseAdapter
|
71
75
|
beginTransaction: _beginTransaction.beginTransaction,
|
72
76
|
commitTransaction: _commitTransaction.commitTransaction,
|
@@ -140,4 +144,4 @@ function postgresAdapter(args) {
|
|
140
144
|
return srcDir;
|
141
145
|
}
|
142
146
|
|
143
|
-
//# sourceMappingURL=data:application/json;base64,
|
147
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IFBheWxvYWQgfSBmcm9tICdwYXlsb2FkJ1xuXG5pbXBvcnQgZnMgZnJvbSAnZnMnXG5pbXBvcnQgcGF0aCBmcm9tICdwYXRoJ1xuaW1wb3J0IHsgY3JlYXRlRGF0YWJhc2VBZGFwdGVyIH0gZnJvbSAncGF5bG9hZC9kYXRhYmFzZSdcblxuaW1wb3J0IHR5cGUgeyBBcmdzLCBQb3N0Z3Jlc0FkYXB0ZXIsIFBvc3RncmVzQWRhcHRlclJlc3VsdCB9IGZyb20gJy4vdHlwZXMnXG5cbmltcG9ydCB7IGNvbm5lY3QgfSBmcm9tICcuL2Nvbm5lY3QnXG5pbXBvcnQgeyBjcmVhdGUgfSBmcm9tICcuL2NyZWF0ZSdcbmltcG9ydCB7IGNyZWF0ZUdsb2JhbCB9IGZyb20gJy4vY3JlYXRlR2xvYmFsJ1xuaW1wb3J0IHsgY3JlYXRl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AE,
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAW5C,eAAO,MAAM,IAAI,EAAE,IA0FlB,CAAA"}
|
package/dist/init.js
CHANGED
@@ -10,13 +10,8 @@ Object.defineProperty(exports, "init", {
|
|
10
10
|
});
|
11
11
|
const _pgcore = require("drizzle-orm/pg-core");
|
12
12
|
const _versions = require("payload/versions");
|
13
|
-
const _tosnakecase = /*#__PURE__*/ _interop_require_default(require("to-snake-case"));
|
14
13
|
const _build = require("./schema/build");
|
15
|
-
|
16
|
-
return obj && obj.__esModule ? obj : {
|
17
|
-
default: obj
|
18
|
-
};
|
19
|
-
}
|
14
|
+
const _getTableName = require("./schema/getTableName");
|
20
15
|
const init = async function init() {
|
21
16
|
if (this.schemaName) {
|
22
17
|
this.pgSchema = (0, _pgcore.pgSchema)(this.schemaName);
|
@@ -29,7 +24,10 @@ const init = async function init() {
|
|
29
24
|
this.enums.enum__locales = (0, _pgcore.pgEnum)('_locales', this.payload.config.localization.locales.map(({ code })=>code));
|
30
25
|
}
|
31
26
|
this.payload.config.collections.forEach((collection)=>{
|
32
|
-
const tableName = (0,
|
27
|
+
const tableName = (0, _getTableName.getTableName)({
|
28
|
+
adapter: this,
|
29
|
+
config: collection
|
30
|
+
});
|
33
31
|
(0, _build.buildTable)({
|
34
32
|
adapter: this,
|
35
33
|
buildNumbers: true,
|
@@ -39,10 +37,15 @@ const init = async function init() {
|
|
39
37
|
disableUnique: false,
|
40
38
|
fields: collection.fields,
|
41
39
|
tableName,
|
42
|
-
timestamps: collection.timestamps
|
40
|
+
timestamps: collection.timestamps,
|
41
|
+
versions: false
|
43
42
|
});
|
44
43
|
if (collection.versions) {
|
45
|
-
const versionsTableName =
|
44
|
+
const versionsTableName = (0, _getTableName.getTableName)({
|
45
|
+
adapter: this,
|
46
|
+
config: collection,
|
47
|
+
versions: true
|
48
|
+
});
|
46
49
|
const versionFields = (0, _versions.buildVersionCollectionFields)(collection);
|
47
50
|
(0, _build.buildTable)({
|
48
51
|
adapter: this,
|
@@ -53,12 +56,16 @@ const init = async function init() {
|
|
53
56
|
disableUnique: true,
|
54
57
|
fields: versionFields,
|
55
58
|
tableName: versionsTableName,
|
56
|
-
timestamps: true
|
59
|
+
timestamps: true,
|
60
|
+
versions: true
|
57
61
|
});
|
58
62
|
}
|
59
63
|
});
|
60
64
|
this.payload.config.globals.forEach((global)=>{
|
61
|
-
const tableName = (0,
|
65
|
+
const tableName = (0, _getTableName.getTableName)({
|
66
|
+
adapter: this,
|
67
|
+
config: global
|
68
|
+
});
|
62
69
|
(0, _build.buildTable)({
|
63
70
|
adapter: this,
|
64
71
|
buildNumbers: true,
|
@@ -68,10 +75,15 @@ const init = async function init() {
|
|
68
75
|
disableUnique: false,
|
69
76
|
fields: global.fields,
|
70
77
|
tableName,
|
71
|
-
timestamps: false
|
78
|
+
timestamps: false,
|
79
|
+
versions: false
|
72
80
|
});
|
73
81
|
if (global.versions) {
|
74
|
-
const versionsTableName =
|
82
|
+
const versionsTableName = (0, _getTableName.getTableName)({
|
83
|
+
adapter: this,
|
84
|
+
config: global,
|
85
|
+
versions: true
|
86
|
+
});
|
75
87
|
const versionFields = (0, _versions.buildVersionGlobalFields)(global);
|
76
88
|
(0, _build.buildTable)({
|
77
89
|
adapter: this,
|
@@ -82,10 +94,11 @@ const init = async function init() {
|
|
82
94
|
disableUnique: true,
|
83
95
|
fields: versionFields,
|
84
96
|
tableName: versionsTableName,
|
85
|
-
timestamps: true
|
97
|
+
timestamps: true,
|
98
|
+
versions: true
|
86
99
|
});
|
87
100
|
}
|
88
101
|
});
|
89
102
|
};
|
90
103
|
|
91
|
-
//# sourceMappingURL=data:application/json;base64,
|
104
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbml0LnRzIl0sInNvdXJjZXNDb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MyQixPQUFPLENBQUNsQixPQUFPLENBQUMsQ0FBQ21CO1FBQ25DLE1BQU1qQixZQUFZQyxJQUFBQSwwQkFBWSxFQUFDO1lBQUVDLFNBQVMsSUFBSTtZQUFFYixRQUFRNEI7UUFBTztRQUUvRGQsSUFBQUEsaUJBQVUsRUFBQztZQUNURCxTQUFTLElBQUk7WUFDYkUsY0FBYztZQUNkQyxvQkFBb0I7WUFDcEJDLFlBQVk7WUFDWkMsZ0JBQWdCLENBQUMsQ0FBQ1UsUUFBUVQsVUFBVUM7WUFDcENDLGVBQWU7WUFDZkMsUUFBUU0sT0FBT04sTUFBTTtZQUNyQlg7WUFDQVksWUFBWTtZQUNaSixVQUFVO1FBQ1o7UUFFQSxJQUFJUyxPQUFPVCxRQUFRLEVBQUU7WUFDbkIsTUFBTUssb0JBQW9CWixJQUFBQSwwQkFBWSxFQUFDO2dCQUFFQyxTQUFTLElBQUk7Z0JBQUViLFFBQVE0QjtnQkFBUVQsVUFBVTtZQUFLO1lBQ3ZGLE1BQU1NLGdCQUFnQkksSUFBQUEsa0NBQXdCLEVBQUNEO1lBRS9DZCxJQUFBQSxpQkFBVSxFQUFDO2dCQUNURCxTQUFTLElBQUk7Z0JBQ2JFLGNBQWM7Z0JBQ2RDLG9CQUFvQjtnQkFDcEJDLFlBQVk7Z0JBQ1pDLGdCQUFnQixDQUFDLENBQUNVLE9BQU9ULFFBQVEsRUFBRUM7Z0JBQ25DQyxlQUFlO2dCQUNmQyxRQUFRRztnQkFDUmQsV0FBV2E7Z0JBQ1hELFlBQVk7Z0JBQ1pKLFVBQVU7WUFDWjtRQUNGO0lBQ0Y7QUFDRiJ9
|
package/dist/migrate.js
CHANGED
@@ -112,4 +112,4 @@ async function runMigrationFile(payload, migration, batch) {
|
|
112
112
|
}
|
113
113
|
}
|
114
114
|
|
115
|
-
//# sourceMappingURL=data:application/json;base64,
|
115
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIj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1FBQ2xFO0lBQ0Y7QUFDRiJ9
|
package/dist/migrateDown.js
CHANGED
@@ -73,4 +73,4 @@ async function migrateDown() {
|
|
73
73
|
}
|
74
74
|
}
|
75
75
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
76
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9taWdyYXRlRG93bi50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKiBlc2xpbnQtZGlzYWJsZSBuby1yZXN0cmljdGVkLXN5bnRheCwgbm8tYXdhaXQtaW4tbG9vcCAqL1xuaW1wb3J0IHR5cGUgeyBQYXlsb2FkUmVxdWVzdCB9IGZyb20gJ3BheWxvYWQvdHlwZXMnXG5cbmltcG9ydCB7IGdldE1pZ3JhdGlvbnMsIHJlYWRNaWdyYXRpb25GaWxlcyB9IGZyb20gJ3BheWxvYWQvZGF0YWJhc2UnXG5pbXBvcnQgeyBjb21taXRUcmFuc2FjdGlvbiB9IGZyb20gJ3BheWxvYWQvZGlzdC91dGlsaXRpZXMvY29tbWl0VHJhbnNhY3Rpb24nXG5pbXBvcnQgeyBpbml0VHJhbnNhY3Rpb24gfSBmcm9tICdwYXlsb2FkL2Rpc3QvdXRpbGl0aWVzL2luaXRUcmFuc2FjdGlvbidcbmltcG9ydCB7IGtpbGxUcmFuc2FjdGlvbiB9IGZyb20gJ3BheWxvYWQvZGlzdC91dGlsaXRpZXMva2lsbFRyYW5zYWN0aW9uJ1xuXG5pbXBvcnQgdHlwZSB7IFBvc3RncmVzQWRhcHRlciB9IGZyb20gJy4vdHlwZXMnXG5cbmltcG9ydCB7IG1pZ3JhdGlvblRhYmxlRXhpc3RzIH0gZnJvbSAnLi91dGlsaXRpZXMvbWlncmF0aW9uVGFibGVFeGlzdHMnXG5pbXBvcnQgeyBwYXJzZUVycm9yIH0gZnJvbSAnLi91dGlsaXRpZXMvcGFyc2VFcnJvcidcblxuZXhwb3J0IGFzeW5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NuRSxNQUFNTSxJQUFBQSxnQ0FBZSxFQUFDRDtZQUN0QixNQUFNUixjQUFjVSxJQUFJLENBQUM7Z0JBQUV4QjtnQkFBU3NCO1lBQUk7WUFDeEN0QixRQUFRTyxNQUFNLENBQUNDLElBQUksQ0FBQztnQkFDbEJDLEtBQUssQ0FBQyxnQkFBZ0IsRUFBRUssY0FBY0csSUFBSSxDQUFDLEVBQUUsRUFBRUcsS0FBS0MsR0FBRyxLQUFLRixNQUFNLEdBQUcsQ0FBQztZQUN4RTtZQUVBLE1BQU1NLGNBQWMsTUFBTUMsSUFBQUEsMENBQW9CLEVBQUMsSUFBSSxDQUFDQyxPQUFPO1lBQzNELElBQUlGLGFBQWE7Z0JBQ2YsTUFBTXpCLFFBQVE0QixNQUFNLENBQUM7b0JBQ25CQyxJQUFJaEIsVUFBVWdCLEVBQUU7b0JBQ2hCQyxZQUFZO29CQUNaUjtnQkFDRjtZQUNGO1lBRUEsTUFBTVMsSUFBQUEsb0NBQWlCLEVBQUNUO1FBQzFCLEVBQUUsT0FBT1UsS0FBYztZQUNyQixNQUFNQyxJQUFBQSxnQ0FBZSxFQUFDWDtZQUV0QnRCLFFBQVFPLE1BQU0sQ0FBQzJCLEtBQUssQ0FBQztnQkFDbkJGO2dCQUNBdkIsS0FBSzBCLElBQUFBLHNCQUFVLEVBQUNILEtBQUssQ0FBQyxxQkFBcUIsRUFBRWxCLGNBQWNHLElBQUksQ0FBQyxlQUFlLENBQUM7WUFDbEY7WUFDQW1CLFFBQVFDLElBQUksQ0FBQztRQUNmO0lBQ0Y7QUFDRiJ9
|
package/dist/migrateFresh.js
CHANGED
@@ -85,4 +85,4 @@ async function migrateFresh({ forceAcceptWarning = false }) {
|
|
85
85
|
}
|
86
86
|
}
|
87
87
|
|
88
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9taWdyYXRlRnJlc2gudHMiXSwic291cmNlc0NvbnRlbnQiOl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BQUksQ0FBQyxjQUFjLENBQUM7WUFDaEY7UUFDRjtJQUNGO0FBQ0YifQ==
|
package/dist/migrateRefresh.js
CHANGED
@@ -110,4 +110,4 @@ async function migrateRefresh() {
|
|
110
110
|
}
|
111
111
|
}
|
112
112
|
|
113
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9taWdyYXRlUmVmcmVzaC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKiBlc2xpbnQtZGlzYWJsZSBuby1yZXN0cmljdGVkLXN5bnRheCwgbm8tYXdhaXQtaW4tbG9vcCAqL1xuaW1wb3J0IHR5cGUgeyBQYXlsb2FkUmVxdWVzdCB9IGZyb20gJ3BheWxvYWQvdHlwZXMnXG5cbmltcG9ydCB7IGdldE1pZ3JhdGlvbnMsIHJlYWRNaWdyYXRpb25GaWxlcyB9IGZyb20gJ3BheWxvYWQvZGF0YWJhc2UnXG5pbXBvcnQgeyBjb21taXRUcmFuc2FjdGlvbiB9IGZyb20gJ3BheWxvYWQvZGlzdC91dGlsaXRpZXMvY29tbWl0VHJhbnNhY3Rpb24nXG5pbXBvcnQgeyBpbml0VHJhbnNhY3Rpb24gfSBmcm9tICdwYXlsb2FkL2Rpc3QvdXRpbGl0aWVzL2luaXRUcmFuc2FjdGlvbidcbmltcG9ydCB7IGtpbGxUcmFuc2FjdGlvbiB9IGZyb20gJ3BheWxvYWQvZGlzdC91dGlsaXRpZXMva2lsbFRyYW5zYWN0aW9uJ1xuXG5pbXBvcnQgdHlwZSB7IFBvc3RncmVzQWRhcHRlciB9IGZyb20gJy4vdHlwZXMnXG5cbmltcG9ydCB7IG1pZ3JhdGlvblRhYmxlRXhpc3RzIH0gZnJvbSAnLi91dGlsaXRpZXMvbWlncmF0aW9uVGFibGVFeGlzdHMnXG5pbXBvcnQgeyBwYXJzZUVycm9yIH0gZnJvbSAnLi91dGlsaXRpZXMvcGFyc2VFcnJvcidcblxuLyoqXG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QyxNQUFNTCxVQUFVSSxJQUFJO1lBQ3BCLHNEQUFzRDtZQUN0REUsT0FBT0wsbUJBQW1CTTtZQUMxQkMsS0FBS1Asb0JBQW9CLFFBQVE7UUFDbkM7SUFDRjtJQUVBLE1BQU1RLElBQUksSUFBSUMsMEJBQUs7SUFFbkJaLFNBQVNhLE9BQU8sQ0FBQyxDQUFDQztRQUNoQkgsRUFBRUksTUFBTSxDQUFDRCxHQUFHO1lBQ1ZFLE9BQU9GLEVBQUVKLEdBQUcsS0FBSyxRQUFRLFVBQVU7UUFDckM7SUFDRjtJQUNBQyxFQUFFTSxVQUFVO0FBQ2QifQ==
|
@@ -36,4 +36,4 @@ async function buildAndOrConditions({ adapter, fields, joinAliases, joins, local
|
|
36
36
|
return completedConditions;
|
37
37
|
}
|
38
38
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9xdWVyaWVzL2J1aWxkQW5kT3JDb25kaXRpb25zLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgU1FMIH0gZnJvbSAnZHJpenpsZS1vcm0nXG5pbXBvcnQgdHlwZSB7IEZpZWxkLCBXaGVyZSB9IGZyb20gJ3BheWxvYWQvdHlwZXMnXG5cbmltcG9ydCB0eXBlIHsgR2VuZXJpY0NvbHVtbiwgUG9zdGdyZXNBZGFwdGVyIH0gZnJvbSAnLi4vdHlwZXMnXG5pbXBvcnQgdHlwZSB7IEJ1aWxkUXVlcnlKb2luQWxpYXNlcywgQnVpbGRRdWVyeUpvaW5zIH0gZnJvbSAnLi9idWlsZFF1ZXJ5J1xuXG5pbXBvcnQgeyBwYXJzZVBhcmFtcyB9IGZyb20gJy4vcGFyc2VQYXJhbXMnXG5cbmV4cG9ydCBhc3luYyBmdW5jdGlvbiBidWlsZEFuZE9yQ29uZGl0aW9ucyh7XG4gIGFkYXB0ZXIsXG4gIGZpZWxkcyxcbiAgam9p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c0IsRUFBRTtJQUM5Qiw2RUFBNkU7SUFDN0UsNkNBQTZDO0lBQzdDLGdEQUFnRDtJQUNoRCxLQUFLLE1BQU1DLGFBQWFGLE1BQU87UUFDN0Isc0RBQXNEO1FBQ3RELElBQUksT0FBT0UsY0FBYyxVQUFVO1lBQ2pDLDRDQUE0QztZQUM1QyxNQUFNQyxTQUFTLE1BQU1DLElBQUFBLHdCQUFXLEVBQUM7Z0JBQy9CWDtnQkFDQUM7Z0JBQ0FDO2dCQUNBQztnQkFDQUM7Z0JBQ0FDO2dCQUNBQztnQkFDQUMsT0FBT0U7WUFDVDtZQUNBLElBQUlDLFVBQVVFLE9BQU9DLElBQUksQ0FBQ0gsUUFBUUksTUFBTSxHQUFHLEdBQUc7Z0JBQzVDTixvQkFBb0JPLElBQUksQ0FBQ0w7WUFDM0I7UUFDRjtJQUNGO0lBQ0EsT0FBT0Y7QUFDVCJ9
|
@@ -83,4 +83,4 @@ const buildQuery = async function buildQuery({ adapter, fields, locale, sort, ta
|
|
83
83
|
};
|
84
84
|
const _default = buildQuery;
|
85
85
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9xdWVyaWVzL2J1aWxkUXVlcnkudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBTUUwgfSBmcm9tICdkcml6emxlLW9ybSdcbmltcG9ydCB0eXBlIHsgUGdUYWJsZVdpdGhDb2x1bW5zIH0gZnJvbSAnZHJpenpsZS1vcm0vcGctY29yZSdcbmltcG9ydCB0eXBlIHsgRmllbGQsIFdoZXJlIH0gZnJvbSAncGF5bG9hZC90eXBlcydcblxuaW1wb3J0IHsgYXNjLCBkZXNjIH0gZnJvbSAnZHJpenpsZS1vcm0nXG5cbmltcG9ydCB0eXBlIHsgR2VuZXJpY0NvbHVtbiwgR2VuZXJpY1RhYmxlLCBQb3N0Z3Jlc0FkYXB0ZXIgfSBm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ZFNlZ21lbnR9YFxuICAgIHJldHVybiBgJHtyZXN9LT4ke2Zvcm1hdHRlZFNlZ21lbnR9YFxuICB9LCAnJylcbn1cbiJdLCJuYW1lcyI6WyJjb252ZXJ0UGF0aFRvSlNPTlRyYXZlcnNhbCIsImluY29taW5nU2VnbWVudHMiLCJzZWdtZW50cyIsInNoaWZ0IiwicmVkdWNlIiwicmVzIiwic2VnbWVudCIsImkiLCJmb3JtYXR0ZWRTZWdtZW50IiwiZm9ybWF0SlNPTlBhdGhTZWdtZW50IiwibGVuZ3RoIl0sInJhbmdlTWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OzsiLCJtYXBwaW5ncyI6Ijs7OzsrQkFFYUE7OztlQUFBQTs7O3VDQUZ5QjtBQUUvQixNQUFNQSw2QkFBNkIsQ0FBQ0M7SUFDekMsTUFBTUMsV0FBVztXQUFJRDtLQUFpQjtJQUN0Q0MsU0FBU0MsS0FBSztJQUVkLE9BQU9ELFNBQVNFLE1BQU0sQ0FBQyxDQUFDQyxLQUFLQyxTQUFTQztRQUNwQyxNQUFNQyxtQkFBbUJDLElBQUFBLDRDQUFxQixFQUFDSDtRQUUvQyxJQUFJQyxJQUFJLE1BQU1MLFNBQVNRLE1BQU0sRUFBRSxPQUFPLENBQUMsRUFBRUwsSUFBSSxHQUFHLEVBQUVHLGlCQUFpQixDQUFDO1FBQ3BFLE9BQU8sQ0FBQyxFQUFFSCxJQUFJLEVBQUUsRUFBRUcsaUJBQWlCLENBQUM7SUFDdEMsR0FBRztBQUNMIn0=
|
@@ -12,4 +12,4 @@ const formatJSONPathSegment = (segment)=>{
|
|
12
12
|
return Number.isNaN(parseInt(segment)) ? `'${segment}'` : segment;
|
13
13
|
};
|
14
14
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9xdWVyaWVzL2NyZWF0ZUpTT05RdWVyeS9mb3JtYXRKU09OUGF0aFNlZ21lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IGZvcm1hdEpTT05QYXRoU2VnbWVudCA9IChzZWdtZW50OiBzdHJpbmcpID0+
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9xdWVyaWVzL2NyZWF0ZUpTT05RdWVyeS9mb3JtYXRKU09OUGF0aFNlZ21lbnQudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGNvbnN0IGZvcm1hdEpTT05QYXRoU2VnbWVudCA9IChzZWdtZW50OiBzdHJpbmcpID0+IHtcbiAgcmV0dXJuIE51bWJlci5pc05hTihwYXJzZUludChzZWdtZW50KSkgPyBgJyR7c2VnbWVudH0nYCA6IHNlZ21lbnRcbn1cbiJdLCJuYW1lcyI6WyJmb3JtYXRKU09OUGF0aFNlZ21lbnQiLCJzZWdtZW50IiwiTnVtYmVyIiwiaXNOYU4iLCJwYXJzZUludCJdLCJyYW5nZU1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7IiwibWFwcGluZ3MiOiI7Ozs7K0JBQWFBOzs7ZUFBQUE7OztBQUFOLE1BQU1BLHdCQUF3QixDQUFDQztJQUNwQyxPQUFPQyxPQUFPQyxLQUFLLENBQUNDLFNBQVNILFlBQVksQ0FBQyxDQUFDLEVBQUVBLFFBQVEsQ0FBQyxDQUFDLEdBQUdBO0FBQzVEIn0=
|
@@ -61,4 +61,4 @@ const createJSONQuery = ({ operator, pathSegments, treatAsArray, treatRootAsArra
|
|
61
61
|
});
|
62
62
|
};
|
63
63
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9xdWVyaWVzL2NyZWF0ZUpTT05RdWVyeS9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgey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FdBQVcsQ0FBQ00sU0FBUyxDQUFDLEVBQUUsRUFBRUcsTUFBTSxDQUFDLENBQUM7QUFDN0U7QUFVTyxNQUFNVixrQkFBa0IsQ0FBQyxFQUM5Qk8sUUFBUSxFQUNSQyxZQUFZLEVBQ1pDLFlBQVksRUFDWlksZ0JBQWdCLEVBQ2hCWCxLQUFLLEVBQ0E7SUFDTCxJQUFJVyxrQkFBa0I7UUFDcEIsT0FBT2hCLFVBQVU7WUFDZkMsUUFBUTtZQUNSQztZQUNBQztZQUNBQztZQUNBQztRQUNGO0lBQ0Y7SUFFQSxJQUFJRCxhQUFhYSxRQUFRLENBQUNkLFlBQVksQ0FBQyxFQUFFLEdBQUc7UUFDMUMsT0FBT0gsVUFBVTtZQUNmRTtZQUNBQztZQUNBQztZQUNBQztRQUNGO0lBQ0Y7SUFFQSxPQUFPUSxpQkFBaUI7UUFBRVg7UUFBVUM7UUFBY0M7UUFBY0M7SUFBTTtBQUN4RSJ9
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getTableColumnFromPath.d.ts","sourceRoot":"","sources":["../../src/queries/getTableColumnFromPath.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAC7D,OAAO,KAAK,EAAE,KAAK,EAAE,kBAAkB,EAAe,UAAU,EAAa,MAAM,eAAe,CAAA;AAUlG,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;
|
1
|
+
{"version":3,"file":"getTableColumnFromPath.d.ts","sourceRoot":"","sources":["../../src/queries/getTableColumnFromPath.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,KAAK,EAA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