forked from eva/focus-flow
docs: add dartdoc headers to dart files
This commit is contained in:
parent
e5e532d56f
commit
fc1d100b1f
107 changed files with 374 additions and 1 deletions
|
|
@ -1 +1,4 @@
|
||||||
|
/// Exports the FocusFlow Flutter application entry points.
|
||||||
|
library;
|
||||||
|
|
||||||
export 'app/focus_flow_app.dart' show FocusFlowApp;
|
export 'app/focus_flow_app.dart' show FocusFlowApp;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Composes the FocusFlow Flutter application around Demo Scheduler Composition.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
import '../controllers/scheduler_command_controller.dart';
|
import '../controllers/scheduler_command_controller.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Composes the FocusFlow Flutter application around Focus Flow App.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../controllers/today_screen_controller.dart';
|
import '../controllers/today_screen_controller.dart';
|
||||||
|
|
|
||||||
|
|
@ -1 +1,4 @@
|
||||||
|
/// Provides compatibility composition exports for FocusFlow Flutter.
|
||||||
|
library;
|
||||||
|
|
||||||
export '../app/demo_scheduler_composition.dart' show DemoSchedulerComposition;
|
export '../app/demo_scheduler_composition.dart' show DemoSchedulerComposition;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Coordinates Scheduler Command Controller state for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Coordinates Scheduler Read Controller state for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Coordinates Today Screen Controller state for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/foundation.dart';
|
import 'package:flutter/foundation.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Launches the FocusFlow Flutter desktop application.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import 'app/demo_scheduler_composition.dart';
|
import 'app/demo_scheduler_composition.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Defines Today Screen Models models for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
class RequiredBannerModel {
|
class RequiredBannerModel {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Defines Focus Flow Theme styling for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import 'focus_flow_tokens.dart';
|
import 'focus_flow_tokens.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Defines Focus Flow Tokens styling for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
abstract final class FocusFlowTokens {
|
abstract final class FocusFlowTokens {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Defines Scheduler Visual Tokens styling for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders the App Shell widget for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../theme/focus_flow_tokens.dart';
|
import '../theme/focus_flow_tokens.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders the Backlog Pane widget for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders the Read State View widget for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../controllers/scheduler_read_controller.dart';
|
import '../controllers/scheduler_read_controller.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders the Required Banner widget for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../models/today_screen_models.dart';
|
import '../models/today_screen_models.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders the Schedule Components widget for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders the Sidebar widget for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../theme/focus_flow_tokens.dart';
|
import '../theme/focus_flow_tokens.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders the Task Selection Modal widget for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../models/today_screen_models.dart';
|
import '../models/today_screen_models.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders Difficulty Bars pieces for the FocusFlow Flutter timeline.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders Reward Icon pieces for the FocusFlow Flutter timeline.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../../theme/focus_flow_tokens.dart';
|
import '../../theme/focus_flow_tokens.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders Task Timeline Card pieces for the FocusFlow Flutter timeline.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../../models/today_screen_models.dart';
|
import '../../models/today_screen_models.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders Timeline Axis pieces for the FocusFlow Flutter timeline.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../../theme/focus_flow_tokens.dart';
|
import '../../theme/focus_flow_tokens.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders Timeline Geometry pieces for the FocusFlow Flutter timeline.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
class TimelineGeometry {
|
class TimelineGeometry {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders Timeline View pieces for the FocusFlow Flutter timeline.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../../models/today_screen_models.dart';
|
import '../../models/today_screen_models.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders the Today Pane widget for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Renders the Top Bar widget for the FocusFlow Flutter UI.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../theme/focus_flow_tokens.dart';
|
import '../theme/focus_flow_tokens.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Forbidden Imports behavior in the FocusFlow Flutter app.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:flutter_test/flutter_test.dart';
|
import 'package:flutter_test/flutter_test.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Widget behavior in the FocusFlow Flutter app.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_test/flutter_test.dart';
|
import 'package:flutter_test/flutter_test.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Runs the Backup command for the Scheduler Backup package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:scheduler_backup/backup.dart';
|
import 'package:scheduler_backup/backup.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Encrypted Backup behavior for the Scheduler Backup package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
import 'dart:math';
|
import 'dart:math';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Encrypted Backup behavior for the Scheduler Backup package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Defines the Scheduler Core public library for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Public library entry point for the ADHD scheduling core.
|
// Public library entry point for the ADHD scheduling core.
|
||||||
//
|
//
|
||||||
// Import this file from app/UI code instead of importing individual files from
|
// Import this file from app/UI code instead of importing individual files from
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Application Commands behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Atomic V1 application commands.
|
// Atomic V1 application commands.
|
||||||
//
|
//
|
||||||
// These use cases are the UI-facing mutation boundary. They load authoritative
|
// These use cases are the UI-facing mutation boundary. They load authoritative
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Application Layer behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Application orchestration contracts for UI-facing use cases.
|
// Application orchestration contracts for UI-facing use cases.
|
||||||
//
|
//
|
||||||
// This layer sits above the pure domain services and repository interfaces. It
|
// This layer sits above the pure domain services and repository interfaces. It
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Application Management behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// V1 management queries and commands.
|
// V1 management queries and commands.
|
||||||
//
|
//
|
||||||
// These use cases cover non-scheduling surfaces such as backlog views, project
|
// These use cases cover non-scheduling surfaces such as backlog views, project
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Application Recovery behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// App-open/start-day recovery orchestration.
|
// App-open/start-day recovery orchestration.
|
||||||
//
|
//
|
||||||
// This layer makes rollover explicit. Reading Today never runs recovery; a UI or
|
// This layer makes rollover explicit. Reading Today never runs recovery; a UI or
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Backlog behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Backlog query helpers for the ADHD scheduling core.
|
// Backlog query helpers for the ADHD scheduling core.
|
||||||
//
|
//
|
||||||
// The backlog is not a separate database table in this starter model. It is a
|
// The backlog is not a separate database table in this starter model. It is a
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Child Tasks behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Parent/child task ownership helpers.
|
// Parent/child task ownership helpers.
|
||||||
//
|
//
|
||||||
// Child tasks are owned by one parent through `Task.parentTaskId`. This file
|
// Child tasks are owned by one parent through `Task.parentTaskId`. This file
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Document Mapping behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Adapter-neutral V1 document mapping helpers.
|
// Adapter-neutral V1 document mapping helpers.
|
||||||
//
|
//
|
||||||
// These helpers use plain Dart map shapes only. They do not import database
|
// These helpers use plain Dart map shapes only. They do not import database
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Document Migration behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Legacy document migration helpers for the V1 persistence contract.
|
// Legacy document migration helpers for the V1 persistence contract.
|
||||||
//
|
//
|
||||||
// The migration layer is intentionally plain Dart and side-effect free. Future
|
// The migration layer is intentionally plain Dart and side-effect free. Future
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Free Slots behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Protected Free Slot helpers.
|
// Protected Free Slot helpers.
|
||||||
//
|
//
|
||||||
// Free slots are intentional rest, not empty capacity. They are represented as
|
// Free slots are intentional rest, not empty capacity. They are represented as
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Locked Time behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Locked-time modeling and expansion.
|
// Locked-time modeling and expansion.
|
||||||
//
|
//
|
||||||
// Locked time is anything the flexible scheduler should treat as unavailable:
|
// Locked time is anything the flexible scheduler should treat as unavailable:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Models behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Core domain model for the ADHD scheduling starter project.
|
// Core domain model for the ADHD scheduling starter project.
|
||||||
//
|
//
|
||||||
// This file intentionally contains small immutable value objects and enums. It
|
// This file intentionally contains small immutable value objects and enums. It
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Occupancy Policy behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Central occupancy policy for V1 scheduling.
|
// Central occupancy policy for V1 scheduling.
|
||||||
//
|
//
|
||||||
// This file keeps scheduler movement rules separate from UI timeline
|
// This file keeps scheduler movement rules separate from UI timeline
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Persistence Contract behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Adapter-neutral persistence contract helpers.
|
// Adapter-neutral persistence contract helpers.
|
||||||
//
|
//
|
||||||
// This file defines stable field names and encoding conventions that document
|
// This file defines stable field names and encoding conventions that document
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Project Statistics behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Project-level aggregate statistics and deterministic learned suggestions.
|
// Project-level aggregate statistics and deterministic learned suggestions.
|
||||||
//
|
//
|
||||||
// These types stay in the pure Dart core. They provide persistence-friendly
|
// These types stay in the pure Dart core. They provide persistence-friendly
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Quick Capture behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Low-friction capture flow.
|
// Low-friction capture flow.
|
||||||
//
|
//
|
||||||
// Quick capture is the "dump the thought before it disappears" path. The goal
|
// Quick capture is the "dump the thought before it disappears" path. The goal
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Reminder Policy behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// UI/platform-independent reminder policy.
|
// UI/platform-independent reminder policy.
|
||||||
//
|
//
|
||||||
// This file decides whether the core would deliver, suppress, defer, or require
|
// This file decides whether the core would deliver, suppress, defer, or require
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Repositories behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Persistence boundary interfaces for the scheduling core.
|
// Persistence boundary interfaces for the scheduling core.
|
||||||
//
|
//
|
||||||
// These interfaces are intentionally database-client-free. SQLite, in-memory,
|
// These interfaces are intentionally database-client-free. SQLite, in-memory,
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Scheduling Engine behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Scheduling engine for the ADHD scheduling starter project.
|
// Scheduling engine for the ADHD scheduling starter project.
|
||||||
//
|
//
|
||||||
// This file is the core timeline manipulation layer. It takes task data plus a
|
// This file is the core timeline manipulation layer. It takes task data plus a
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Task Actions behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Flexible task card actions.
|
// Flexible task card actions.
|
||||||
//
|
//
|
||||||
// The main scheduling engine moves tasks through time. This file models the
|
// The main scheduling engine moves tasks through time. This file models the
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Task Lifecycle behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Canonical task lifecycle transitions and internal activity records.
|
// Canonical task lifecycle transitions and internal activity records.
|
||||||
//
|
//
|
||||||
// This module keeps task state changes separate from UI buttons and scheduling
|
// This module keeps task state changes separate from UI buttons and scheduling
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Task Statistics behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Quiet per-task history counters.
|
// Quiet per-task history counters.
|
||||||
//
|
//
|
||||||
// The app design calls for recovery/reporting features that can notice repeated
|
// The app design calls for recovery/reporting features that can notice repeated
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Time Contracts behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'models.dart';
|
import 'models.dart';
|
||||||
|
|
||||||
/// Deterministic source of the current instant.
|
/// Deterministic source of the current instant.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Timeline State behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// UI-independent Today timeline view state.
|
// UI-independent Today timeline view state.
|
||||||
//
|
//
|
||||||
// This file translates domain tasks into small display-ready value objects
|
// This file translates domain tasks into small display-ready value objects
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Today State behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
// Application-level Today read model.
|
// Application-level Today read model.
|
||||||
//
|
//
|
||||||
// This module builds UI-independent state for the Today and compact views. It
|
// This module builds UI-independent state for the Today and compact views. It
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Application Commands behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Application Layer behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Application Management behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Application Recovery behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Child Tasks behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Document Mapping behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Document Migration behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Domain Contracts behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Domain Invariants behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Edge Case Regression behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Free Slots behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Occupancy Policy behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Persistence Edge Cases behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Persistence Index Contract behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Project Statistics behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Reminder Policy behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Repositories behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Required Task Actions behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Scheduling Engine behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Scheduling Invariants behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:math';
|
import 'dart:math';
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Surprise Task Logging behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Task Lifecycle behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Time Contracts behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Timeline State behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Today State behavior for the Scheduler Core package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart';
|
import 'package:scheduler_core/scheduler_core.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Export Controller behavior for the Scheduler Export package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart' as core;
|
import 'package:scheduler_core/scheduler_core.dart' as core;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Export Controller behavior for the Scheduler Export package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart' as core;
|
import 'package:scheduler_core/scheduler_core.dart' as core;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Runs the Export command for the Scheduler Export Json package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart' as core;
|
import 'package:scheduler_core/scheduler_core.dart' as core;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Json Csv Writers behavior for the Scheduler Export Json package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart' as core;
|
import 'package:scheduler_core/scheduler_core.dart' as core;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Export Json behavior for the Scheduler Export Json package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Exercises Scheduler Flow integration behavior for the Scheduler Integration Tests package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:drift/native.dart';
|
import 'package:drift/native.dart';
|
||||||
import 'package:scheduler_core/scheduler_core.dart' as core;
|
import 'package:scheduler_core/scheduler_core.dart' as core;
|
||||||
import 'package:scheduler_notifications/notifications.dart';
|
import 'package:scheduler_notifications/notifications.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Scheduler Flow behavior for the Scheduler Integration Tests package.
|
||||||
|
library;
|
||||||
|
|
||||||
import '../integration/scheduler_flow_test.dart' as scheduler_flow_test;
|
import '../integration/scheduler_flow_test.dart' as scheduler_flow_test;
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Notification Adapter behavior for the Scheduler Notifications package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
/// Request to schedule one notification through a platform adapter.
|
/// Request to schedule one notification through a platform adapter.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Fake Adapter behavior for the Scheduler Notifications package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_notifications/notifications.dart';
|
import 'package:scheduler_notifications/notifications.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Notification Adapter Contract behavior for the Scheduler Notifications package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_notifications/notifications.dart';
|
import 'package:scheduler_notifications/notifications.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,5 @@
|
||||||
|
/// Implements Desktop Notification Adapter behavior for the Scheduler Notifications Desktop package.
|
||||||
|
library;
|
||||||
|
|
||||||
export 'desktop_notification_adapter_stub.dart'
|
export 'desktop_notification_adapter_stub.dart'
|
||||||
if (dart.library.io) 'desktop_notification_adapter_io.dart';
|
if (dart.library.io) 'desktop_notification_adapter_io.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Desktop Notification Adapter Io behavior for the Scheduler Notifications Desktop package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Implements Desktop Notification Adapter Stub behavior for the Scheduler Notifications Desktop package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
|
|
||||||
import 'package:scheduler_notifications/notifications.dart';
|
import 'package:scheduler_notifications/notifications.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Desktop Notification Adapter behavior for the Scheduler Notifications Desktop package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:scheduler_notifications/notifications.dart';
|
import 'package:scheduler_notifications/notifications.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Repo Conformance behavior for the Scheduler Persistence package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart' as core;
|
import 'package:scheduler_core/scheduler_core.dart' as core;
|
||||||
import 'package:scheduler_persistence/persistence.dart';
|
import 'package:scheduler_persistence/persistence.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Repo Contract Smoke behavior for the Scheduler Persistence package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_core/scheduler_core.dart' as core;
|
import 'package:scheduler_core/scheduler_core.dart' as core;
|
||||||
import 'package:scheduler_persistence/persistence.dart';
|
import 'package:scheduler_persistence/persistence.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Memory Repository Conformance behavior for the Scheduler Persistence Memory package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:scheduler_persistence_memory/persistence_memory.dart';
|
import 'package:scheduler_persistence_memory/persistence_memory.dart';
|
||||||
|
|
||||||
import '../../scheduler_persistence/test/repo_conformance.dart';
|
import '../../scheduler_persistence/test/repo_conformance.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
|
/// Tests Scheduler Db behavior for the Scheduler Persistence Sqlite package.
|
||||||
|
library;
|
||||||
|
|
||||||
import 'package:drift/native.dart';
|
import 'package:drift/native.dart';
|
||||||
import 'package:scheduler_persistence_sqlite/sqlite.dart';
|
import 'package:scheduler_persistence_sqlite/sqlite.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue