@devkong/cli 0.0.67-alpha.24 → 0.0.67-alpha.26
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/index.js +899 -613
- package/package.json +1 -1
- package/packages/kong-cli/src/commands/connectCommand.d.ts +29 -0
- package/packages/kong-cli/src/commands/generateCommand.d.ts +1 -1
- package/packages/kong-cli/src/commands/listAliasesCommand.d.ts +1 -1
- package/packages/kong-cli/src/commands/listVersionsCommand.d.ts +1 -1
- package/packages/kong-cli/src/services/managementClient.d.ts +3 -1
- package/packages/kong-spec/src/index.d.ts +3 -3
- package/packages/kong-spec/src/lib/kongSpec.d.ts +2 -2
- package/packages/kong-spec/src/lib/kongSpecUtils.d.ts +2 -10
- package/packages/kong-ts/src/index.d.ts +5 -3
- package/packages/kong-ts/src/lib/connect.d.ts +31 -0
- package/packages/kong-ts/src/lib/id.d.ts +1 -0
- package/packages/kong-ts/src/lib/jq.d.ts +1 -0
- package/packages/kong-ts/src/lib/jsonSchema.d.ts +13 -0
- package/packages/kong-ts-contract/src/index.d.ts +3 -2
- package/packages/kong-ts-contract/src/lib/appAuditLog.d.ts +2 -1
- package/packages/kong-ts-contract/src/lib/appDependency.d.ts +9 -0
- package/packages/kong-ts-contract/src/lib/appExtension.d.ts +3 -0
- package/packages/kong-ts-contract/src/lib/appSecretType.d.ts +1 -1
package/package.json
CHANGED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Profile, ProfileName } from "../common/profile";
|
|
2
|
+
export declare class ConnectCommand {
|
|
3
|
+
private profileName;
|
|
4
|
+
private profile;
|
|
5
|
+
private readonly isWin;
|
|
6
|
+
private readonly registryClient;
|
|
7
|
+
private readonly managementClient;
|
|
8
|
+
constructor(profileName: ProfileName, profile: Profile);
|
|
9
|
+
execute(): Promise<void>;
|
|
10
|
+
private handle;
|
|
11
|
+
private profileInfo;
|
|
12
|
+
/** Runs only src/main_test.py in a fresh venv and returns the raw output. */
|
|
13
|
+
private runTests;
|
|
14
|
+
/**
|
|
15
|
+
* The client-side twin of the kong-build pipeline: docker build + push from
|
|
16
|
+
* this machine (requirements.txt applied), schema generated locally with
|
|
17
|
+
* `main.py --schema`, then the snapshot registered in kong-management.
|
|
18
|
+
*/
|
|
19
|
+
private deploy;
|
|
20
|
+
private snapshotFor;
|
|
21
|
+
/** Writes the bundle to a fresh temp folder, decoding binary entries. */
|
|
22
|
+
private materialize;
|
|
23
|
+
private prepareVenv;
|
|
24
|
+
private pythonBin;
|
|
25
|
+
private venvPython;
|
|
26
|
+
private run;
|
|
27
|
+
private readBody;
|
|
28
|
+
private json;
|
|
29
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AppExtension } from "@kong/contract";
|
|
2
|
-
export type ExtensionTemplate = "basic" | "
|
|
2
|
+
export type ExtensionTemplate = "basic" | "with-secret" | "with-s3";
|
|
3
3
|
export declare class GenerateCommand {
|
|
4
4
|
execute(extensionName: AppExtension["name"], sdk: "kotlin" | "python", presetVersion: string, template?: ExtensionTemplate): Promise<void>;
|
|
5
5
|
private promptTemplate;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppAuditLog, AppExtension, AppExtensionAlias, AppSnapshot, AppSnapshotDetails } from "@kong/contract";
|
|
1
|
+
import { AppAliasDetails, AppAuditLog, AppDocument, AppExtension, AppExtensionAlias, AppSnapshot, AppSnapshotDetails } from "@kong/contract";
|
|
2
2
|
import { Optional, UrlText } from "@kong/ts";
|
|
3
3
|
import { DeployObjectType } from "../common/deployment";
|
|
4
4
|
import { RequestConfigProvider } from "./api";
|
|
@@ -11,5 +11,7 @@ export declare class ManagementClient {
|
|
|
11
11
|
getExtensionSnapshot(extensionId: AppExtension["id"], extensionSnapshotVersion: AppSnapshot["version"]): Promise<Optional<AppSnapshotDetails>>;
|
|
12
12
|
getExtensionSnapshotVersions(extensionId: AppExtension["id"]): Promise<AppSnapshot[]>;
|
|
13
13
|
getExtensionSnapshotAliases(extensionId: AppExtension["id"]): Promise<AppExtensionAlias[]>;
|
|
14
|
+
getDocumentSnapshotVersions(documentId: AppDocument["id"]): Promise<AppSnapshot[]>;
|
|
15
|
+
getProcessAliases(documentId: AppDocument["id"]): Promise<AppAliasDetails[]>;
|
|
14
16
|
getAuditLog(objectType: DeployObjectType, objectId: string, createdAfter?: string): Promise<AppAuditLog[]>;
|
|
15
17
|
}
|
|
@@ -6,6 +6,8 @@ export { KongSpecBuild } from "./lib/kongSpecBuild";
|
|
|
6
6
|
export { KongSpecDoc } from "./lib/kongSpecDoc";
|
|
7
7
|
export { KongSpecEnv } from "./lib/kongSpecEnv";
|
|
8
8
|
export type { KongSpecFile } from "./lib/kongSpecFile";
|
|
9
|
+
export { getKongFunctionOperations, getKongFunctionOperationSchema, getKongSpecXUI, getKongSpecXUIComponentConfig, isKongFunctionContractSchema, } from "./lib/kongSpecFunctionContract";
|
|
10
|
+
export type { KongSpecXUIComponentConfig, KongSpecXUIConfig, KongSpecXUIFormConfig, KongSpecXUISecretConfig, } from "./lib/kongSpecFunctionContract";
|
|
9
11
|
export type { KongSpecLayout, KongSpecLayoutPosition, KongSpecLayoutPositionKey, } from "./lib/kongSpecLayout";
|
|
10
12
|
export { migrate } from "./lib/kongSpecMigrate";
|
|
11
13
|
export { nameGenerator } from "./lib/kongSpecName";
|
|
@@ -13,8 +15,6 @@ export { normalizeName } from "./lib/kongSpecNormalize";
|
|
|
13
15
|
export { KongSpecRef } from "./lib/kongSpecRef";
|
|
14
16
|
export type { KongSpecActionPath, KongSpecStatePath } from "./lib/kongSpecRef";
|
|
15
17
|
export { convertSpecToServerless } from "./lib/kongSpecToServerless";
|
|
16
|
-
export { findSourceState, getActions, getConnectedExitStates,
|
|
17
|
-
export { getKongFunctionOperations, getKongFunctionOperationSchema, getKongSpecXUI, getKongSpecXUIComponentConfig, isKongFunctionContractSchema, } from "./lib/kongSpecFunctionContract";
|
|
18
|
-
export type { KongSpecXUIComponentConfig, KongSpecXUIConfig, KongSpecXUIFormConfig, KongSpecXUISecretConfig, } from "./lib/kongSpecFunctionContract";
|
|
18
|
+
export { findSourceState, getActions, getConnectedExitStates, outputAggregator, outputAggregatorUnsafe, parallelStateOutputAggregator, parallelStateOutputAggregatorUnsafe, quoteSecretReferences, traverseFlowUp, } from "./lib/kongSpecUtils";
|
|
19
19
|
export { validate } from "./lib/kongSpecValidate";
|
|
20
20
|
export type { KongSpecValidationIssue, KongSpecValidators } from "./lib/kongSpecValidate";
|
|
@@ -10,8 +10,8 @@ export interface KongSpecProcessRef {
|
|
|
10
10
|
basedOn: KongSpecFlow["id"];
|
|
11
11
|
aliasName: Distinct<string, "KongSpecProcessRefAliasName">;
|
|
12
12
|
}
|
|
13
|
-
export type KongSpecSecretRef = Distinct<string, "KongSpecSecretRef">;
|
|
14
13
|
export type KongSpecSecretType = Distinct<string, "KongSpecSecretType">;
|
|
14
|
+
export type KongSpecSecretRef = Distinct<string, "KongSpecSecretRef">;
|
|
15
15
|
interface KongSpecStateBase {
|
|
16
16
|
id: Distinct<string, "KongSpecStateId">;
|
|
17
17
|
name: string;
|
|
@@ -46,7 +46,7 @@ export interface KongSpecCircuitBreaker {
|
|
|
46
46
|
}
|
|
47
47
|
export interface KongSpecHowToInvoke {
|
|
48
48
|
prefix: string;
|
|
49
|
-
secretRefs: Record<string,
|
|
49
|
+
secretRefs: Record<string, JqFilter | null>;
|
|
50
50
|
retry: KongSpecRetry;
|
|
51
51
|
cache: KongSpecCache;
|
|
52
52
|
circuitBreaker: KongSpecCircuitBreaker;
|
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import { JqFilter, JsonObject, JsonText, Optional
|
|
2
|
-
import { KongSpecAction, KongSpecFlow,
|
|
1
|
+
import { JqFilter, JsonObject, JsonText, Optional } from "@kong/ts";
|
|
2
|
+
import { KongSpecAction, KongSpecFlow, KongSpecState, KongSpecStateExit, KongSpecStateParallel, KongSpecSupportsTransition } from "./kongSpec";
|
|
3
3
|
import { KongSpecActionPath, KongSpecStatePath } from "./kongSpecRef";
|
|
4
4
|
interface TestItem {
|
|
5
5
|
id: KongSpecState["id"] | KongSpecAction["id"];
|
|
6
6
|
source: "initial" | "errors" | "transition" | "noMatchedRule" | "conditions" | "compensateBy" | "actions" | "branches";
|
|
7
7
|
}
|
|
8
|
-
interface Dependency {
|
|
9
|
-
type: "function" | "process";
|
|
10
|
-
tenant: SessionTenant;
|
|
11
|
-
basedOn: KongSpecFunctionRef["basedOn"] | KongSpecProcessRef["basedOn"];
|
|
12
|
-
aliasName: KongSpecFunctionRef["aliasName"] | KongSpecProcessRef["aliasName"];
|
|
13
|
-
usage: Array<KongSpecAction["name"] | KongSpecState["name"]>;
|
|
14
|
-
}
|
|
15
8
|
export declare function quoteSecretReferences(filter: JqFilter): JqFilter;
|
|
16
9
|
export declare function traverseFlowUp(id: KongSpecState["id"] | KongSpecAction["id"], states: KongSpecFlow["states"], test: (current: TestItem) => boolean): boolean;
|
|
17
10
|
export declare function getConnectedExitStates(states: KongSpecFlow["states"], stateRef: KongSpecState["id"]): KongSpecStateExit[];
|
|
@@ -22,5 +15,4 @@ export declare function findSourceState(states: KongSpecState[], targetRef: Kong
|
|
|
22
15
|
export declare function convertActionToState(action: KongSpecAction): KongSpecState & KongSpecSupportsTransition;
|
|
23
16
|
export declare function parallelStateOutputAggregatorUnsafe(jq: (sample: string, filter: JqFilter) => Promise<string>): (state: KongSpecStateParallel, flow: KongSpecFlow) => Promise<JsonObject>;
|
|
24
17
|
export declare function parallelStateOutputAggregator(jq: (sample: string, filter: JqFilter) => Promise<string>): (state: KongSpecStateParallel, flow: KongSpecFlow) => Promise<JsonObject>;
|
|
25
|
-
export declare function getDependencies(flow: KongSpecFlow): Dependency[];
|
|
26
18
|
export {};
|
|
@@ -4,6 +4,8 @@ export type { BusinessKey } from "./lib/businessKey";
|
|
|
4
4
|
export { CloudEvent } from "./lib/cloudEvent";
|
|
5
5
|
export { textToBackground, textToColor, textToMonoGradient } from "./lib/color";
|
|
6
6
|
export { deepEquals, prepareTextForComparison, sameText, shadowEquals } from "./lib/compare";
|
|
7
|
+
export { KONG_CONNECT_BASE_URL, KONG_CONNECT_PORT } from "./lib/connect";
|
|
8
|
+
export type { KongConnectDeployRequest, KongConnectDeployResult, KongConnectFile, KongConnectProfile, KongConnectTestRequest, KongConnectTestResult, } from "./lib/connect";
|
|
7
9
|
export { cronToText, isCron } from "./lib/cron";
|
|
8
10
|
export type { Cron } from "./lib/cron";
|
|
9
11
|
export { DataGuardType } from "./lib/dataGuard";
|
|
@@ -13,14 +15,14 @@ export type { Duration8601 } from "./lib/duration";
|
|
|
13
15
|
export type { Entity } from "./lib/entity";
|
|
14
16
|
export { AppError, DataError, errorToPrettyString } from "./lib/error";
|
|
15
17
|
export { ensureIsDuration, ensureIsDurationOrCron, ensureMinLength, nonNegative, nonRecursiveCall, notBlank, notNull, } from "./lib/guard";
|
|
16
|
-
export { guid, stableUUID, uuidc16, uuidc32, uuidStableSequence } from "./lib/id";
|
|
18
|
+
export { generateEmbeddedId, guid, stableUUID, uuidc16, uuidc32, uuidStableSequence, } from "./lib/id";
|
|
17
19
|
export type { CompactUUID16, CompactUUID32, GUID, ShortUUID } from "./lib/id";
|
|
18
20
|
export { intervalToString, millisToShortString } from "./lib/interval";
|
|
19
|
-
export { applyJqFilterReplacements, applyJqObjectReplacements, applyJqTextReplacements, convertToJqFilter, extractJqTextContent, jqFilter, JqObjectSerializer, jqText, sanitizeJqFilter, wrapWithJqTextMarkers, } from "./lib/jq";
|
|
21
|
+
export { applyJqFilterReplacements, applyJqObjectReplacements, applyJqTextReplacements, containsJqExpression, convertToJqFilter, extractJqTextContent, jqFilter, JqObjectSerializer, jqText, sanitizeJqFilter, wrapWithJqTextMarkers, } from "./lib/jq";
|
|
20
22
|
export type { JqArray, JqFilter, JqObject, JqSerializer, JqText, RefactorReplacement, } from "./lib/jq";
|
|
21
23
|
export { generateFakeJsonObject, jsonToHumanReadable, prettyJsonObject, prettyJsonText, safeJsonParse, } from "./lib/json";
|
|
22
24
|
export type { JsonArray, JsonObject, JsonSchemaUrl, JsonText } from "./lib/json";
|
|
23
|
-
export { buildExampleObject, buildJSONSchemaType, createEmptyJsonSchema, getNestedValue, getPropertyType, hasJSONSchemaType, isRequired, normalizeNullableUnions, updateNestedValue, } from "./lib/jsonSchema";
|
|
25
|
+
export { buildExampleObject, buildJSONSchemaType, createEmptyJsonSchema, getNestedValue, getPropertyType, hasJSONSchemaType, inferJsonSchema, isLikelyJsonSchema, isRequired, normalizeNullableUnions, updateNestedValue, } from "./lib/jsonSchema";
|
|
24
26
|
export { KeyGenerator } from "./lib/keyGenerator";
|
|
25
27
|
export { findLastIndex, insertItem, moveItem, unique } from "./lib/list";
|
|
26
28
|
export { deepMerge, deepMergeAll } from "./lib/merge";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export declare const KONG_CONNECT_PORT = 41321;
|
|
2
|
+
export declare const KONG_CONNECT_BASE_URL = "http://localhost:41321";
|
|
3
|
+
export interface KongConnectProfile {
|
|
4
|
+
profile: string;
|
|
5
|
+
baseUrl: string;
|
|
6
|
+
userName: string;
|
|
7
|
+
docker: boolean;
|
|
8
|
+
python: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface KongConnectFile {
|
|
11
|
+
name: string;
|
|
12
|
+
content: string;
|
|
13
|
+
binary?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface KongConnectTestRequest {
|
|
16
|
+
files: KongConnectFile[];
|
|
17
|
+
}
|
|
18
|
+
export interface KongConnectTestResult {
|
|
19
|
+
passed: boolean;
|
|
20
|
+
output: string;
|
|
21
|
+
}
|
|
22
|
+
export interface KongConnectDeployRequest {
|
|
23
|
+
extensionId: string;
|
|
24
|
+
extensionName: string;
|
|
25
|
+
files: KongConnectFile[];
|
|
26
|
+
notes?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface KongConnectDeployResult {
|
|
29
|
+
version: number;
|
|
30
|
+
output: string;
|
|
31
|
+
}
|
|
@@ -8,5 +8,6 @@ export declare function guid(): GUID;
|
|
|
8
8
|
export declare function uuidc32(): CompactUUID32;
|
|
9
9
|
export declare function uuidc16(): CompactUUID16;
|
|
10
10
|
export declare function uuidc8(): CompactUUID8;
|
|
11
|
+
export declare function generateEmbeddedId(): ShortUUID;
|
|
11
12
|
export declare function stableUUID<T extends string>(based: T): T;
|
|
12
13
|
export declare function uuidStableSequence<T extends string>(based: T): () => T;
|
|
@@ -11,6 +11,7 @@ export interface JqSerializer<T = JqObject | JqArray | JqText> {
|
|
|
11
11
|
}
|
|
12
12
|
export declare function jqFilter(value: Primitive): JqFilter;
|
|
13
13
|
export declare function jqText(value: string): JqText;
|
|
14
|
+
export declare function containsJqExpression(value: unknown): value is JqText;
|
|
14
15
|
export declare function sanitizeJqFilter(value: JqFilter): JqFilter;
|
|
15
16
|
export declare function convertToJqFilter(value: JqText): JqFilter;
|
|
16
17
|
export declare function applyJqFilterReplacements(value: JqFilter, replacements: RefactorReplacement[]): JqFilter;
|
|
@@ -19,4 +19,17 @@ export declare function getNestedValue(obj: any, path: string[]): any;
|
|
|
19
19
|
export declare function updateNestedValue(obj: any, path: string[], value: any): any;
|
|
20
20
|
export declare function buildJSONSchemaType(type: JSONSchema7["type"], nullable: boolean): JSONSchema7["type"];
|
|
21
21
|
export declare function buildExampleObject(schema: JSONSchema7): Optional<JsonObject>;
|
|
22
|
+
/**
|
|
23
|
+
* Heuristically decides whether a parsed JSON object is itself a JSON Schema rather than a plain
|
|
24
|
+
* data sample. A `properties` key alone is ambiguous (data can have one too), so it only counts
|
|
25
|
+
* when every property value is an object — i.e. could be a subschema.
|
|
26
|
+
*/
|
|
27
|
+
export declare function isLikelyJsonSchema(value: unknown): boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Derives a draft-07 schema from a plain JSON sample. Primitives keep the sampled value as
|
|
30
|
+
* `examples`, nulls become nullable strings (the sample carries no type information), array
|
|
31
|
+
* item schemas are inferred from the first element, and object properties with a non-null
|
|
32
|
+
* sampled value are marked required.
|
|
33
|
+
*/
|
|
34
|
+
export declare function inferJsonSchema(value: unknown): JSONSchema7;
|
|
22
35
|
export declare function createEmptyJsonSchema(): JSONSchema7;
|
|
@@ -8,12 +8,14 @@ export type { AppAuditLog } from "./lib/appAuditLog";
|
|
|
8
8
|
export type { AppBroadcastData } from "./lib/appBroadcastData";
|
|
9
9
|
export type { AppCheckpoint } from "./lib/appCheckpoint";
|
|
10
10
|
export type { AppComponentStartRequest } from "./lib/appComponentStartRequest";
|
|
11
|
+
export type { AppDependency } from "./lib/appDependency";
|
|
11
12
|
export type { AppDocument } from "./lib/appDocument";
|
|
12
13
|
export type { AppDocumentPublish } from "./lib/appDocumentPublish";
|
|
13
14
|
export type { AppDocumentSnapshot } from "./lib/appDocumentSnapshot";
|
|
14
15
|
export type { AppDocumentSnapshotDetails } from "./lib/appDocumentSnapshotDetails";
|
|
15
|
-
export type { AppExtension } from "./lib/appExtension";
|
|
16
|
+
export type { AppExtension, AppExtensionOrigin } from "./lib/appExtension";
|
|
16
17
|
export type { AppExtensionAlias } from "./lib/appExtensionAlias";
|
|
18
|
+
export type { AppLabelledRole, AppMember, AppMemberGroup, AppMemberPermission, AppMemberPrincipal, AppPrincipalType, } from "./lib/appMember";
|
|
17
19
|
export type { AppPresignedUrl } from "./lib/appPresignedUrl";
|
|
18
20
|
export type { AppProcessAlias } from "./lib/appProcessAlias";
|
|
19
21
|
export type { AppProcessData } from "./lib/appProcessData";
|
|
@@ -32,7 +34,6 @@ export type { AppTestCaseMatchFeature } from "./lib/appTestCaseMatchFeature";
|
|
|
32
34
|
export type { AppTestResult } from "./lib/appTestResult";
|
|
33
35
|
export type { AppTrigger } from "./lib/appTrigger";
|
|
34
36
|
export type { AppWorkspace } from "./lib/appWorkspace";
|
|
35
|
-
export type { AppLabelledRole, AppMember, AppMemberGroup, AppMemberPermission, AppMemberPrincipal, AppPrincipalType, } from "./lib/appMember";
|
|
36
37
|
export type { AppWorkspaceAccess } from "./lib/appWorkspaceAccess";
|
|
37
38
|
export type { SdkKongJson } from "./lib/sdkKongJson";
|
|
38
39
|
export type { SdkConcurrencyQuota, SdkQuotaName, SdkRateLimiterQuota } from "./lib/sdkQuota";
|
|
@@ -5,7 +5,8 @@ export declare enum AuditObjectType {
|
|
|
5
5
|
EXTENSION_ALIAS = "extension_alias",
|
|
6
6
|
EXTENSION_SNAPSHOT = "extension_snapshot",
|
|
7
7
|
DOCUMENT_SNAPSHOT = "document_snapshot",
|
|
8
|
-
EXTENSION = "extension"
|
|
8
|
+
EXTENSION = "extension",
|
|
9
|
+
SECRET = "secret"
|
|
9
10
|
}
|
|
10
11
|
export interface AppAuditLog {
|
|
11
12
|
objectType: AuditObjectType;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { KongSpecAction, KongSpecFunctionRef, KongSpecProcessRef, KongSpecSecretRef, KongSpecState } from "@kong/spec";
|
|
2
|
+
import { SessionTenant } from "@kong/ts";
|
|
3
|
+
export interface AppDependency {
|
|
4
|
+
type: "function" | "process" | "secret";
|
|
5
|
+
tenant: SessionTenant;
|
|
6
|
+
basedOn: KongSpecFunctionRef["basedOn"] | KongSpecProcessRef["basedOn"] | undefined;
|
|
7
|
+
name: KongSpecFunctionRef["aliasName"] | KongSpecProcessRef["aliasName"] | KongSpecSecretRef;
|
|
8
|
+
usage: Array<KongSpecAction["name"] | KongSpecState["name"]>;
|
|
9
|
+
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { Entity, Optional, ShortUUID, User, UtcDateTime } from "@kong/ts";
|
|
2
|
+
export type AppExtensionOrigin = "ui" | "cli";
|
|
2
3
|
export interface AppExtension extends Entity {
|
|
3
4
|
id: ShortUUID;
|
|
4
5
|
name: string;
|
|
5
6
|
category: Optional<string>;
|
|
6
7
|
deprecated: boolean;
|
|
8
|
+
origin: AppExtensionOrigin;
|
|
9
|
+
checkpoint: Optional<string>;
|
|
7
10
|
created: UtcDateTime;
|
|
8
11
|
updated: UtcDateTime;
|
|
9
12
|
createdBy: User["name"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { KongSpecSecretType } from "@kong/spec";
|
|
1
2
|
import { Entity, Optional, ShortUUID, User, UtcDateTime } from "@kong/ts";
|
|
2
3
|
import { JSONSchema7 } from "json-schema";
|
|
3
|
-
import { KongSpecSecretType } from "packages/kong-spec/src";
|
|
4
4
|
export interface AppSecretType extends Entity {
|
|
5
5
|
id: ShortUUID;
|
|
6
6
|
category: "api" | "database" | "storage" | "custom";
|