@prisma-next/extension-arktype-json 0.5.0-dev.87 → 0.5.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.
- package/dist/control.mjs.map +1 -1
- package/package.json +8 -8
- package/src/exports/control.ts +2 -2
package/dist/control.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"control.mjs","names":[],"sources":["../src/exports/control.ts"],"sourcesContent":["/**\n * Control-plane extension descriptor for arktype-json.\n *\n * Composes pack metadata and the control-plane hooks into the migration-\n * plane shape the framework's control stack consumes. Lives at the\n * control-plane entrypoint so `src/core/**` stays free of migration-plane\n * imports (per `.cursor/rules/multi-plane-entrypoints.mdc`).\n *\n * Unlike pgvector, arktype-json has no database extension to install\n * (`jsonb` is a built-in Postgres type), no
|
|
1
|
+
{"version":3,"file":"control.mjs","names":[],"sources":["../src/exports/control.ts"],"sourcesContent":["/**\n * Control-plane extension descriptor for arktype-json.\n *\n * Composes pack metadata and the control-plane hooks into the migration-\n * plane shape the framework's control stack consumes. Lives at the\n * control-plane entrypoint so `src/core/**` stays free of migration-plane\n * imports (per `.cursor/rules/multi-plane-entrypoints.mdc`).\n *\n * Unlike pgvector, arktype-json has no database extension to install\n * (`jsonb` is a built-in Postgres type), no contract space, no query\n * operations, and the only control-plane hook is the identity\n * `expandNativeType` (jsonb is dimension-free; the schema in typeParams\n * affects runtime validation only, never DDL).\n */\n\nimport type {\n CodecControlHooks,\n SqlControlExtensionDescriptor,\n} from '@prisma-next/family-sql/control';\nimport { ARKTYPE_JSON_CODEC_ID } from '../core/arktype-json-codec';\nimport { arktypeJsonPackMeta } from '../core/pack-meta';\n\nconst arktypeJsonControlPlaneHooks: CodecControlHooks = {\n expandNativeType: ({ nativeType }) => nativeType,\n};\n\nexport const arktypeJsonExtensionDescriptor: SqlControlExtensionDescriptor<'postgres'> = {\n ...arktypeJsonPackMeta,\n types: {\n ...arktypeJsonPackMeta.types,\n codecTypes: {\n ...arktypeJsonPackMeta.types.codecTypes,\n controlPlaneHooks: {\n [ARKTYPE_JSON_CODEC_ID]: arktypeJsonControlPlaneHooks,\n },\n },\n },\n create: () => ({\n familyId: 'sql' as const,\n targetId: 'postgres' as const,\n }),\n};\n\nexport default arktypeJsonExtensionDescriptor;\n"],"mappings":";;;AAsBA,MAAM,+BAAkD,EACtD,mBAAmB,EAAE,iBAAiB,YACvC;AAED,MAAa,iCAA4E;CACvF,GAAG;CACH,OAAO;EACL,GAAG,oBAAoB;EACvB,YAAY;GACV,GAAG,oBAAoB,MAAM;GAC7B,mBAAmB,GAChB,wBAAwB,8BAC1B;GACF;EACF;CACD,eAAe;EACb,UAAU;EACV,UAAU;EACX;CACF"}
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma-next/extension-arktype-json",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@standard-schema/spec": "^1.1.0",
|
|
9
9
|
"arktype": "^2.1.29",
|
|
10
|
-
"@prisma-next/contract": "0.5.
|
|
11
|
-
"@prisma-next/
|
|
12
|
-
"@prisma-next/framework-components": "0.5.
|
|
13
|
-
"@prisma-next/sql-relational-core": "0.5.
|
|
14
|
-
"@prisma-next/sql-runtime": "0.5.
|
|
15
|
-
"@prisma-next/
|
|
10
|
+
"@prisma-next/contract": "0.5.1",
|
|
11
|
+
"@prisma-next/family-sql": "0.5.1",
|
|
12
|
+
"@prisma-next/framework-components": "0.5.1",
|
|
13
|
+
"@prisma-next/sql-relational-core": "0.5.1",
|
|
14
|
+
"@prisma-next/sql-runtime": "0.5.1",
|
|
15
|
+
"@prisma-next/contract-authoring": "0.5.1"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"tsdown": "0.22.0",
|
|
19
19
|
"typescript": "5.9.3",
|
|
20
20
|
"vitest": "4.1.5",
|
|
21
|
-
"@prisma-next/sql-contract": "0.5.
|
|
21
|
+
"@prisma-next/sql-contract": "0.5.1",
|
|
22
22
|
"@prisma-next/test-utils": "0.0.1",
|
|
23
23
|
"@prisma-next/tsconfig": "0.0.0",
|
|
24
24
|
"@prisma-next/tsdown": "0.0.0"
|
package/src/exports/control.ts
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* imports (per `.cursor/rules/multi-plane-entrypoints.mdc`).
|
|
8
8
|
*
|
|
9
9
|
* Unlike pgvector, arktype-json has no database extension to install
|
|
10
|
-
* (`jsonb` is a built-in Postgres type), no
|
|
11
|
-
*
|
|
10
|
+
* (`jsonb` is a built-in Postgres type), no contract space, no query
|
|
11
|
+
* operations, and the only control-plane hook is the identity
|
|
12
12
|
* `expandNativeType` (jsonb is dimension-free; the schema in typeParams
|
|
13
13
|
* affects runtime validation only, never DDL).
|
|
14
14
|
*/
|