pipework 0.1.1 → 0.1.2
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/schema/generated/type-constructor.d.ts +1 -1
- package/dist/schema/generated/type-constructor.d.ts.map +1 -1
- package/dist/schema/generated/type-constructor.js +3 -0
- package/dist/schema/generated/type-constructor.js.map +1 -1
- package/dist/schema/namespace.d.ts +1 -0
- package/dist/schema/namespace.d.ts.map +1 -1
- package/dist/schema/namespace.js +1 -0
- package/dist/schema/namespace.js.map +1 -1
- package/package.json +14 -15
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { function, null, undefined, void, enum } from 'zod/v4';
|
|
2
2
|
export { _function, any, array, bigint, boolean, custom, date, file, int, json, lazy, literal, map, nan, nativeEnum, never, number, object, promise, record, set, string, symbol, tuple, unknown } from 'zod/v4';
|
|
3
3
|
//# sourceMappingURL=type-constructor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-constructor.d.ts","sourceRoot":"","sources":["../../../src/schema/generated/type-constructor.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"type-constructor.d.ts","sourceRoot":"","sources":["../../../src/schema/generated/type-constructor.ts"],"names":[],"mappings":"AAIA,YAAY,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}
|
|
@@ -2,4 +2,7 @@
|
|
|
2
2
|
// Run: node scripts/scaffold-namespace.js generate manifests/zod--v4.json
|
|
3
3
|
// Manual symbols are not included — they live in separate files.
|
|
4
4
|
export { _function, any, array, bigint, boolean, custom, date, file, int, json, lazy, literal, map, nan, nativeEnum, never, number, object, promise, record, set, string, symbol, tuple, unknown } from 'zod/v4';
|
|
5
|
+
// Reserved words — runtime values exist but can't be re-exported as identifiers.
|
|
6
|
+
// Provide manually in the namespace file (e.g. `enum: z.enum`):
|
|
7
|
+
// enum
|
|
5
8
|
//# sourceMappingURL=type-constructor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-constructor.js","sourceRoot":"","sources":["../../../src/schema/generated/type-constructor.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,0EAA0E;AAC1E,iEAAiE;AAGjE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}
|
|
1
|
+
{"version":3,"file":"type-constructor.js","sourceRoot":"","sources":["../../../src/schema/generated/type-constructor.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,0EAA0E;AAC1E,iEAAiE;AAGjE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAEhN,iFAAiF;AACjF,gEAAgE;AAChE,SAAS"}
|
|
@@ -21,6 +21,7 @@ export declare const schema: {
|
|
|
21
21
|
readonly tableCreator: typeof schemaFeatures.tableCreator;
|
|
22
22
|
readonly withReplicas: <HKT extends import("drizzle-orm/pg-core").PgQueryResultHKT, TFullSchema extends Record<string, unknown>, TSchema extends import("drizzle-orm").TablesRelationalConfig, Q extends import("drizzle-orm/pg-core").PgDatabase<HKT, TFullSchema, TSchema extends Record<string, unknown> ? import("drizzle-orm").ExtractTablesWithRelations<TFullSchema> : TSchema>>(primary: Q, replicas: [Q, ...Q[]], getReplica?: (replicas: Q[]) => Q) => import("drizzle-orm/pg-core").PgWithReplicas<Q>;
|
|
23
23
|
readonly check: {
|
|
24
|
+
readonly enum: typeof z.enum;
|
|
24
25
|
readonly coerce: typeof z.coerce;
|
|
25
26
|
readonly parse: typeof parse;
|
|
26
27
|
readonly tryParse: typeof tryParse;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../src/schema/namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAA;AACzC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAA;AACzC,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAA;AAE1D,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"namespace.d.ts","sourceRoot":"","sources":["../../src/schema/namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAM1B,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAA;AACzC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAA;AACzC,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAA;AAE1D,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAC/C,YAAY,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAiBlD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYT,CAAA"}
|
package/dist/schema/namespace.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"namespace.js","sourceRoot":"","sources":["../../src/schema/namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,QAAQ,CAAA;AAC1B,OAAO,KAAK,gBAAgB,MAAM,iCAAiC,CAAA;AACnE,OAAO,KAAK,WAAW,MAAM,2BAA2B,CAAA;AACxD,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAA;AAChD,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAA;AACnD,OAAO,KAAK,MAAM,MAAM,sB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AA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC,8DAA8D;AAC9D,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAA;AACzC,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAA;AACzC,OAAO,KAAK,cAAc,MAAM,0BAA0B,CAAA;AAK1D,MAAM,KAAK,GAAG;IACZ,GAAG,gBAAgB;IACnB,GAAG,WAAW;IACd,GAAG,OAAO;IACV,GAAG,QAAQ;IACX,GAAG,MAAM;IACT,IAAI,EAAE,CAAC,CAAC,IAAI;IACZ,MAAM,EAAE,CAAC,CAAC,MAAM;IAEhB,KAAK;IACL,QAAQ;IACR,YAAY;IACZ,OAAO;CACC,CAAA;AAEV,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,2BAA2B;IAC3B,KAAK;IAEL,wBAAwB;IACxB,GAAG,cAAc;IAEjB,eAAe;IACf,GAAG;IAEH,4BAA4B;IAC5B,GAAG;CACK,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pipework",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "TypeScript framework for multi-tenant SaaS applications. PostgreSQL-only.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"packageManager": "pnpm@9.15.4",
|
|
7
6
|
"license": "MIT",
|
|
8
7
|
"publishConfig": {
|
|
9
8
|
"access": "public"
|
|
@@ -48,18 +47,6 @@
|
|
|
48
47
|
"bin": {
|
|
49
48
|
"pipework": "bin/pipework.js"
|
|
50
49
|
},
|
|
51
|
-
"scripts": {
|
|
52
|
-
"build": "tsc",
|
|
53
|
-
"type-check": "tsc --noEmit",
|
|
54
|
-
"lint": "eslint src --max-warnings 0",
|
|
55
|
-
"lint:boundaries": "node scripts/check-boundaries.js",
|
|
56
|
-
"test": "vitest run",
|
|
57
|
-
"test:isolation": "vitest run --config vitest.isolation.config.ts",
|
|
58
|
-
"test:property": "vitest run --config vitest.property.config.ts",
|
|
59
|
-
"test:stress": "vitest run --config vitest.stress.config.ts",
|
|
60
|
-
"test:all": "vitest run && vitest run --config vitest.isolation.config.ts && vitest run --config vitest.property.config.ts && vitest run --config vitest.stress.config.ts",
|
|
61
|
-
"mutate": "stryker run"
|
|
62
|
-
},
|
|
63
50
|
"pipework": {
|
|
64
51
|
"boundaries": {
|
|
65
52
|
"rules": {
|
|
@@ -138,5 +125,17 @@
|
|
|
138
125
|
"pino-pretty": "^13.1.3",
|
|
139
126
|
"typescript": "^6.0.3",
|
|
140
127
|
"vitest": "^4.1.5"
|
|
128
|
+
},
|
|
129
|
+
"scripts": {
|
|
130
|
+
"build": "tsc",
|
|
131
|
+
"type-check": "tsc --noEmit",
|
|
132
|
+
"lint": "eslint src --max-warnings 0",
|
|
133
|
+
"lint:boundaries": "node scripts/check-boundaries.js",
|
|
134
|
+
"test": "vitest run",
|
|
135
|
+
"test:isolation": "vitest run --config vitest.isolation.config.ts",
|
|
136
|
+
"test:property": "vitest run --config vitest.property.config.ts",
|
|
137
|
+
"test:stress": "vitest run --config vitest.stress.config.ts",
|
|
138
|
+
"test:all": "vitest run && vitest run --config vitest.isolation.config.ts && vitest run --config vitest.property.config.ts && vitest run --config vitest.stress.config.ts",
|
|
139
|
+
"mutate": "stryker run"
|
|
141
140
|
}
|
|
142
|
-
}
|
|
141
|
+
}
|