@absolutejs/absolute 0.19.0-beta.1044 → 0.19.0-beta.1046
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/cli/index.js +68 -113
- package/dist/index.js +13169 -3281
- package/dist/index.js.map +7 -5
- package/dist/src/plugins/openApiPlugin.d.ts +11 -0
- package/dist/src/utils/loadConfig.d.ts +2 -0
- package/dist/types/build.d.ts +14 -0
- package/package.json +2 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { AnyElysia } from 'elysia';
|
|
2
|
+
import type { BuildConfig } from '../../types/build';
|
|
3
|
+
export declare const openApiEnabled: (config: BuildConfig, isDev: boolean) => boolean;
|
|
4
|
+
export declare const withOpenApi: (app: AnyElysia, config: BuildConfig, cwd: string, isDev: boolean) => Promise<AnyElysia | import("elysia").default<any, {
|
|
5
|
+
decorator: any;
|
|
6
|
+
store: {
|
|
7
|
+
[x: string]: any;
|
|
8
|
+
};
|
|
9
|
+
derive: any;
|
|
10
|
+
resolve: any;
|
|
11
|
+
}, any, any, any, any, any>>;
|
|
@@ -49,6 +49,8 @@ export declare const loadConfig: (configPath?: string) => Promise<{
|
|
|
49
49
|
static?: import("..").StaticConfig;
|
|
50
50
|
images?: import("..").ImageConfig;
|
|
51
51
|
sitemap?: import("..").SitemapConfig;
|
|
52
|
+
openapi?: boolean | import("..").OpenApiConfig;
|
|
53
|
+
telemetry?: boolean | import("..").OtelConfig;
|
|
52
54
|
entry?: string;
|
|
53
55
|
shutdown?: import("..").ServiceShutdownConfig;
|
|
54
56
|
}>;
|
package/dist/types/build.d.ts
CHANGED
|
@@ -204,6 +204,20 @@ export type BaseBuildConfig = {
|
|
|
204
204
|
static?: StaticConfig;
|
|
205
205
|
images?: ImageConfig;
|
|
206
206
|
sitemap?: SitemapConfig;
|
|
207
|
+
openapi?: boolean | OpenApiConfig;
|
|
208
|
+
telemetry?: boolean | OtelConfig;
|
|
209
|
+
};
|
|
210
|
+
export type OpenApiConfig = {
|
|
211
|
+
documentation?: {
|
|
212
|
+
description?: string;
|
|
213
|
+
title?: string;
|
|
214
|
+
version?: string;
|
|
215
|
+
};
|
|
216
|
+
path?: string;
|
|
217
|
+
provider?: 'scalar' | 'swagger';
|
|
218
|
+
};
|
|
219
|
+
export type OtelConfig = {
|
|
220
|
+
serviceName?: string;
|
|
207
221
|
};
|
|
208
222
|
export type AbsoluteServiceConfig = BaseBuildConfig & {
|
|
209
223
|
kind?: 'absolute';
|
package/package.json
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"absolute": "dist/cli/index.js"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
+
"@elysiajs/openapi": "^1.4.15",
|
|
7
8
|
"@elysiajs/static": "^1.4.0",
|
|
8
9
|
"zustand": "^5.0.12"
|
|
9
10
|
},
|
|
@@ -411,7 +412,7 @@
|
|
|
411
412
|
]
|
|
412
413
|
}
|
|
413
414
|
},
|
|
414
|
-
"version": "0.19.0-beta.
|
|
415
|
+
"version": "0.19.0-beta.1046",
|
|
415
416
|
"workspaces": [
|
|
416
417
|
"tests/fixtures/*",
|
|
417
418
|
"tests/fixtures/_packages/*"
|