Relocate client

Signed-off-by: solimant <solimant@users.noreply.github.com>
This commit is contained in:
solimant
2025-01-06 04:53:17 +00:00
parent 3c03a0a4bd
commit e8e0f8e276
53 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -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',
},
+3 -3
View File
@@ -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.
+1 -1
View File
@@ -23,7 +23,7 @@ import type {
import type {
TaskEventType,
TaskStatus as ScaffolderTaskStatus,
} from '../client/src/schema/openapi';
} from './schema/openapi';
export type { ScaffolderTaskStatus, TaskEventType };