@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukoweb/apitogo",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "**/*.css",
@@ -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 cannot be listed yet`,
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
  }