@lukoweb/apitogo 0.1.118 → 0.1.120
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/cli.js +1482 -1255
- package/dist/declarations/cli/platform/helpers/dev-portal-manifest.d.ts +1 -1
- package/dist/declarations/cli/platform/tools/dev-portal-bootstrap-shared.d.ts +10 -5
- package/dist/declarations/cli/platform/tools/dev-portal-publish.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type LandingManifestInput } from "./dev-portal-landing.js";
|
|
2
1
|
import { type GatewayLimits } from "../../../config/gateway-limits.js";
|
|
2
|
+
import { type LandingManifestInput } from "./dev-portal-landing.js";
|
|
3
3
|
export declare const APITOGO_CONFIG_FILENAME = "apitogo.config.json";
|
|
4
4
|
export declare const DEV_PORTAL_MANIFEST_FILENAME = "apitogo.local.json";
|
|
5
5
|
export declare const PLACEHOLDER_DEV_PORTAL_API_URL = "https://dp-example.azurecontainerapps.io";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type PlatformApiClient } from "../client/platform-api.js";
|
|
2
2
|
import { type ApitogoConfig } from "../config.js";
|
|
3
3
|
import type { ProgressReporter } from "../helpers/progress.js";
|
|
4
4
|
export interface StepRecord {
|
|
@@ -16,10 +16,15 @@ export declare function parseHandlerResult<T extends {
|
|
|
16
16
|
}>(json: string, step: string): T;
|
|
17
17
|
export declare function ensureModuleProvisioned(client: PlatformApiClient, config: ApitogoConfig, projectId: string, moduleType: string, wait: boolean, timeoutMs?: number, pollIntervalMs?: number, progress?: ProgressReporter): Promise<void>;
|
|
18
18
|
export declare function ensureModulesProvisioned(client: PlatformApiClient, config: ApitogoConfig, projectId: string, moduleTypes: string[], wait: boolean, timeoutMs?: number, pollIntervalMs?: number, progress?: ProgressReporter): Promise<void>;
|
|
19
|
+
export type ResolveProjectIdResult = {
|
|
20
|
+
blocked: false;
|
|
21
|
+
projectId: string;
|
|
22
|
+
completedSteps: StepRecord[];
|
|
23
|
+
} | {
|
|
24
|
+
blocked: true;
|
|
25
|
+
payload: Record<string, unknown>;
|
|
26
|
+
};
|
|
19
27
|
export declare function resolveProjectIdForPublish(client: PlatformApiClient, config: ApitogoConfig, args: {
|
|
20
28
|
projectId?: string;
|
|
21
29
|
projectName?: string;
|
|
22
|
-
}, wait: boolean, progress?: ProgressReporter, timeoutMs?: number, pollIntervalMs?: number): Promise<
|
|
23
|
-
projectId: string;
|
|
24
|
-
completedSteps: StepRecord[];
|
|
25
|
-
}>;
|
|
30
|
+
}, wait: boolean, progress?: ProgressReporter, timeoutMs?: number, pollIntervalMs?: number): Promise<ResolveProjectIdResult>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type PlatformApiClient } from "../client/platform-api.js";
|
|
2
2
|
import { type ApitogoConfig } from "../config.js";
|
|
3
3
|
import { type DevPortalLocalManifest } from "../helpers/dev-portal-manifest.js";
|
|
4
4
|
import { type DevPortalLocalSecrets } from "../helpers/dev-portal-secrets.js";
|
|
@@ -23,6 +23,7 @@ export interface PublishDevPortalArgs {
|
|
|
23
23
|
only?: ApplyResource[];
|
|
24
24
|
force?: boolean;
|
|
25
25
|
resumeFromStep?: PublishStepId;
|
|
26
|
+
createNewProject?: boolean;
|
|
26
27
|
}
|
|
27
28
|
export type ApplyFromSiteDirectoryArgs = PublishDevPortalArgs;
|
|
28
29
|
export declare function validateManifestForPublish(manifest: DevPortalLocalManifest, secrets: DevPortalLocalSecrets, emailOptions?: {
|