rename to just types

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2021-10-21 15:05:07 +02:00
parent db58c2e879
commit 447c514899
25 changed files with 37 additions and 37 deletions
+4 -4
View File
@@ -3,10 +3,10 @@
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import type { JsonArray as JsonArray_2 } from '@backstage/core-types';
import { JsonObject as JsonObject_2 } from '@backstage/core-types';
import type { JsonPrimitive as JsonPrimitive_2 } from '@backstage/core-types';
import { JsonValue as JsonValue_2 } from '@backstage/core-types';
import type { JsonArray as JsonArray_2 } from '@backstage/types';
import { JsonObject as JsonObject_2 } from '@backstage/types';
import type { JsonPrimitive as JsonPrimitive_2 } from '@backstage/types';
import { JsonValue as JsonValue_2 } from '@backstage/types';
// @public
export type AppConfig = {
+1 -1
View File
@@ -30,7 +30,7 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/core-types": "^0.1.0",
"@backstage/types": "^0.1.0",
"lodash": "^4.17.21"
},
"devDependencies": {
+6 -6
View File
@@ -14,19 +14,19 @@
* limitations under the License.
*/
// Temporarily re-export the JSON types from @backstage/core-types
// Temporarily re-export the JSON types from @backstage/types
import type {
JsonArray as CoreJsonArray,
JsonObject as CoreJsonObject,
JsonPrimitive as CoreJsonPrimitive,
JsonValue as CoreJsonValue,
} from '@backstage/core-types';
} from '@backstage/types';
/**
* A type representing all allowed JSON primitive values.
*
* @public
* @deprecated Please use the same type from `@backstage/core-types` instead
* @deprecated Please use the same type from `@backstage/types` instead
*/
export type JsonPrimitive = CoreJsonPrimitive;
@@ -34,7 +34,7 @@ export type JsonPrimitive = CoreJsonPrimitive;
* A type representing all allowed JSON object values.
*
* @public
* @deprecated Please use the same type from `@backstage/core-types` instead
* @deprecated Please use the same type from `@backstage/types` instead
*/
export type JsonObject = CoreJsonObject;
@@ -42,7 +42,7 @@ export type JsonObject = CoreJsonObject;
* A type representing all allowed JSON array values.
*
* @public
* @deprecated Please use the same type from `@backstage/core-types` instead
* @deprecated Please use the same type from `@backstage/types` instead
*/
export type JsonArray = CoreJsonArray;
@@ -50,6 +50,6 @@ export type JsonArray = CoreJsonArray;
* A type representing all allowed JSON values.
*
* @public
* @deprecated Please use the same type from `@backstage/core-types` instead
* @deprecated Please use the same type from `@backstage/types` instead
*/
export type JsonValue = CoreJsonValue;
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { JsonValue, JsonObject } from '@backstage/core-types';
import { JsonValue, JsonObject } from '@backstage/types';
import { AppConfig, Config } from './types';
import cloneDeep from 'lodash/cloneDeep';
import mergeWith from 'lodash/mergeWith';
+1 -1
View File
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import { JsonObject, JsonValue } from '@backstage/core-types';
import { JsonObject, JsonValue } from '@backstage/types';
/**
* A serialized form of configuration data that carries additional context.