@platformatic/gateway 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 CHANGED
@@ -1,21 +1,21 @@
1
1
  import { BaseCapability } from '@platformatic/basic'
2
- import { BaseGenerator } from '@platformatic/generators'
2
+ import { ConfigurationOptions } from '@platformatic/foundation'
3
3
  import {
4
- ApplicationCapability,
5
- ServerInstance as ApplicationInstance,
6
4
  Configuration,
7
- ConfigurationOptions
5
+ ServiceCapability,
6
+ Generator as ServiceGenerator,
7
+ ServerInstance as ServiceServerInstance
8
8
  } from '@platformatic/service'
9
9
  import { JSONSchemaType } from 'ajv'
10
10
  import { FastifyError, FastifyInstance } from 'fastify'
11
- import { PlatformaticGatewayConfig } from './config'
11
+ import type { PlatformaticGatewayConfig } from './config.d.ts'
12
12
 
13
13
  export { PlatformaticService } from '@platformatic/service'
14
- export { PlatformaticGatewayConfig } from './config'
14
+ export type { PlatformaticGatewayConfig } from './config.d.ts'
15
15
 
16
- export type GatewayCapability = ApplicationCapability<PlatformaticGatewayConfig>
16
+ export type GatewayCapability = ServiceCapability<PlatformaticGatewayConfig>
17
17
 
18
- export type ServerInstance = ApplicationInstance<PlatformaticGatewayConfig>
18
+ export type ServerInstance = ServiceServerInstance<PlatformaticGatewayConfig>
19
19
 
20
20
  type GatewayConfiguration = Configuration<PlatformaticGatewayConfig>
21
21
 
@@ -33,7 +33,7 @@ export function create (
33
33
 
34
34
  export declare function platformaticGateway (app: FastifyInstance, capability: BaseCapability): Promise<void>
35
35
 
36
- export class Generator extends BaseGenerator.BaseGenerator {}
36
+ export class Generator extends ServiceGenerator {}
37
37
 
38
38
  export declare const packageJson: Record<string, unknown>
39
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/gateway",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "typescript": "^5.5.4",
33
33
  "why-is-node-running": "2",
34
34
  "ws": "^8.16.0",
35
- "@platformatic/db": "3.0.1"
35
+ "@platformatic/db": "3.0.2"
36
36
  },
37
37
  "dependencies": {
38
38
  "@fastify/error": "^4.0.0",
@@ -63,11 +63,11 @@
63
63
  "rfdc": "^1.3.1",
64
64
  "semgrator": "^0.3.0",
65
65
  "undici": "^7.0.0",
66
- "@platformatic/basic": "3.0.1",
67
- "@platformatic/foundation": "^3.0.1",
68
- "@platformatic/scalar-theme": "3.0.1",
69
- "@platformatic/telemetry": "3.0.1",
70
- "@platformatic/service": "3.0.1"
66
+ "@platformatic/basic": "3.0.2",
67
+ "@platformatic/scalar-theme": "3.0.2",
68
+ "@platformatic/foundation": "^3.0.2",
69
+ "@platformatic/service": "3.0.2",
70
+ "@platformatic/telemetry": "3.0.2"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=22.18.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.0.1.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/gateway/3.0.2.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Gateway Config",
5
5
  "type": "object",