@outs-tand-ing/postgres 0.1.2 → 0.1.4
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/modules/account/index.d.ts +3 -54
- package/dist/modules/account/index.d.ts.map +1 -1
- package/dist/modules/account/index.js +3 -7
- package/dist/modules/account/index.js.map +1 -1
- package/dist/modules/blueprint/index.d.ts +4 -72
- package/dist/modules/blueprint/index.d.ts.map +1 -1
- package/dist/modules/blueprint/index.js +4 -17
- package/dist/modules/blueprint/index.js.map +1 -1
- package/dist/modules/calendar/index.d.ts +3 -54
- package/dist/modules/calendar/index.d.ts.map +1 -1
- package/dist/modules/calendar/index.js +3 -7
- package/dist/modules/calendar/index.js.map +1 -1
- package/dist/modules/delivery/index.d.ts +3 -54
- package/dist/modules/delivery/index.d.ts.map +1 -1
- package/dist/modules/delivery/index.js +3 -7
- package/dist/modules/delivery/index.js.map +1 -1
- package/dist/modules/entry/entry.schema.d.ts +2 -36
- package/dist/modules/entry/entry.schema.d.ts.map +1 -1
- package/dist/modules/entry/entry.schema.js +2 -5
- package/dist/modules/entry/entry.schema.js.map +1 -1
- package/dist/modules/group/index.d.ts +4 -72
- package/dist/modules/group/index.d.ts.map +1 -1
- package/dist/modules/group/index.js +4 -17
- package/dist/modules/group/index.js.map +1 -1
- package/dist/modules/real/real.schema.d.ts +5 -90
- package/dist/modules/real/real.schema.d.ts.map +1 -1
- package/dist/modules/real/real.schema.js +5 -11
- package/dist/modules/real/real.schema.js.map +1 -1
- package/dist/modules/timeline/index.d.ts +1 -18
- package/dist/modules/timeline/index.d.ts.map +1 -1
- package/dist/modules/timeline/index.js +1 -3
- package/dist/modules/timeline/index.js.map +1 -1
- package/package.json +4 -3
|
@@ -2,23 +2,6 @@ export declare const marks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
2
2
|
name: "timeline_marks";
|
|
3
3
|
schema: undefined;
|
|
4
4
|
columns: {
|
|
5
|
-
_id: import("drizzle-orm/pg-core").PgColumn<{
|
|
6
|
-
name: "_id";
|
|
7
|
-
tableName: "timeline_marks";
|
|
8
|
-
dataType: "string";
|
|
9
|
-
columnType: "PgText";
|
|
10
|
-
data: string;
|
|
11
|
-
driverParam: string;
|
|
12
|
-
notNull: true;
|
|
13
|
-
hasDefault: true;
|
|
14
|
-
isPrimaryKey: true;
|
|
15
|
-
isAutoincrement: false;
|
|
16
|
-
hasRuntimeDefault: false;
|
|
17
|
-
enumValues: [string, ...string[]];
|
|
18
|
-
baseColumn: never;
|
|
19
|
-
identity: undefined;
|
|
20
|
-
generated: undefined;
|
|
21
|
-
}, {}, {}>;
|
|
22
5
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
23
6
|
name: "id";
|
|
24
7
|
tableName: "timeline_marks";
|
|
@@ -28,7 +11,7 @@ export declare const marks: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
|
28
11
|
driverParam: string;
|
|
29
12
|
notNull: true;
|
|
30
13
|
hasDefault: false;
|
|
31
|
-
isPrimaryKey:
|
|
14
|
+
isPrimaryKey: true;
|
|
32
15
|
isAutoincrement: false;
|
|
33
16
|
hasRuntimeDefault: false;
|
|
34
17
|
enumValues: [string, ...string[]];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/timeline/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/timeline/index.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAsBA,MAAM;6BACL,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;;;;;;;;;;;;;4BADvB,MAAM;6BACL,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAaxC,CAAA;AAED,MAAM,MAAM,IAAI,GAAG,OAAO,KAAK,CAAC,YAAY,CAAA;AAC5C,MAAM,MAAM,OAAO,GAAG,OAAO,KAAK,CAAC,YAAY,CAAA;AAE/C,cAAc,sBAAsB,CAAA"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { pgTable, text, timestamp, integer, varchar, jsonb, index } from 'drizzle-orm/pg-core';
|
|
2
|
-
import { sql } from 'drizzle-orm';
|
|
3
2
|
export const marks = pgTable('timeline_marks', {
|
|
4
|
-
|
|
5
|
-
id: text('id').notNull().unique(),
|
|
3
|
+
id: text('id').primaryKey(),
|
|
6
4
|
url: text('url').notNull().unique(),
|
|
7
5
|
name: text('name'),
|
|
8
6
|
status: varchar('status', { length: 50 }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/modules/timeline/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,MAA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AAC,aAAa,CAAC,CAAC,UAAU,EAAE,CAAC,OAAO,EAAE;IAC3D,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE;CACzC,EACD,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACV,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;IACzC,SAAS,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC;IACtD,YAAY,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC;IAC/D,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;IACnD,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;CACnD,CAAC,CACH,CAAA;AAKD,cAAc,sBAAsB,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outs-tand-ing/postgres",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "PostgreSQL database with Drizzle ORM for Outs project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -72,7 +72,8 @@
|
|
|
72
72
|
"docker:logs": "docker-compose logs -f postgres",
|
|
73
73
|
"neon": "bun run src/scripts/neon.ts",
|
|
74
74
|
"neon:studio": "bun run neon studio production",
|
|
75
|
-
"neon:push": "bun neon push production"
|
|
75
|
+
"neon:push": "bun neon push production",
|
|
76
|
+
"studios": "bun run db:studio & bun run neon:studio"
|
|
76
77
|
},
|
|
77
78
|
"peerDependencies": {
|
|
78
79
|
"drizzle-orm": "^0.45.1",
|
|
@@ -86,7 +87,7 @@
|
|
|
86
87
|
"bcrypt": "^6.0.0",
|
|
87
88
|
"drizzle-kit": "0.31.8",
|
|
88
89
|
"drizzle-orm": "0.45.1",
|
|
89
|
-
"mongoose": "^9.
|
|
90
|
+
"mongoose": "^9.1.1",
|
|
90
91
|
"postgres": "3.4.7",
|
|
91
92
|
"typescript": "^5.9.3"
|
|
92
93
|
}
|