Skip to content

Commit

Permalink
Merge pull request #98 from AStarStartup/Issue96
Browse files Browse the repository at this point in the history
Issue96
  • Loading branch information
CookingWithCale committed Jan 1, 2024
2 parents 6f45867 + 4c387df commit 0ae6da5
Show file tree
Hide file tree
Showing 5 changed files with 369 additions and 250 deletions.
22 changes: 9 additions & 13 deletions Extension/Ctlr/Background.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
// Copyright AStartup; license at https://github.com/AStarStartup/AStartupMCC

import { ModelCommandStructureDefault, ModelCommandStructureSet,
ModelSessionDefault, ModelSessionSet,
ModelIssuesClosedSet,
ModelIssuesOpenSet,
ModelMissionDefault, ModelMissionSet,
ModelOptionsDefault, ModelOptionsSet,
ModelReposSet, }
import { }
from '../Model'
console.log("[Background.ts]")

Expand All @@ -27,13 +21,15 @@ chrome.alarms.onAlarm.addListener((alarm) => {

// @todo Inspect video timestamp 3:38:30 for spooky shit.

import { ModelConfigInit, ModelConfigSet, CommandStructureInit, CommandStructureSet, ModelIssueInit, ModelIssueSet, ModelMissionInit, ModelMissionSet, ModelSessionInit, ModelSessionSet,
ModelSyndicateSet } from '../Model'
chrome.runtime.onInstalled.addListener(() => {
ModelOptionsSet(ModelOptionsDefault)
ModelCommandStructureSet(ModelCommandStructureDefault)
ModelIssuesClosedSet({})
ModelIssuesOpenSet({})
ModelMissionSet(ModelMissionDefault)
ModelReposSet({})
ModelConfigSet(ModelConfigInit)
CommandStructureSet(CommandStructureInit)
ModelIssueSet(ModelIssueInit)
ModelMissionSet(ModelMissionInit)
ModelSessionSet(ModelSessionInit)
ModelSyndicateSet(ModelMissionInit)

chrome.alarms.create("FeedUpdate", {
periodInMinutes: 15/60,
Expand Down
Loading

0 comments on commit 0ae6da5

Please sign in to comment.