Dev -> Local #14
@@ -48,6 +48,10 @@ export type WikiEventIngestionSettings = {
|
||||
maxCharacters: number;
|
||||
};
|
||||
|
||||
export type WikiEventIngestionSettingsUpdate = Omit<Partial<WikiEventIngestionSettings>, "sources"> & {
|
||||
sources?: Partial<Record<WikiEventIngestionSource, boolean>>;
|
||||
};
|
||||
|
||||
export type PaperclipIngestionSourceScope =
|
||||
| { kind: "active_projects"; limit: number; statuses?: Array<"in_progress" | "todo" | "done"> }
|
||||
| { kind: "selected_projects"; projectIds: string[] }
|
||||
@@ -1100,7 +1104,7 @@ export async function listPaperclipIngestionCandidates(ctx: PluginContext, input
|
||||
|
||||
export async function updateEventIngestionSettings(
|
||||
ctx: PluginContext,
|
||||
input: { companyId: string; settings: Partial<WikiEventIngestionSettings> & { sources?: Partial<Record<WikiEventIngestionSource, boolean>> } },
|
||||
input: { companyId: string; settings: WikiEventIngestionSettingsUpdate },
|
||||
): Promise<WikiEventIngestionSettings> {
|
||||
await requirePaperclipIngestionPolicy(ctx, {
|
||||
companyId: input.companyId,
|
||||
|
||||
@@ -420,6 +420,12 @@ export interface ManagedRoutineMissingRef {
|
||||
resourceKey: string;
|
||||
}
|
||||
|
||||
export interface ManagedRoutineDefaultDrift {
|
||||
changedFields: string[];
|
||||
defaultTitle?: string | null;
|
||||
defaultDescription?: string | null;
|
||||
}
|
||||
|
||||
export interface ManagedRoutinesListItem {
|
||||
key: string;
|
||||
title: string;
|
||||
@@ -434,6 +440,7 @@ export interface ManagedRoutinesListItem {
|
||||
lastRunStatus?: string | null;
|
||||
managedByPluginDisplayName?: string | null;
|
||||
missingRefs?: ManagedRoutineMissingRef[];
|
||||
defaultDrift?: ManagedRoutineDefaultDrift | null;
|
||||
}
|
||||
|
||||
export interface ManagedRoutinesListProps {
|
||||
|
||||
@@ -23,6 +23,12 @@ export type ManagedRoutineMissingRef = {
|
||||
resourceKey: string;
|
||||
};
|
||||
|
||||
export type ManagedRoutineDefaultDrift = {
|
||||
changedFields: string[];
|
||||
defaultTitle?: string | null;
|
||||
defaultDescription?: string | null;
|
||||
};
|
||||
|
||||
export type ManagedRoutinesListItem = {
|
||||
key: string;
|
||||
title: string;
|
||||
@@ -37,6 +43,7 @@ export type ManagedRoutinesListItem = {
|
||||
lastRunStatus?: string | null;
|
||||
managedByPluginDisplayName?: string | null;
|
||||
missingRefs?: ManagedRoutineMissingRef[];
|
||||
defaultDrift?: ManagedRoutineDefaultDrift | null;
|
||||
};
|
||||
|
||||
export type ManagedRoutinesListProps = {
|
||||
|
||||
Reference in New Issue
Block a user