@luvio/generator-ts
Advanced tools
Comparing version 5.21.1-alpha.0 to 5.23.0
@@ -1,2 +0,2 @@ | ||
import { API, AuraController, AuraEndPoint, AuraOperation, BaseTypeRegistry, ConfigSchemaType, CacheStrategy, EndPoint, HttpMethod, ObjectType, Operation, Parameter, Payload, Property, QueryParameter, ReadOnlyTypeRegistry, Request, Response, ScalarType, Server, StatusCode, Type, TypeOfParameter, NilType } from '@luvio/model/v1'; | ||
import { API, AuraController, AuraEndPoint, AuraOperation, BaseTypeRegistry, ConfigSchemaType, CacheStrategy, EndPoint, HttpMethod, ObjectType, Operation, Parameter, Payload, Property, QueryParameter, ReadOnlyTypeRegistry, Request, Response, ScalarType, Server, StatusCode, Type, TypeOfParameter, NilType, ErrorStrategy } from '@luvio/model/v1'; | ||
import { NamedLoggerService } from '@luvio/utils'; | ||
@@ -92,2 +92,3 @@ import { NamedAPIService } from '@luvio/model/v1'; | ||
cacheStrategy?: CacheStrategy; | ||
errorStrategy?: ErrorStrategy; | ||
}; | ||
@@ -94,0 +95,0 @@ export type RequestConfig = { |
@@ -40,2 +40,3 @@ import { CommandGenerator } from './command-generator'; | ||
generateAuraEndpoint(endpoint: AuraEndPoint, operation: AuraOperation): Code; | ||
generateCoerceError(operation: AuraOperation): Code | undefined; | ||
} |
import { Code } from '../files'; | ||
import { CommandGenerator } from './command-generator'; | ||
import type { ImportableReference } from '../files'; | ||
import type { EndPoint, Operation, Request, Server, Type } from '@luvio/model/v1'; | ||
import type { EndPoint, HttpOperation, Operation, Request, Server, Type } from '@luvio/model/v1'; | ||
export declare class HttpCommandGenerator extends CommandGenerator { | ||
@@ -56,2 +56,3 @@ getInputPayloadParameterName(_config: { | ||
}): Code; | ||
generateCoerceError(operation: HttpOperation): Code | undefined; | ||
generateClassBody(config: { | ||
@@ -58,0 +59,0 @@ endpoint: EndPoint; |
@@ -1,2 +0,2 @@ | ||
import { API, AuraController, AuraEndPoint, AuraOperation, BaseTypeRegistry, ConfigSchemaType, CacheStrategy, EndPoint, HttpMethod, ObjectType, Operation, Parameter, Payload, Property, QueryParameter, ReadOnlyTypeRegistry, Request, Response, ScalarType, Server, StatusCode, Type, TypeOfParameter, NilType } from '@luvio/model/v1'; | ||
import { API, AuraController, AuraEndPoint, AuraOperation, BaseTypeRegistry, ConfigSchemaType, CacheStrategy, EndPoint, HttpMethod, ObjectType, Operation, Parameter, Payload, Property, QueryParameter, ReadOnlyTypeRegistry, Request, Response, ScalarType, Server, StatusCode, Type, TypeOfParameter, NilType, ErrorStrategy } from '@luvio/model/v1'; | ||
import { NamedLoggerService } from '@luvio/utils'; | ||
@@ -92,2 +92,3 @@ import { NamedAPIService } from '@luvio/model/v1'; | ||
cacheStrategy?: CacheStrategy; | ||
errorStrategy?: ErrorStrategy; | ||
}; | ||
@@ -94,0 +95,0 @@ export type RequestConfig = { |
@@ -40,2 +40,3 @@ import { CommandGenerator } from './command-generator'; | ||
generateAuraEndpoint(endpoint: AuraEndPoint, operation: AuraOperation): Code; | ||
generateCoerceError(operation: AuraOperation): Code | undefined; | ||
} |
import { Code } from '../files'; | ||
import { CommandGenerator } from './command-generator'; | ||
import type { ImportableReference } from '../files'; | ||
import type { EndPoint, Operation, Request, Server, Type } from '@luvio/model/v1'; | ||
import type { EndPoint, HttpOperation, Operation, Request, Server, Type } from '@luvio/model/v1'; | ||
export declare class HttpCommandGenerator extends CommandGenerator { | ||
@@ -56,2 +56,3 @@ getInputPayloadParameterName(_config: { | ||
}): Code; | ||
generateCoerceError(operation: HttpOperation): Code | undefined; | ||
generateClassBody(config: { | ||
@@ -58,0 +59,0 @@ endpoint: EndPoint; |
{ | ||
"name": "@luvio/generator-ts", | ||
"version": "5.21.1-alpha.0", | ||
"version": "5.23.0", | ||
"description": "Luvio TypeScript code generation", | ||
@@ -32,8 +32,8 @@ "repository": { | ||
"dependencies": { | ||
"@luvio/jsonschema-validate": "5.21.1-alpha.0", | ||
"@luvio/model": "5.21.1-alpha.0", | ||
"@luvio/service-aura-network": "5.21.1-alpha.0", | ||
"@luvio/service-fetch-network": "5.21.1-alpha.0", | ||
"@luvio/service-provisioner": "5.21.1-alpha.0", | ||
"@luvio/utils": "5.21.1-alpha.0", | ||
"@luvio/jsonschema-validate": "5.23.0", | ||
"@luvio/model": "5.23.0", | ||
"@luvio/service-aura-network": "5.23.0", | ||
"@luvio/service-fetch-network": "5.23.0", | ||
"@luvio/service-provisioner": "5.23.0", | ||
"@luvio/utils": "5.23.0", | ||
"prettier": "^2.7.1" | ||
@@ -40,0 +40,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
362811
3526
1
+ Added@luvio/jsonschema-validate@5.23.0(transitive)
+ Added@luvio/jwt-manager@5.23.0(transitive)
+ Added@luvio/model@5.23.0(transitive)
+ Added@luvio/service-aura-network@5.23.0(transitive)
+ Added@luvio/service-fetch-network@5.23.0(transitive)
+ Added@luvio/service-provisioner@5.23.0(transitive)
+ Added@luvio/utils@5.23.0(transitive)
- Removed@luvio/jsonschema-validate@5.21.1-alpha.0(transitive)
- Removed@luvio/jwt-manager@5.21.1-alpha.0(transitive)
- Removed@luvio/model@5.21.1-alpha.0(transitive)
- Removed@luvio/service-aura-network@5.21.1-alpha.0(transitive)
- Removed@luvio/service-fetch-network@5.21.1-alpha.0(transitive)
- Removed@luvio/service-provisioner@5.21.1-alpha.0(transitive)
- Removed@luvio/utils@5.21.1-alpha.0(transitive)
Updated@luvio/model@5.23.0
Updated@luvio/utils@5.23.0