routesync 1.0.2 → 1.0.4
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/cli.js +774 -771
- package/dist/core.d.mts +15 -1
- package/dist/core.d.ts +15 -1
- package/package.json +1 -1
package/dist/core.d.mts
CHANGED
|
@@ -196,6 +196,7 @@ interface RouteManifest {
|
|
|
196
196
|
baseURL: string;
|
|
197
197
|
routes: ParsedRoute[];
|
|
198
198
|
channels?: ParsedChannel[];
|
|
199
|
+
models?: ParsedModel[];
|
|
199
200
|
generatedAt: string;
|
|
200
201
|
}
|
|
201
202
|
interface ParsedChannel {
|
|
@@ -213,5 +214,18 @@ interface ParsedRoute {
|
|
|
213
214
|
group?: string;
|
|
214
215
|
action?: string;
|
|
215
216
|
}
|
|
217
|
+
interface ParsedColumn {
|
|
218
|
+
name: string;
|
|
219
|
+
type: string;
|
|
220
|
+
nullable: boolean;
|
|
221
|
+
}
|
|
222
|
+
interface ParsedModel {
|
|
223
|
+
name: string;
|
|
224
|
+
table: string;
|
|
225
|
+
columns: ParsedColumn[];
|
|
226
|
+
hidden?: string[];
|
|
227
|
+
appends?: string[];
|
|
228
|
+
casts?: Record<string, string>;
|
|
229
|
+
}
|
|
216
230
|
|
|
217
|
-
export { type ApiDefinition, ApiError, type ApiResponse, type AuthConfig, AuthMiddleware, ErrorHandler, HttpClient, type HttpMethod, Interceptor, type PaginationMeta, type ParsedChannel, type ParsedRoute, PathResolver, QueryBuilder, Request, type RequestOptions, Response, type RetryConfig, type RouteDefinition, type RouteManifest, type RouteMapper, type RouteParserSchema, type RouteSchema, type RouteSchemaMap, type RouteSchemaValue, type RouteTransform, type RouteTransformMap, type ServiceConfig, TokenManager };
|
|
231
|
+
export { type ApiDefinition, ApiError, type ApiResponse, type AuthConfig, AuthMiddleware, ErrorHandler, HttpClient, type HttpMethod, Interceptor, type PaginationMeta, type ParsedChannel, type ParsedColumn, type ParsedModel, type ParsedRoute, PathResolver, QueryBuilder, Request, type RequestOptions, Response, type RetryConfig, type RouteDefinition, type RouteManifest, type RouteMapper, type RouteParserSchema, type RouteSchema, type RouteSchemaMap, type RouteSchemaValue, type RouteTransform, type RouteTransformMap, type ServiceConfig, TokenManager };
|
package/dist/core.d.ts
CHANGED
|
@@ -196,6 +196,7 @@ interface RouteManifest {
|
|
|
196
196
|
baseURL: string;
|
|
197
197
|
routes: ParsedRoute[];
|
|
198
198
|
channels?: ParsedChannel[];
|
|
199
|
+
models?: ParsedModel[];
|
|
199
200
|
generatedAt: string;
|
|
200
201
|
}
|
|
201
202
|
interface ParsedChannel {
|
|
@@ -213,5 +214,18 @@ interface ParsedRoute {
|
|
|
213
214
|
group?: string;
|
|
214
215
|
action?: string;
|
|
215
216
|
}
|
|
217
|
+
interface ParsedColumn {
|
|
218
|
+
name: string;
|
|
219
|
+
type: string;
|
|
220
|
+
nullable: boolean;
|
|
221
|
+
}
|
|
222
|
+
interface ParsedModel {
|
|
223
|
+
name: string;
|
|
224
|
+
table: string;
|
|
225
|
+
columns: ParsedColumn[];
|
|
226
|
+
hidden?: string[];
|
|
227
|
+
appends?: string[];
|
|
228
|
+
casts?: Record<string, string>;
|
|
229
|
+
}
|
|
216
230
|
|
|
217
|
-
export { type ApiDefinition, ApiError, type ApiResponse, type AuthConfig, AuthMiddleware, ErrorHandler, HttpClient, type HttpMethod, Interceptor, type PaginationMeta, type ParsedChannel, type ParsedRoute, PathResolver, QueryBuilder, Request, type RequestOptions, Response, type RetryConfig, type RouteDefinition, type RouteManifest, type RouteMapper, type RouteParserSchema, type RouteSchema, type RouteSchemaMap, type RouteSchemaValue, type RouteTransform, type RouteTransformMap, type ServiceConfig, TokenManager };
|
|
231
|
+
export { type ApiDefinition, ApiError, type ApiResponse, type AuthConfig, AuthMiddleware, ErrorHandler, HttpClient, type HttpMethod, Interceptor, type PaginationMeta, type ParsedChannel, type ParsedColumn, type ParsedModel, type ParsedRoute, PathResolver, QueryBuilder, Request, type RequestOptions, Response, type RetryConfig, type RouteDefinition, type RouteManifest, type RouteMapper, type RouteParserSchema, type RouteSchema, type RouteSchemaMap, type RouteSchemaValue, type RouteTransform, type RouteTransformMap, type ServiceConfig, TokenManager };
|