Relocate client
Signed-off-by: solimant <solimant@users.noreply.github.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, {
|
||||
overrides: [
|
||||
{
|
||||
files: ['client/src/schema/openapi/generated/models/*.model.ts'],
|
||||
files: ['src/schema/openapi/generated/models/*.model.ts'],
|
||||
rules: {
|
||||
'@typescript-eslint/no-redeclare': 'off',
|
||||
},
|
||||
|
||||
@@ -67,15 +67,15 @@
|
||||
"@backstage/types": "workspace:^",
|
||||
"@microsoft/fetch-event-source": "^2.0.1",
|
||||
"@types/json-schema": "^7.0.9",
|
||||
"cross-fetch": "^4.0.0",
|
||||
"json-schema": "^0.4.0",
|
||||
"qs": "^6.9.4",
|
||||
"uri-template": "^2.0.0",
|
||||
"zen-observable": "^0.10.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "workspace:^",
|
||||
"@backstage/test-utils": "workspace:^",
|
||||
"cross-fetch": "^4.0.0",
|
||||
"msw": "^1.0.0",
|
||||
"uri-template": "^2.0.0"
|
||||
"msw": "^1.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -40,11 +40,7 @@ import {
|
||||
ScaffolderStreamLogsOptions,
|
||||
ScaffolderTask,
|
||||
} from './api';
|
||||
import {
|
||||
DefaultApiClient,
|
||||
TaskStatus,
|
||||
TypedResponse,
|
||||
} from '../client/src/schema/openapi';
|
||||
import { DefaultApiClient, TaskStatus, TypedResponse } from './schema/openapi';
|
||||
|
||||
/**
|
||||
* An API to interact with the scaffolder backend.
|
||||
|
||||
@@ -23,7 +23,7 @@ import type {
|
||||
import type {
|
||||
TaskEventType,
|
||||
TaskStatus as ScaffolderTaskStatus,
|
||||
} from '../client/src/schema/openapi';
|
||||
} from './schema/openapi';
|
||||
|
||||
export type { ScaffolderTaskStatus, TaskEventType };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user