@nanokajs/core 3.0.0 → 3.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.
package/dist/config.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { F as Field, a as FieldModifiers } from './factories-D7estT7E.js';
2
- export { t } from './factories-D7estT7E.js';
1
+ import { Field, FieldModifiers } from './index.js';
2
+ export { t } from './factories-DkvOdHED.js';
3
3
  import 'drizzle-orm/sqlite-core';
4
4
  import 'zod';
5
5
 
@@ -19,4 +19,5 @@ interface NanokaConfig {
19
19
 
20
20
  declare function defineConfig(config: NanokaConfig): NanokaConfig;
21
21
 
22
- export { type NanokaConfig, defineConfig };
22
+ export { defineConfig };
23
+ export type { NanokaConfig };
@@ -513,4 +513,5 @@ declare const t: {
513
513
  }): RelationFieldBuilder<Target, FK, "belongsTo">;
514
514
  };
515
515
 
516
- export { type Field as F, type InferFieldType as I, type RelationDef as R, type FieldModifiers as a, type FieldPolicy as b, type IsRelationField as c, RelationFieldBuilder as d, type RelationKind as e, type RelationTargetLike as f, t };
516
+ export { RelationFieldBuilder as d, t };
517
+ export type { Field as F, InferFieldType as I, RelationDef as R, FieldModifiers as a, FieldPolicy as b, IsRelationField as c, RelationKind as e, RelationTargetLike as f };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { D1Database } from '@cloudflare/workers-types';
2
2
  import { A as Adapter } from './types-D2QDVyks.js';
3
- import { F as Field, I as InferFieldType, b as FieldPolicy, R as RelationDef } from './factories-D7estT7E.js';
4
- export { a as FieldModifiers, c as IsRelationField, d as RelationFieldBuilder, e as RelationKind, f as RelationTargetLike, t } from './factories-D7estT7E.js';
3
+ import { F as Field, I as InferFieldType, b as FieldPolicy, R as RelationDef } from './factories-DkvOdHED.js';
4
+ export { a as FieldModifiers, c as IsRelationField, d as RelationFieldBuilder, e as RelationKind, f as RelationTargetLike, t } from './factories-DkvOdHED.js';
5
5
  import { Hook } from '@hono/zod-validator';
6
6
  import { SQL } from 'drizzle-orm';
7
7
  import { SQLiteTableWithColumns, AnySQLiteColumn } from 'drizzle-orm/sqlite-core';
@@ -724,4 +724,5 @@ interface Nanoka<E extends Env$1 = BlankEnv> extends Hono<E> {
724
724
  */
725
725
  declare function nanoka<E extends Env$1 = BlankEnv>(adapter: Adapter): Nanoka<E>;
726
726
 
727
- export { Adapter, type CreateInput, Field, FieldPolicy, type FindAllOptions, type FindManyOptions, type FindOneOptions, type HttpMethod, type IdOrWhere, InferFieldType, type Model, type Nanoka, type NanokaModel, type OpenAPIDocument, type OpenAPIModelComponent, type OpenAPIParamSpec, type OpenAPIRequestBodySpec, type OpenAPIResponseSpec, type OpenAPIRouteMetadata, type OpenAPISchemaObject, type OpenAPISpecOptions, type OpenAPIUsage, type OrderBy, RelationDef, type RelationKeys, type RouteOpenAPIMetadata, type RouteOpenAPIOption, type RowType, type SchemaOptions, type Where, type WithOpenAPIOption, type WithOptions, type WithResult, d1Adapter, defineModel, nanoka, swaggerUI };
727
+ export { Adapter, Field, FieldPolicy, InferFieldType, RelationDef, d1Adapter, defineModel, nanoka, swaggerUI };
728
+ export type { CreateInput, FindAllOptions, FindManyOptions, FindOneOptions, HttpMethod, IdOrWhere, Model, Nanoka, NanokaModel, OpenAPIDocument, OpenAPIModelComponent, OpenAPIParamSpec, OpenAPIRequestBodySpec, OpenAPIResponseSpec, OpenAPIRouteMetadata, OpenAPISchemaObject, OpenAPISpecOptions, OpenAPIUsage, OrderBy, RelationKeys, RouteOpenAPIMetadata, RouteOpenAPIOption, RowType, SchemaOptions, Where, WithOpenAPIOption, WithOptions, WithResult };
package/dist/turso.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Client } from '@libsql/client';
2
- import { A as Adapter } from './types-D2QDVyks.js';
2
+ import { Adapter } from './index.js';
3
3
  import 'drizzle-orm/batch';
4
4
  import 'drizzle-orm/sqlite-core';
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanokajs/core",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "type": "module",
5
5
  "description": "Thin wrapper over Hono + Drizzle + Zod for Cloudflare Workers + D1. 80% automatic, 20% explicit.",
6
6
  "author": "Eiichiro Iriguchi <eiichiro_iriguchi@a-1ro.dev>",
@@ -84,7 +84,7 @@
84
84
  "@types/node": "^26.6.5",
85
85
  "drizzle-orm": "^0.45.2",
86
86
  "hono": "^4.13.12",
87
- "tsup": "^8.5.1",
87
+ "tsup": "^9.0.0",
88
88
  "typescript": "^5.9.3",
89
89
  "vite": "^8.1.4",
90
90
  "vitest": "^4.1.11",