b31d8d0096
- Added migration to harden task audit tracking by modifying audit_logs and related tables. - Introduced operator_id to several tables for better tracking of actions. - Updated article_templates with new prompt templates for various article types, enhancing content generation. - Created prompt_rules and schedule_tasks tables to manage content generation rules and scheduling. - Added foreign key constraints to articles for better data integrity.
24 lines
450 B
Vue
24 lines
450 B
Vue
<script setup lang="ts">
|
|
import type { ScheduleTask } from "@geo/shared-types";
|
|
|
|
import GenerateTaskDrawer from "@/components/GenerateTaskDrawer.vue";
|
|
|
|
defineProps<{
|
|
open: boolean;
|
|
task?: ScheduleTask | null;
|
|
}>();
|
|
|
|
const emit = defineEmits<{
|
|
"update:open": [value: boolean];
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<GenerateTaskDrawer
|
|
:open="open"
|
|
mode="schedule"
|
|
:task="task"
|
|
@update:open="emit('update:open', $event)"
|
|
/>
|
|
</template>
|