chore(architecture): deprecate some of the new architecture

In order to use Dependency Injection, we need to deprecate old classes
which aren't suitable for it, and which will be replaced by other ones
in followup commits.

Bug: twpowertools:226
Change-Id: I232bd9f036b6fb540eba27d7586d8054ce3de789
diff --git a/src/common/architecture/scripts/Script.ts b/src/common/architecture/scripts/Script.ts
index 8f45601..0e33e7e 100644
--- a/src/common/architecture/scripts/Script.ts
+++ b/src/common/architecture/scripts/Script.ts
@@ -1,3 +1,6 @@
+/**
+ * @deprecated
+ */
 export enum ScriptRunPhase {
   /**
    * Executed before any Javascript is executed.
@@ -9,15 +12,24 @@
   Main,
 }
 
+/**
+ * @deprecated
+ */
 export enum ScriptEnvironment {
   ContentScript,
   InjectedScript,
 }
 
+/**
+ * @deprecated
+ */
 export enum ScriptPage {
   CommunityConsole,
 }
 
+/**
+ * @deprecated
+ */
 export const ScriptRunPhaseToRunTime: Record<
   ScriptRunPhase,
   chrome.userScripts.RunAt
@@ -26,6 +38,9 @@
   [ScriptRunPhase.Main]: 'document_idle',
 };
 
+/**
+ * @deprecated
+ */
 export const ScriptEnvironmentToExecutionWorld: Record<
   ScriptEnvironment,
   chrome.scripting.ExecutionWorld
@@ -45,17 +60,20 @@
 
   /**
    * Page where the script should be executed.
+   * @deprecated
    */
   abstract readonly page: ScriptPage;
 
   /**
    * Environment where the script should be executed.
+   * @deprecated
    */
   abstract readonly environment: ScriptEnvironment;
 
   /**
    * If {@link environment} is {@link ScriptEnvironment.ContentScript}, phase of
    * the page loading when the script should be executed.
+   * @deprecated
    */
   abstract readonly runPhase?: ScriptRunPhase;