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 +8 -4
- package/mjs/types.d.ts +8 -4
- package/package.json +1 -1
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
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?:
|
|
365
|
+
package?: VovkPackageJson;
|
|
362
366
|
readme?: VovkReadmeConfig;
|
|
363
367
|
snippets?: VovkSnippetsConfig;
|
|
364
368
|
apiRoot?: string;
|