@byline/db-postgres 0.10.2 → 0.10.3
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/database/schema/auth.d.ts +0 -1
- package/dist/database/schema/auth.js +0 -1
- package/dist/database/schema/index.d.ts +0 -1
- package/dist/database/schema/index.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/lib/test-helper.d.ts +0 -1
- package/dist/lib/test-helper.js +0 -1
- package/dist/modules/admin/admin-permissions-repository.d.ts +0 -1
- package/dist/modules/admin/admin-permissions-repository.js +0 -1
- package/dist/modules/admin/admin-roles-repository.d.ts +0 -1
- package/dist/modules/admin/admin-roles-repository.js +0 -1
- package/dist/modules/admin/admin-store.d.ts +0 -1
- package/dist/modules/admin/admin-store.js +0 -1
- package/dist/modules/admin/admin-users-repository.d.ts +0 -1
- package/dist/modules/admin/admin-users-repository.js +0 -1
- package/dist/modules/admin/index.d.ts +0 -1
- package/dist/modules/admin/index.js +0 -1
- package/dist/modules/admin/refresh-tokens-repository.d.ts +0 -1
- package/dist/modules/admin/refresh-tokens-repository.js +0 -1
- package/dist/modules/admin/tests/auth-integration.test.d.ts +0 -1
- package/dist/modules/admin/tests/auth-integration.test.js +0 -1
- package/dist/modules/admin/tests/session-provider.test.d.ts +0 -1
- package/dist/modules/admin/tests/session-provider.test.js +0 -1
- package/dist/modules/storage/@types.d.ts +0 -1
- package/dist/modules/storage/@types.js +0 -1
- package/dist/modules/storage/storage-commands.d.ts +0 -1
- package/dist/modules/storage/storage-commands.js +0 -1
- package/dist/modules/storage/storage-flatten.d.ts +0 -1
- package/dist/modules/storage/storage-flatten.js +0 -1
- package/dist/modules/storage/storage-insert.d.ts +0 -1
- package/dist/modules/storage/storage-insert.js +0 -1
- package/dist/modules/storage/storage-queries.d.ts +0 -1
- package/dist/modules/storage/storage-queries.js +0 -1
- package/dist/modules/storage/storage-restore.d.ts +0 -1
- package/dist/modules/storage/storage-restore.js +0 -1
- package/dist/modules/storage/storage-store-manifest.d.ts +0 -1
- package/dist/modules/storage/storage-store-manifest.js +0 -1
- package/dist/modules/storage/storage-utils.d.ts +0 -1
- package/dist/modules/storage/storage-utils.js +0 -1
- package/dist/modules/storage/tests/storage-field-types.test.d.ts +0 -1
- package/dist/modules/storage/tests/storage-field-types.test.js +0 -1
- package/dist/modules/storage/tests/storage-flatten-reconstruct.test.d.ts +0 -1
- package/dist/modules/storage/tests/storage-flatten-reconstruct.test.js +0 -1
- package/dist/modules/storage/tests/storage-store-manifest.test.d.ts +0 -1
- package/dist/modules/storage/tests/storage-store-manifest.test.js +0 -1
- package/dist/modules/storage/tests/storage-versioning.test.d.ts +0 -1
- package/dist/modules/storage/tests/storage-versioning.test.js +0 -1
- package/package.json +4 -4
|
@@ -854,4 +854,3 @@ export declare const adminPermissionsRelations: import("drizzle-orm").Relations<
|
|
|
854
854
|
export declare const adminRefreshTokensRelations: import("drizzle-orm").Relations<"byline_admin_refresh_tokens", {
|
|
855
855
|
user: import("drizzle-orm").One<"byline_admin_users", true>;
|
|
856
856
|
}>;
|
|
857
|
-
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -2952,4 +2952,3 @@ export declare const jsonStoreRelations: import("drizzle-orm").Relations<"byline
|
|
|
2952
2952
|
collection: import("drizzle-orm").One<"byline_collections", true>;
|
|
2953
2953
|
}>;
|
|
2954
2954
|
export { adminPermissions, adminPermissionsRelations, adminRefreshTokens, adminRefreshTokensRelations, adminRoleAdminUser, adminRoleAdminUserRelations, adminRoles, adminRolesRelations, adminUsers, adminUsersRelations, } from './auth.js';
|
|
2955
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -497,4 +497,3 @@ export const jsonStoreRelations = relations(jsonStore, ({ one }) => ({
|
|
|
497
497
|
// See ./auth.ts for definitions and rationale.
|
|
498
498
|
// ---------------------------------------------------------------------------
|
|
499
499
|
export { adminPermissions, adminPermissionsRelations, adminRefreshTokens, adminRefreshTokensRelations, adminRoleAdminUser, adminRoleAdminUserRelations, adminRoles, adminRolesRelations, adminUsers, adminUsersRelations, } from './auth.js';
|
|
500
|
-
//# sourceMappingURL=index.js.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/dist/lib/test-helper.js
CHANGED
|
@@ -14,4 +14,3 @@ import type * as schema from '../../database/schema/index.js';
|
|
|
14
14
|
* `resolveActor()`.
|
|
15
15
|
*/
|
|
16
16
|
export declare function createAdminPermissionsRepository(db: NodePgDatabase<typeof schema>): AdminPermissionsRepository;
|
|
17
|
-
//# sourceMappingURL=admin-permissions-repository.d.ts.map
|
|
@@ -9,4 +9,3 @@ import { type AdminRolesRepository } from '@byline/admin/admin-roles';
|
|
|
9
9
|
import type { NodePgDatabase } from 'drizzle-orm/node-postgres';
|
|
10
10
|
import type * as schema from '../../database/schema/index.js';
|
|
11
11
|
export declare function createAdminRolesRepository(db: NodePgDatabase<typeof schema>): AdminRolesRepository;
|
|
12
|
-
//# sourceMappingURL=admin-roles-repository.d.ts.map
|
|
@@ -9,4 +9,3 @@ import { type AdminUsersRepository } from '@byline/admin/admin-users';
|
|
|
9
9
|
import type { NodePgDatabase } from 'drizzle-orm/node-postgres';
|
|
10
10
|
import type * as schema from '../../database/schema/index.js';
|
|
11
11
|
export declare function createAdminUsersRepository(db: NodePgDatabase<typeof schema>): AdminUsersRepository;
|
|
12
|
-
//# sourceMappingURL=admin-users-repository.d.ts.map
|
|
@@ -24,4 +24,3 @@ export { createAdminRolesRepository } from './admin-roles-repository.js';
|
|
|
24
24
|
export { createAdminStore } from './admin-store.js';
|
|
25
25
|
export { createAdminUsersRepository } from './admin-users-repository.js';
|
|
26
26
|
export { createRefreshTokensRepository } from './refresh-tokens-repository.js';
|
|
27
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -24,4 +24,3 @@ export { createAdminRolesRepository } from './admin-roles-repository.js';
|
|
|
24
24
|
export { createAdminStore } from './admin-store.js';
|
|
25
25
|
export { createAdminUsersRepository } from './admin-users-repository.js';
|
|
26
26
|
export { createRefreshTokensRepository } from './refresh-tokens-repository.js';
|
|
27
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -13,4 +13,3 @@ import type * as schema from '../../database/schema/index.js';
|
|
|
13
13
|
* built-in `JwtSessionProvider`.
|
|
14
14
|
*/
|
|
15
15
|
export declare function createRefreshTokensRepository(db: NodePgDatabase<typeof schema>): RefreshTokensRepository;
|
|
16
|
-
//# sourceMappingURL=refresh-tokens-repository.d.ts.map
|
|
@@ -16,4 +16,3 @@ import type { FlattenedFieldValue } from './@types.js';
|
|
|
16
16
|
* @param locale - The locale to flatten for (or 'all' to flatten all locales).
|
|
17
17
|
*/
|
|
18
18
|
export declare const flattenFieldSetData: (fields: FieldSet, data: unknown, locale: string) => FlattenedFieldValue[];
|
|
19
|
-
//# sourceMappingURL=storage-flatten.d.ts.map
|
|
@@ -16,4 +16,3 @@ import type { FlattenedFieldValue, UnifiedFieldValue } from './@types.js';
|
|
|
16
16
|
*/
|
|
17
17
|
export declare const restoreFieldSetData: (fields: FieldSet, flattenedData: FlattenedFieldValue[], resolveLocale?: string) => any;
|
|
18
18
|
export declare const extractFlattenedFieldValue: (unifiedValue: UnifiedFieldValue) => FlattenedFieldValue;
|
|
19
|
-
//# sourceMappingURL=storage-restore.d.ts.map
|
|
@@ -291,4 +291,3 @@ export function storeSelectList(storeType) {
|
|
|
291
291
|
// Exported for testing
|
|
292
292
|
// ---------------------------------------------------------------------------
|
|
293
293
|
export { buildSelectList, columns, fieldTypeLiterals };
|
|
294
|
-
//# sourceMappingURL=storage-store-manifest.js.map
|
|
@@ -20,4 +20,3 @@ import { type StoreType } from './storage-store-manifest.js';
|
|
|
20
20
|
*/
|
|
21
21
|
export declare function resolveStoreTypes(fields: FieldSet, fieldNames: string[]): Set<StoreType>;
|
|
22
22
|
export declare const getFirstOrThrow: <T>(message: string) => (values: T[]) => T;
|
|
23
|
-
//# sourceMappingURL=storage-utils.d.ts.map
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@byline/db-postgres",
|
|
3
3
|
"private": false,
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
|
-
"version": "0.10.
|
|
5
|
+
"version": "0.10.3",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=20.9.0"
|
|
8
8
|
},
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"pg": "^8.20.0",
|
|
53
53
|
"uuid": "^14.0.0",
|
|
54
54
|
"zod": "^4.4.2",
|
|
55
|
-
"@byline/auth": "0.10.
|
|
56
|
-
"@byline/core": "0.10.
|
|
57
|
-
"@byline/admin": "0.10.
|
|
55
|
+
"@byline/auth": "0.10.3",
|
|
56
|
+
"@byline/core": "0.10.3",
|
|
57
|
+
"@byline/admin": "0.10.3"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@biomejs/biome": "2.4.14",
|