vovk 3.0.0-draft.402 → 3.0.0-draft.404

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/cjs/types.d.ts CHANGED
@@ -5,6 +5,10 @@ import type { VovkStreamAsyncIterable } from './client/types';
5
5
  import type { PackageJson } from 'type-fest';
6
6
  export type KnownAny = any;
7
7
  export type StaticClass = Function;
8
+ type VovkPackageJson = PackageJson & {
9
+ rs_name?: string;
10
+ py_name?: string;
11
+ };
8
12
  export type VovkHandlerSchema = {
9
13
  path: string;
10
14
  httpMethod: string;
@@ -38,13 +42,13 @@ export type VovkSegmentSchema = {
38
42
  };
39
43
  meta?: {
40
44
  openAPIObject?: Partial<Omit<OpenAPIObject, 'paths'>>;
41
- package?: PackageJson;
45
+ package?: VovkPackageJson;
42
46
  };
43
47
  };
44
48
  export type VovkMetaSchema = {
45
49
  $schema: typeof VovkSchemaIdEnum.META | (string & {});
46
50
  config: RequireFields<Partial<VovkStrictConfig>, '$schema'>;
47
- package?: PackageJson;
51
+ package?: VovkPackageJson;
48
52
  openAPIObject?: Partial<OpenAPIObject>;
49
53
  };
50
54
  export type VovkSchema = {
@@ -329,7 +333,7 @@ type BundleConfig = {
329
333
  });
330
334
  export interface VovkGeneratorConfigCommon {
331
335
  origin?: string | null;
332
- package?: PackageJson;
336
+ package?: VovkPackageJson;
333
337
  readme?: VovkReadmeConfig;
334
338
  snippets?: VovkSnippetsConfig;
335
339
  openAPIObject?: Partial<OpenAPIObject>;
@@ -358,7 +362,7 @@ export interface VovkOpenAPIMixin {
358
362
  } | {
359
363
  object: OpenAPIObject;
360
364
  };
361
- package?: PackageJson;
365
+ package?: VovkPackageJson;
362
366
  readme?: VovkReadmeConfig;
363
367
  snippets?: VovkSnippetsConfig;
364
368
  apiRoot?: string;
package/mjs/types.d.ts CHANGED
@@ -5,6 +5,10 @@ import type { VovkStreamAsyncIterable } from './client/types';
5
5
  import type { PackageJson } from 'type-fest';
6
6
  export type KnownAny = any;
7
7
  export type StaticClass = Function;
8
+ type VovkPackageJson = PackageJson & {
9
+ rs_name?: string;
10
+ py_name?: string;
11
+ };
8
12
  export type VovkHandlerSchema = {
9
13
  path: string;
10
14
  httpMethod: string;
@@ -38,13 +42,13 @@ export type VovkSegmentSchema = {
38
42
  };
39
43
  meta?: {
40
44
  openAPIObject?: Partial<Omit<OpenAPIObject, 'paths'>>;
41
- package?: PackageJson;
45
+ package?: VovkPackageJson;
42
46
  };
43
47
  };
44
48
  export type VovkMetaSchema = {
45
49
  $schema: typeof VovkSchemaIdEnum.META | (string & {});
46
50
  config: RequireFields<Partial<VovkStrictConfig>, '$schema'>;
47
- package?: PackageJson;
51
+ package?: VovkPackageJson;
48
52
  openAPIObject?: Partial<OpenAPIObject>;
49
53
  };
50
54
  export type VovkSchema = {
@@ -329,7 +333,7 @@ type BundleConfig = {
329
333
  });
330
334
  export interface VovkGeneratorConfigCommon {
331
335
  origin?: string | null;
332
- package?: PackageJson;
336
+ package?: VovkPackageJson;
333
337
  readme?: VovkReadmeConfig;
334
338
  snippets?: VovkSnippetsConfig;
335
339
  openAPIObject?: Partial<OpenAPIObject>;
@@ -358,7 +362,7 @@ export interface VovkOpenAPIMixin {
358
362
  } | {
359
363
  object: OpenAPIObject;
360
364
  };
361
- package?: PackageJson;
365
+ package?: VovkPackageJson;
362
366
  readme?: VovkReadmeConfig;
363
367
  snippets?: VovkSnippetsConfig;
364
368
  apiRoot?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vovk",
3
- "version": "3.0.0-draft.402",
3
+ "version": "3.0.0-draft.404",
4
4
  "main": "./cjs/index.js",
5
5
  "module": "./mjs/index.js",
6
6
  "types": "./mjs/index.d.ts",