@payloadcms/db-postgres 3.0.0-canary.6659da8 → 3.0.0-canary.6de2b29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. package/dist/connect.js.map +1 -1
  2. package/dist/count.js +1 -1
  3. package/dist/count.js.map +1 -1
  4. package/dist/create.js +1 -1
  5. package/dist/create.js.map +1 -1
  6. package/dist/createGlobal.d.ts +2 -2
  7. package/dist/createGlobal.d.ts.map +1 -1
  8. package/dist/createGlobal.js +1 -1
  9. package/dist/createGlobal.js.map +1 -1
  10. package/dist/createGlobalVersion.d.ts +2 -3
  11. package/dist/createGlobalVersion.d.ts.map +1 -1
  12. package/dist/createGlobalVersion.js +1 -1
  13. package/dist/createGlobalVersion.js.map +1 -1
  14. package/dist/createMigration.js.map +1 -1
  15. package/dist/createVersion.d.ts.map +1 -1
  16. package/dist/createVersion.js +1 -1
  17. package/dist/createVersion.js.map +1 -1
  18. package/dist/deleteMany.d.ts.map +1 -1
  19. package/dist/deleteMany.js +1 -1
  20. package/dist/deleteMany.js.map +1 -1
  21. package/dist/deleteOne.d.ts.map +1 -1
  22. package/dist/deleteOne.js +1 -1
  23. package/dist/deleteOne.js.map +1 -1
  24. package/dist/deleteVersions.d.ts.map +1 -1
  25. package/dist/deleteVersions.js +1 -1
  26. package/dist/deleteVersions.js.map +1 -1
  27. package/dist/destroy.js.map +1 -1
  28. package/dist/exports/migration-utils.js.map +1 -1
  29. package/dist/find/buildFindManyArgs.d.ts.map +1 -1
  30. package/dist/find/buildFindManyArgs.js.map +1 -1
  31. package/dist/find/chainMethods.d.ts.map +1 -1
  32. package/dist/find/chainMethods.js.map +1 -1
  33. package/dist/find/findMany.d.ts.map +1 -1
  34. package/dist/find/findMany.js +1 -1
  35. package/dist/find/findMany.js.map +1 -1
  36. package/dist/find/traverseFields.js.map +1 -1
  37. package/dist/find.d.ts.map +1 -1
  38. package/dist/find.js.map +1 -1
  39. package/dist/findGlobal.js.map +1 -1
  40. package/dist/findGlobalVersions.d.ts.map +1 -1
  41. package/dist/findGlobalVersions.js.map +1 -1
  42. package/dist/findOne.d.ts.map +1 -1
  43. package/dist/findOne.js.map +1 -1
  44. package/dist/findVersions.d.ts.map +1 -1
  45. package/dist/findVersions.js.map +1 -1
  46. package/dist/index.js.map +1 -1
  47. package/dist/init.js.map +1 -1
  48. package/dist/migrate.js.map +1 -1
  49. package/dist/migrateDown.js.map +1 -1
  50. package/dist/migrateFresh.js.map +1 -1
  51. package/dist/migrateRefresh.js.map +1 -1
  52. package/dist/migrateReset.js.map +1 -1
  53. package/dist/migrateStatus.js.map +1 -1
  54. package/dist/predefinedMigrations/relationships-v2-v3.js.map +1 -1
  55. package/dist/predefinedMigrations/v2-v3/fetchAndResave/index.d.ts +2 -2
  56. package/dist/predefinedMigrations/v2-v3/fetchAndResave/index.d.ts.map +1 -1
  57. package/dist/predefinedMigrations/v2-v3/fetchAndResave/index.js +0 -1
  58. package/dist/predefinedMigrations/v2-v3/fetchAndResave/index.js.map +1 -1
  59. package/dist/predefinedMigrations/v2-v3/fetchAndResave/traverseFields.js.map +1 -1
  60. package/dist/predefinedMigrations/v2-v3/groupUpSQLStatements.d.ts.map +1 -1
  61. package/dist/predefinedMigrations/v2-v3/groupUpSQLStatements.js.map +1 -1
  62. package/dist/predefinedMigrations/v2-v3/index.d.ts +2 -2
  63. package/dist/predefinedMigrations/v2-v3/index.d.ts.map +1 -1
  64. package/dist/predefinedMigrations/v2-v3/index.js +1 -1
  65. package/dist/predefinedMigrations/v2-v3/index.js.map +1 -1
  66. package/dist/predefinedMigrations/v2-v3/migrateRelationships.d.ts +2 -2
  67. package/dist/predefinedMigrations/v2-v3/migrateRelationships.d.ts.map +1 -1
  68. package/dist/predefinedMigrations/v2-v3/migrateRelationships.js.map +1 -1
  69. package/dist/predefinedMigrations/v2-v3/traverseFields.js.map +1 -1
  70. package/dist/predefinedMigrations/v2-v3/types.js.map +1 -1
  71. package/dist/queries/buildAndOrConditions.js.map +1 -1
  72. package/dist/queries/buildQuery.d.ts.map +1 -1
  73. package/dist/queries/buildQuery.js.map +1 -1
  74. package/dist/queries/createJSONQuery/convertPathToJSONTraversal.js.map +1 -1
  75. package/dist/queries/createJSONQuery/formatJSONPathSegment.js.map +1 -1
  76. package/dist/queries/createJSONQuery/index.js.map +1 -1
  77. package/dist/queries/getTableColumnFromPath.js.map +1 -1
  78. package/dist/queries/operatorMap.js.map +1 -1
  79. package/dist/queries/parseParams.js.map +1 -1
  80. package/dist/queries/sanitizeQueryValue.js.map +1 -1
  81. package/dist/queries/selectDistinct.d.ts.map +1 -1
  82. package/dist/queries/selectDistinct.js.map +1 -1
  83. package/dist/queryDrafts.d.ts +1 -1
  84. package/dist/queryDrafts.d.ts.map +1 -1
  85. package/dist/queryDrafts.js.map +1 -1
  86. package/dist/schema/build.js.map +1 -1
  87. package/dist/schema/createIndex.js.map +1 -1
  88. package/dist/schema/createTableName.js.map +1 -1
  89. package/dist/schema/idToUUID.js.map +1 -1
  90. package/dist/schema/parentIDColumnMap.js.map +1 -1
  91. package/dist/schema/setColumnID.js.map +1 -1
  92. package/dist/schema/traverseFields.js.map +1 -1
  93. package/dist/schema/validateExistingBlockIsIdentical.js.map +1 -1
  94. package/dist/transactions/beginTransaction.js.map +1 -1
  95. package/dist/transactions/commitTransaction.d.ts.map +1 -1
  96. package/dist/transactions/commitTransaction.js +1 -0
  97. package/dist/transactions/commitTransaction.js.map +1 -1
  98. package/dist/transactions/rollbackTransaction.d.ts.map +1 -1
  99. package/dist/transactions/rollbackTransaction.js +5 -4
  100. package/dist/transactions/rollbackTransaction.js.map +1 -1
  101. package/dist/transform/read/hasManyNumber.js.map +1 -1
  102. package/dist/transform/read/hasManyText.js.map +1 -1
  103. package/dist/transform/read/index.d.ts +2 -3
  104. package/dist/transform/read/index.d.ts.map +1 -1
  105. package/dist/transform/read/index.js.map +1 -1
  106. package/dist/transform/read/relationship.js.map +1 -1
  107. package/dist/transform/read/traverseFields.d.ts.map +1 -1
  108. package/dist/transform/read/traverseFields.js.map +1 -1
  109. package/dist/transform/write/array.js.map +1 -1
  110. package/dist/transform/write/blocks.js.map +1 -1
  111. package/dist/transform/write/index.js.map +1 -1
  112. package/dist/transform/write/numbers.js.map +1 -1
  113. package/dist/transform/write/relationships.js.map +1 -1
  114. package/dist/transform/write/selects.js.map +1 -1
  115. package/dist/transform/write/texts.js.map +1 -1
  116. package/dist/transform/write/traverseFields.js.map +1 -1
  117. package/dist/transform/write/types.js.map +1 -1
  118. package/dist/types.d.ts +3 -3
  119. package/dist/types.d.ts.map +1 -1
  120. package/dist/types.js.map +1 -1
  121. package/dist/update.js +1 -1
  122. package/dist/update.js.map +1 -1
  123. package/dist/updateGlobal.d.ts +2 -2
  124. package/dist/updateGlobal.d.ts.map +1 -1
  125. package/dist/updateGlobal.js +1 -1
  126. package/dist/updateGlobal.js.map +1 -1
  127. package/dist/updateGlobalVersion.d.ts.map +1 -1
  128. package/dist/updateGlobalVersion.js +1 -1
  129. package/dist/updateGlobalVersion.js.map +1 -1
  130. package/dist/updateVersion.d.ts.map +1 -1
  131. package/dist/updateVersion.js +1 -1
  132. package/dist/updateVersion.js.map +1 -1
  133. package/dist/upsertRow/deleteExistingArrayRows.d.ts.map +1 -1
  134. package/dist/upsertRow/deleteExistingArrayRows.js.map +1 -1
  135. package/dist/upsertRow/deleteExistingRowsByPath.d.ts.map +1 -1
  136. package/dist/upsertRow/deleteExistingRowsByPath.js.map +1 -1
  137. package/dist/upsertRow/index.d.ts +1 -1
  138. package/dist/upsertRow/index.d.ts.map +1 -1
  139. package/dist/upsertRow/index.js +8 -6
  140. package/dist/upsertRow/index.js.map +1 -1
  141. package/dist/upsertRow/insertArrays.d.ts.map +1 -1
  142. package/dist/upsertRow/insertArrays.js.map +1 -1
  143. package/dist/upsertRow/types.d.ts +2 -2
  144. package/dist/upsertRow/types.d.ts.map +1 -1
  145. package/dist/upsertRow/types.js.map +1 -1
  146. package/dist/utilities/appendPrefixToKeys.d.ts.map +1 -1
  147. package/dist/utilities/appendPrefixToKeys.js.map +1 -1
  148. package/dist/utilities/createBlocksMap.d.ts.map +1 -1
  149. package/dist/utilities/createBlocksMap.js.map +1 -1
  150. package/dist/utilities/createMigrationTable.d.ts.map +1 -1
  151. package/dist/utilities/createMigrationTable.js.map +1 -1
  152. package/dist/utilities/createRelationshipMap.d.ts.map +1 -1
  153. package/dist/utilities/createRelationshipMap.js.map +1 -1
  154. package/dist/utilities/hasLocalesTable.js.map +1 -1
  155. package/dist/utilities/isArrayOfRows.js.map +1 -1
  156. package/dist/utilities/migrationTableExists.d.ts.map +1 -1
  157. package/dist/utilities/migrationTableExists.js.map +1 -1
  158. package/dist/utilities/parseError.js.map +1 -1
  159. package/dist/utilities/pushDevSchema.js.map +1 -1
  160. package/package.json +11 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloadcms/db-postgres",
