@platformatic/service 3.0.1 → 3.0.2
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/index.d.ts +5 -5
- package/package.json +7 -7
- package/schema.json +2 -2
package/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ import { Configuration, ConfigurationOptions } from '@platformatic/foundation'
|
|
|
3
3
|
import { BaseGenerator } from '@platformatic/generators'
|
|
4
4
|
import { JSONSchemaType } from 'ajv'
|
|
5
5
|
import { FastifyInstance } from 'fastify'
|
|
6
|
-
import { PlatformaticServiceConfig } from './config'
|
|
6
|
+
import type { PlatformaticServiceConfig } from './config.d.ts'
|
|
7
7
|
|
|
8
|
-
export { PlatformaticServiceConfig } from './config'
|
|
8
|
+
export type { PlatformaticServiceConfig } from './config.d.ts'
|
|
9
9
|
|
|
10
10
|
export interface ServiceContext extends BaseContext {
|
|
11
11
|
applicationFactory?: typeof platformaticService
|
|
@@ -20,9 +20,9 @@ export type ServerInstance<Configuration = PlatformaticServiceConfig> = FastifyI
|
|
|
20
20
|
platformatic: PlatformaticApplication<Configuration>
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
export type ServiceConfiguration<T = {}> =
|
|
23
|
+
export type ServiceConfiguration<T = {}> = Configuration<PlatformaticServiceConfig & T>
|
|
24
24
|
|
|
25
|
-
export declare function transform (config: ServiceConfiguration): Promise<ServiceConfiguration>
|
|
25
|
+
export declare function transform (config: ServiceConfiguration): Promise<ServiceConfiguration>
|
|
26
26
|
|
|
27
27
|
export declare function loadConfiguration (
|
|
28
28
|
root: string | PlatformaticServiceConfig,
|
|
@@ -40,7 +40,7 @@ export declare const skipTelemetryHooks: boolean
|
|
|
40
40
|
|
|
41
41
|
export declare function platformaticService (app: FastifyInstance, capability: ServiceCapability): Promise<void>
|
|
42
42
|
|
|
43
|
-
export declare class Generator extends BaseGenerator
|
|
43
|
+
export declare class Generator extends BaseGenerator {}
|
|
44
44
|
export declare function applyTestHelperCustomizations (
|
|
45
45
|
helper: string,
|
|
46
46
|
mod: string,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
"rfdc": "^1.3.1",
|
|
68
68
|
"semgrator": "^0.3.0",
|
|
69
69
|
"undici": "^7.0.0",
|
|
70
|
-
"@platformatic/basic": "3.0.
|
|
71
|
-
"@platformatic/foundation": "3.0.
|
|
72
|
-
"@platformatic/generators": "3.0.
|
|
73
|
-
"@platformatic/
|
|
74
|
-
"@platformatic/
|
|
75
|
-
"@platformatic/
|
|
70
|
+
"@platformatic/basic": "3.0.2",
|
|
71
|
+
"@platformatic/foundation": "3.0.2",
|
|
72
|
+
"@platformatic/generators": "3.0.2",
|
|
73
|
+
"@platformatic/metrics": "3.0.2",
|
|
74
|
+
"@platformatic/telemetry": "3.0.2",
|
|
75
|
+
"@platformatic/scalar-theme": "3.0.2"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": ">=22.18.0"
|
package/schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/service/3.0.
|
|
3
|
-
"version": "3.0.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/service/3.0.2.json",
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"title": "Platformatic Service Config",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|