This repository has been archived on 2025-01-25. You can view files and clone it, but cannot push or open issues or pull requests.
tasky/db.md
2022-02-10 13:35:31 +01:00

896 B

influxdb

{
  timestamp, // the deadline
  version,
  type: "task", // to prepare for calendar events
  repeatRule: {
    type: "single|date|period|series",
    value,
    lastItiration
  },
  lable
}

repeatRule:
  single: |
    value is not used
    lastItiration is the date added
  date: |
    value is de time between reapeats
      <number> day(s)
      <number> week(s) [day <string:day of week>]
      <number> month(s) [date <number:day of month>]
      <number> quarter(s) [(month|date) <number> [end|begin]]
      <number> year(s) [(month|date) <number>]
  period:
    a period after the last time done
      <number> day(s)
      <number> week(s) [day <string:day of week>]
      <number> month(s) [date <number:day of month>]
      <number> quarter(s) [(month|date) <number>]
      <number> year(s) [(month|date) <number>]
  series:
    a list of timestamps it happends