3
- "version": "3.0.0-canary.6659da8",
3
+ "version": "3.0.0-canary.6de2b29",
4
4
  "description": "The officially supported Postgres database adapter for Payload",
5
5
  "homepage": "https://payloadcms.com",
6
6
  "repository": {
@@ -14,18 +14,18 @@
14
14
  "exports": {
15
15
  ".": {
16
16
  "import": "./dist/index.js",
17
- "require": "./dist/index.js",
18
- "types": "./dist/index.d.ts"
17
+ "types": "./dist/index.d.ts",
18
+ "default": "./dist/index.js"
19
19
  },
20
20
  "./types": {
21
21
  "import": "./dist/types.js",
22
- "require": "./dist/types.js",
23
- "types": "./dist/types.d.ts"
22
+ "types": "./dist/types.d.ts",
23
+ "default": "./dist/types.js"
24
24
  },
25
25
  "./migration-utils": {
26
26
  "import": "./dist/exports/migration-utils.js",
27
- "require": "./dist/exports/migration-utils.js",
28
- "types": "./dist/exports/migration-utils.d.ts"
27
+ "types": "./dist/exports/migration-utils.d.ts",
28
+ "default": "./dist/exports/migration-utils.js"
29
29
  }
30
30
  },
31
31
  "main": "./dist/index.js",
@@ -48,12 +48,12 @@
48
48
  "@hyrious/esbuild-plugin-commonjs": "^0.2.4",
49
49
  "@types/pg": "8.10.2",
50
50
  "@types/to-snake-case": "1.0.0",
51
- "esbuild": "^0.21.4",
52
- "payload": "3.0.0-canary.6659da8",
53
- "@payloadcms/eslint-config": "1.1.1"
51
+ "esbuild": "0.23.0",
52
+ "@payloadcms/eslint-config": "3.0.0-beta.59",
53
+ "payload": "3.0.0-canary.6de2b29"
54
54
  },
55
55
  "peerDependencies": {
56
- "payload": "3.0.0-canary.6659da8"
56
+ "payload": "3.0.0-canary.6de2b29"
57
57
  },
58
58
  "scripts": {
59
59
  "build": "rimraf .dist && rimraf tsconfig.tsbuildinfo && pnpm build:types && pnpm build:swc && pnpm build:esbuild && pnpm renamePredefinedMigrations",