@aphexcms/postgresql-adapter 1.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/dist/schema.d.ts +6 -6
  2. package/package.json +10 -4
package/dist/schema.d.ts CHANGED
@@ -228,7 +228,7 @@ export declare const organizationMembers: import("drizzle-orm/pg-core").PgTableW
228
228
  tableName: "cms_organization_members";
229
229
  dataType: "string";
230
230
  columnType: "PgEnumColumn";
231
- data: "owner" | "admin" | "editor" | "viewer";
231
+ data: "admin" | "editor" | "viewer" | "owner";
232
232
  driverParam: string;
233
233
  notNull: true;
234
234
  hasDefault: false;
@@ -375,7 +375,7 @@ export declare const invitations: import("drizzle-orm/pg-core").PgTableWithColum
375
375
  tableName: "cms_invitations";
376
376
  dataType: "string";
377
377
  columnType: "PgEnumColumn";
378
- data: "owner" | "admin" | "editor" | "viewer";
378
+ data: "admin" | "editor" | "viewer" | "owner";
379
379
  driverParam: string;
380
380
  notNull: true;
381
381
  hasDefault: false;
@@ -1357,7 +1357,7 @@ export declare const userProfiles: import("drizzle-orm/pg-core").PgTableWithColu
1357
1357
  tableName: "cms_user_profiles";
1358
1358
  dataType: "string";
1359
1359
  columnType: "PgText";
1360
- data: "admin" | "editor" | "viewer" | "super_admin";
1360
+ data: "super_admin" | "admin" | "editor" | "viewer";
1361
1361
  driverParam: string;
1362
1362
  notNull: true;
1363
1363
  hasDefault: true;
@@ -1663,7 +1663,7 @@ export declare const cmsSchema: {
1663
1663
  tableName: "cms_organization_members";
1664
1664
  dataType: "string";
1665
1665
  columnType: "PgEnumColumn";
1666
- data: "owner" | "admin" | "editor" | "viewer";
1666
+ data: "admin" | "editor" | "viewer" | "owner";
1667
1667
  driverParam: string;
1668
1668
  notNull: true;
1669
1669
  hasDefault: false;
@@ -1810,7 +1810,7 @@ export declare const cmsSchema: {
1810
1810
  tableName: "cms_invitations";
1811
1811
  dataType: "string";
1812
1812
  columnType: "PgEnumColumn";
1813
- data: "owner" | "admin" | "editor" | "viewer";
1813
+ data: "admin" | "editor" | "viewer" | "owner";
1814
1814
  driverParam: string;
1815
1815
  notNull: true;
1816
1816
  hasDefault: false;
@@ -2792,7 +2792,7 @@ export declare const cmsSchema: {
2792
2792
  tableName: "cms_user_profiles";
2793
2793
  dataType: "string";
2794
2794
  columnType: "PgText";
2795
- data: "admin" | "editor" | "viewer" | "super_admin";
2795
+ data: "super_admin" | "admin" | "editor" | "viewer";
2796
2796
  driverParam: string;
2797
2797
  notNull: true;
2798
2798
  hasDefault: true;
package/package.json CHANGED
@@ -1,9 +1,15 @@
1
1
  {
2
2
  "name": "@aphexcms/postgresql-adapter",
3
- "version": "1.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "PostgreSQL database adapter for Aphex CMS using Drizzle ORM",
5
5
  "publishConfig": {
6
- "access": "public"
6
+ "access": "public",
7
+ "provenance": true
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/IcelandicIcecream/aphex.git",
12
+ "directory": "packages/postgresql-adapter"
7
13
  },
8
14
  "type": "module",
9
15
  "main": "./dist/index.js",
@@ -28,12 +34,12 @@
28
34
  "postgres": "^3.4.7"
29
35
  },
30
36
  "peerDependencies": {
31
- "@aphexcms/cms-core": "1.0.0"
37
+ "@aphexcms/cms-core": "2.0.1"
32
38
  },
33
39
  "devDependencies": {
34
40
  "tsup": "^8.5.1",
35
41
  "typescript": "^5.9.3",
36
- "@aphexcms/cms-core": "1.0.0"
42
+ "@aphexcms/cms-core": "2.0.1"
37
43
  },
38
44
  "scripts": {
39
45
  "build": "tsc && node ../../scripts/fix-imports.js ./dist",