powerplatform-review-tool
Version:
Evaluate Power Platform solution zip files based on best practice patterns
73 lines • 1.67 kB
TypeScript
import { PatternResult } from "./pattern";
export interface PowerAutomateComponent {
schemaVersion: string;
properties: {
connectionReferences?: Record<string, ConnectionReference>;
definition: Definition;
templateName?: string | null;
};
}
interface ConnectionReference {
runtimeSource: string;
connection: {
connectionReferenceLogicalName: string;
};
api: {
name: string;
};
}
interface Definition {
$schema: string;
contentVersion: string;
parameters?: Record<string, Parameter>;
triggers?: Record<string, Trigger>;
actions?: Record<string, Action>;
outputs?: Record<string, Output>;
}
interface Parameter {
defaultValue?: any;
allowedValues?: any[];
}
interface Action {
type: string;
runAfter?: Record<string, string[]>;
inputs?: any;
metadata?: Record<string, any>;
description?: string;
}
interface Trigger {
type: string;
inputs?: any;
correlation?: {
clientTrackingId?: string;
};
splitOn?: string;
splitOnConfiguration?: any;
}
interface Output {
type: string;
value?: any;
metadata?: any;
description?: string;
error?: any;
}
export interface Variable {
name: string;
type: boolean | string | number;
value: string;
}
/** @public */
export interface PowerAutomateReviewItem {
name: string;
displayName?: string;
result: PatternResult[];
score: string;
}
/** @public */
export interface PowerAutomateReviewResult {
items: PowerAutomateReviewItem[];
totalFlows: number;
totalScore: string;
}
export {};
//# sourceMappingURL=flowInterface.d.ts.map