mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-21 00:38:14 +08:00
13 lines
501 B
TypeScript
13 lines
501 B
TypeScript
import type { LocalExecutionContextRecipe } from '../domain/localExecutionContextRecipe';
|
|
import type { LocalExecutionContextRecipeSource } from './localExecutionContextRecipeSource';
|
|
|
|
export type InsertLocalExecutionContextRecipeResult = 'inserted' | 'idempotent';
|
|
|
|
export interface LocalExecutionContextRecipeRepository
|
|
extends LocalExecutionContextRecipeSource {
|
|
insert(
|
|
recipe: LocalExecutionContextRecipe,
|
|
createdAtMs: number,
|
|
): Promise<InsertLocalExecutionContextRecipeResult>;
|
|
}
|