@payloadcms/db-postgres 0.1.0-beta.6 → 0.1.0-beta.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. package/dist/connect.d.ts +3 -0
  2. package/dist/connect.d.ts.map +1 -0
  3. package/dist/create.d.ts +3 -0
  4. package/dist/create.d.ts.map +1 -0
  5. package/dist/create.js +1 -1
  6. package/dist/createGlobal.d.ts +5 -0
  7. package/dist/createGlobal.d.ts.map +1 -0
  8. package/dist/createGlobalVersion.d.ts +6 -0
  9. package/dist/createGlobalVersion.d.ts.map +1 -0
  10. package/dist/createMigration.d.ts +3 -0
  11. package/dist/createMigration.d.ts.map +1 -0
  12. package/dist/createVersion.d.ts +5 -0
  13. package/dist/createVersion.d.ts.map +1 -0
  14. package/dist/deleteMany.d.ts +3 -0
  15. package/dist/deleteMany.d.ts.map +1 -0
  16. package/dist/deleteOne.d.ts +3 -0
  17. package/dist/deleteOne.d.ts.map +1 -0
  18. package/dist/deleteVersions.d.ts +3 -0
  19. package/dist/deleteVersions.d.ts.map +1 -0
  20. package/dist/destroy.d.ts +3 -0
  21. package/dist/destroy.d.ts.map +1 -0
  22. package/dist/find/buildFindManyArgs.d.ts +13 -0
  23. package/dist/find/buildFindManyArgs.d.ts.map +1 -0
  24. package/dist/find/chainMethods.d.ts +15 -0
  25. package/dist/find/chainMethods.d.ts.map +1 -0
  26. package/dist/find/findMany.d.ts +22 -0
  27. package/dist/find/findMany.d.ts.map +1 -0
  28. package/dist/find/traverseFields.d.ts +16 -0
  29. package/dist/find/traverseFields.d.ts.map +1 -0
  30. package/dist/find.d.ts +3 -0
  31. package/dist/find.d.ts.map +1 -0
  32. package/dist/findGlobal.d.ts +3 -0
  33. package/dist/findGlobal.d.ts.map +1 -0
  34. package/dist/findGlobalVersions.d.ts +3 -0
  35. package/dist/findGlobalVersions.d.ts.map +1 -0
  36. package/dist/findOne.d.ts +5 -0
  37. package/dist/findOne.d.ts.map +1 -0
  38. package/dist/findVersions.d.ts +3 -0
  39. package/dist/findVersions.d.ts.map +1 -0
  40. package/dist/index.d.ts +4 -0
  41. package/dist/index.d.ts.map +1 -0
  42. package/dist/init.d.ts +3 -0
  43. package/dist/init.d.ts.map +1 -0
  44. package/dist/migrate.d.ts +3 -0
  45. package/dist/migrate.d.ts.map +1 -0
  46. package/dist/migrateStatus.d.ts +3 -0
  47. package/dist/migrateStatus.d.ts.map +1 -0
  48. package/dist/queries/buildAndOrConditions.d.ts +17 -0
  49. package/dist/queries/buildAndOrConditions.d.ts.map +1 -0
  50. package/dist/queries/buildQuery.d.ts +30 -0
  51. package/dist/queries/buildQuery.d.ts.map +1 -0
  52. package/dist/queries/createJSONQuery/convertPathToJSONTraversal.d.ts +2 -0
  53. package/dist/queries/createJSONQuery/convertPathToJSONTraversal.d.ts.map +1 -0
  54. package/dist/queries/createJSONQuery/formatJSONPathSegment.d.ts +2 -0
  55. package/dist/queries/createJSONQuery/formatJSONPathSegment.d.ts.map +1 -0
  56. package/dist/queries/createJSONQuery/index.d.ts +10 -0
  57. package/dist/queries/createJSONQuery/index.d.ts.map +1 -0
  58. package/dist/queries/getTableColumnFromPath.d.ts +40 -0
  59. package/dist/queries/getTableColumnFromPath.d.ts.map +1 -0
  60. package/dist/queries/operatorMap.d.ts +18 -0
  61. package/dist/queries/operatorMap.d.ts.map +1 -0
  62. package/dist/queries/parseParams.d.ts +17 -0
  63. package/dist/queries/parseParams.d.ts.map +1 -0
  64. package/dist/queries/sanitizeQueryValue.d.ts +12 -0
  65. package/dist/queries/sanitizeQueryValue.d.ts.map +1 -0
  66. package/dist/queryDrafts.d.ts +3 -0
  67. package/dist/queryDrafts.d.ts.map +1 -0
  68. package/dist/reference.d.ts +2 -0
  69. package/dist/reference.d.ts.map +1 -0
  70. package/dist/schema/build.d.ts +22 -0
  71. package/dist/schema/build.d.ts.map +1 -0
  72. package/dist/schema/createIndex.d.ts +11 -0
  73. package/dist/schema/createIndex.d.ts.map +1 -0
  74. package/dist/schema/parentIDColumnMap.d.ts +7 -0
  75. package/dist/schema/parentIDColumnMap.d.ts.map +1 -0
  76. package/dist/schema/traverseFields.d.ts +32 -0
  77. package/dist/schema/traverseFields.d.ts.map +1 -0
  78. package/dist/schema/validateExistingBlockIsIdentical.d.ts +11 -0
  79. package/dist/schema/validateExistingBlockIsIdentical.d.ts.map +1 -0
  80. package/dist/transactions/beginTransaction.d.ts +3 -0
  81. package/dist/transactions/beginTransaction.d.ts.map +1 -0
  82. package/dist/transactions/commitTransaction.d.ts +3 -0
  83. package/dist/transactions/commitTransaction.d.ts.map +1 -0
  84. package/dist/transactions/rollbackTransaction.d.ts +3 -0
  85. package/dist/transactions/rollbackTransaction.d.ts.map +1 -0
  86. package/dist/transform/read/hasManyNumber.d.ts +10 -0
  87. package/dist/transform/read/hasManyNumber.d.ts.map +1 -0
  88. package/dist/transform/read/index.d.ts +12 -0
  89. package/dist/transform/read/index.d.ts.map +1 -0
  90. package/dist/transform/read/relationship.d.ts +10 -0
  91. package/dist/transform/read/relationship.d.ts.map +1 -0
  92. package/dist/transform/read/traverseFields.d.ts +44 -0
  93. package/dist/transform/read/traverseFields.d.ts.map +1 -0
  94. package/dist/transform/write/array.d.ts +22 -0
  95. package/dist/transform/write/array.d.ts.map +1 -0
  96. package/dist/transform/write/blocks.d.ts +21 -0
  97. package/dist/transform/write/blocks.d.ts.map +1 -0
  98. package/dist/transform/write/index.d.ts +11 -0
  99. package/dist/transform/write/index.d.ts.map +1 -0
  100. package/dist/transform/write/numbers.d.ts +8 -0
  101. package/dist/transform/write/numbers.d.ts.map +1 -0
  102. package/dist/transform/write/relationships.d.ts +10 -0
  103. package/dist/transform/write/relationships.d.ts.map +1 -0
  104. package/dist/transform/write/selects.d.ts +7 -0
  105. package/dist/transform/write/selects.d.ts.map +1 -0
  106. package/dist/transform/write/traverseFields.d.ts +46 -0
  107. package/dist/transform/write/traverseFields.d.ts.map +1 -0
  108. package/dist/transform/write/types.d.ts +41 -0
  109. package/dist/transform/write/types.d.ts.map +1 -0
  110. package/dist/types.d.ts +67 -0
  111. package/dist/types.d.ts.map +1 -0
  112. package/dist/update.d.ts +3 -0
  113. package/dist/update.d.ts.map +1 -0
  114. package/dist/updateGlobal.d.ts +5 -0
  115. package/dist/updateGlobal.d.ts.map +1 -0
  116. package/dist/updateGlobalVersion.d.ts +6 -0
  117. package/dist/updateGlobalVersion.d.ts.map +1 -0
  118. package/dist/updateVersion.d.ts +5 -0
  119. package/dist/updateVersion.d.ts.map +1 -0
  120. package/dist/upsertRow/deleteExistingArrayRows.d.ts +10 -0
  121. package/dist/upsertRow/deleteExistingArrayRows.d.ts.map +1 -0
  122. package/dist/upsertRow/deleteExistingRowsByPath.d.ts +14 -0
  123. package/dist/upsertRow/deleteExistingRowsByPath.d.ts.map +1 -0
  124. package/dist/upsertRow/index.d.ts +4 -0
  125. package/dist/upsertRow/index.d.ts.map +1 -0
  126. package/dist/upsertRow/insertArrays.d.ts +13 -0
  127. package/dist/upsertRow/insertArrays.d.ts.map +1 -0
  128. package/dist/upsertRow/types.d.ts +26 -0
  129. package/dist/upsertRow/types.d.ts.map +1 -0
  130. package/dist/utilities/appendPrefixToKeys.d.ts +2 -0
  131. package/dist/utilities/appendPrefixToKeys.d.ts.map +1 -0
  132. package/dist/utilities/createBlocksMap.d.ts +5 -0
  133. package/dist/utilities/createBlocksMap.d.ts.map +1 -0
  134. package/dist/utilities/createMigrationTable.d.ts +3 -0
  135. package/dist/utilities/createMigrationTable.d.ts.map +1 -0
  136. package/dist/utilities/createRelationshipMap.d.ts +2 -0
  137. package/dist/utilities/createRelationshipMap.d.ts.map +1 -0
  138. package/dist/utilities/hasLocalesTable.d.ts +3 -0
  139. package/dist/utilities/hasLocalesTable.d.ts.map +1 -0
  140. package/dist/utilities/isArrayOfRows.d.ts +2 -0
  141. package/dist/utilities/isArrayOfRows.d.ts.map +1 -0
  142. package/dist/utilities/migrationTableExists.d.ts +3 -0
  143. package/dist/utilities/migrationTableExists.d.ts.map +1 -0
  144. package/dist/webpack.d.ts +3 -0
  145. package/dist/webpack.d.ts.map +1 -0
  146. package/package.json +2 -2
