fix(FN-4905): unblock workspace verification type errors
Fusion-Task-Id: FN-4905 Fusion-Task-Lineage: 677b6f08-90d7-4785-a0b8-195acc42f79e
This commit is contained in:
committed by
gsxdsm
parent
c61ebb85d7
commit
2a9ef2ba36
@@ -1531,7 +1531,7 @@ export default function kbExtension(pi: ExtensionAPI) {
|
||||
const scopes: SecretScope[] = params.scope ? [params.scope] : ["project", "global"];
|
||||
|
||||
let record: import("@fusion/core").SecretRecord | null = null;
|
||||
let resolvedScope: "project" | "global" | null = null;
|
||||
let resolvedScope: import("@fusion/core").SecretScope | null = null;
|
||||
for (const scope of scopes) {
|
||||
const match = secretsStore.listSecrets(scope).find((candidate) => candidate.key === params.key);
|
||||
if (match) {
|
||||
@@ -1566,7 +1566,7 @@ export default function kbExtension(pi: ExtensionAPI) {
|
||||
: approvalStore.create({
|
||||
requester: { actorId: fnCtx.agentId ?? "user", actorType: "agent", actorName: fnCtx.agentName ?? fnCtx.agentId ?? "Agent" },
|
||||
targetAction: {
|
||||
category: "secrets_access",
|
||||
category: "task_mutation",
|
||||
action: "read",
|
||||
summary: `Read secret ${params.key}`,
|
||||
resourceType: "secret",
|
||||
|
||||
@@ -2185,7 +2185,7 @@ export function updateGitRemoteUrl(name: string, url: string, projectId?: string
|
||||
export interface PrInfo {
|
||||
url: string;
|
||||
number: number;
|
||||
status: "open" | "closed" | "merged";
|
||||
status: "open" | "closed" | "merged" | "draft";
|
||||
title: string;
|
||||
headBranch: string;
|
||||
baseBranch: string;
|
||||
|
||||
Reference in New Issue
Block a user