@lukoweb/apitogo 0.2.1 → 0.2.2
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 +6426 -6138
- package/dist/declarations/cli/platform/client/platform-api.d.ts +15 -0
- package/package.json +1 -1
- package/src/config/v2/rules.ts +1 -1
|
@@ -318,6 +318,18 @@ export interface PageFileDto {
|
|
|
318
318
|
isFile: boolean;
|
|
319
319
|
order: number;
|
|
320
320
|
}
|
|
321
|
+
export interface ProjectSecretDto {
|
|
322
|
+
name: string;
|
|
323
|
+
updatedAtUtc: string;
|
|
324
|
+
}
|
|
325
|
+
export interface ProjectSecretListResponse {
|
|
326
|
+
secrets: ProjectSecretDto[];
|
|
327
|
+
}
|
|
328
|
+
export interface SetProjectSecretResponse {
|
|
329
|
+
name: string;
|
|
330
|
+
created: boolean;
|
|
331
|
+
updatedAtUtc: string;
|
|
332
|
+
}
|
|
321
333
|
export interface StaticWebSiteDeploymentDto {
|
|
322
334
|
projectId: string;
|
|
323
335
|
environment: string;
|
|
@@ -388,6 +400,9 @@ export declare class PlatformApiClient {
|
|
|
388
400
|
listProvisioningJobs(projectId: string): Promise<ProvisioningJobListResponse>;
|
|
389
401
|
getDeploymentToken(projectId: string, regenerate?: boolean): Promise<DeploymentTokenResponse>;
|
|
390
402
|
uploadStaticWebDeployment(projectId: string, archivePath: string, env?: string): Promise<StaticWebSiteDeploymentDto>;
|
|
403
|
+
listSecrets(projectId: string): Promise<ProjectSecretListResponse>;
|
|
404
|
+
setSecret(projectId: string, name: string, value: string): Promise<SetProjectSecretResponse>;
|
|
405
|
+
deleteSecret(projectId: string, name: string): Promise<void>;
|
|
391
406
|
getCustomDomain(projectId: string): Promise<UserCustomDomainResponse>;
|
|
392
407
|
setCustomDomain(projectId: string, body: SetUserCustomDomainRequest): Promise<UserCustomDomainResponse>;
|
|
393
408
|
deleteCustomDomain(projectId: string): Promise<void>;
|
package/package.json
CHANGED
package/src/config/v2/rules.ts
CHANGED
|
@@ -607,7 +607,7 @@ function secretRules(
|
|
|
607
607
|
if (refs.length === 0) return;
|
|
608
608
|
if (!context.knownSecrets) {
|
|
609
609
|
skipped.push(
|
|
610
|
-
`secret references (${new Set(refs.map((r) => r.name)).size} found) were not checked: the project's secrets
|
|
610
|
+
`secret references (${new Set(refs.map((r) => r.name)).size} found) were not checked: the project's secrets were not available (offline, not logged in, or this folder is not linked to a project)`,
|
|
611
611
|
);
|
|
612
612
|
return;
|
|
613
613
|
}
|