@@ -0,0 +1,2 @@
1
+ export declare function isArrayOfRows(data: unknown): data is Record<string, unknown>[];
2
+ //# sourceMappingURL=isArrayOfRows.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isArrayOfRows.d.ts","sourceRoot":"","sources":["../../src/utilities/isArrayOfRows.ts"],"names":[],"mappings":"AAAA,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAE9E"}
@@ -0,0 +1,3 @@
1
+ import type { DrizzleDB } from '../types';
2
+ export declare const migrationTableExists: (db: DrizzleDB) => Promise<boolean>;
3
+ //# sourceMappingURL=migrationTableExists.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migrationTableExists.d.ts","sourceRoot":"","sources":["../../src/utilities/migrationTableExists.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAA;AAEzC,eAAO,MAAM,oBAAoB,qBAA0B,QAAQ,OAAO,CAMzE,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { Webpack } from 'payload/database';
2
+ export declare const webpack: Webpack;
3
+ //# sourceMappingURL=webpack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webpack.d.ts","sourceRoot":"","sources":["../src/webpack.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAI/C,eAAO,MAAM,OAAO,EAAE,OAcrB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloadcms/db-postgres",
3
- "version": "0.1.0-beta.6",
3
+ "version": "0.1.0-beta.8",
4
4
  "description": "The officially supported Postgres database adapter for Payload",
5
5
  "repository": "https://github.com/payloadcms/payload",
6
6
  "license": "MIT",
@@ -40,6 +40,6 @@
40
40
  "build": "pnpm build:swc && pnpm build:types",
41
41
  "build:swc": "swc ./src -d ./dist --config-file .swcrc",
42
42
  "build:types": "tsc --emitDeclarationOnly --outDir dist",
43
- "clean": "rimraf dist"
43
+ "clean": "rimraf {dist,*.tsbuildinfo}"
44
44
  }
45
45
  }