-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into rework/schema
- Loading branch information
Showing
23 changed files
with
811 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import Archive from '../Archive' | ||
import Services from '../../../types/Services' | ||
import Standardizer from '../../Standardizer/Standardizer' | ||
import DiscordStandardizer from '../../Standardizer/plugins/Discord/Discord' | ||
|
||
export default class Discord extends Archive { | ||
identifyService(): Promise<boolean> { | ||
throw new Error('Not implemented') | ||
} | ||
|
||
get service(): Services { | ||
return Services.DISCORD | ||
} | ||
|
||
get standardizer(): Standardizer { | ||
if (!this.isExtracted) { | ||
throw new Error('Archive not extracted') | ||
} | ||
return new DiscordStandardizer(this.extractedArchivePath!) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import Archive from '../Archive' | ||
import Services from '../../../types/Services' | ||
import Standardizer from '../../Standardizer/Standardizer' | ||
import FacebookStandardizer from '../../Standardizer/plugins/Facebook/Facebook' | ||
|
||
export default class Facebook extends Archive { | ||
identifyService(): Promise<Archive> { | ||
throw new Error('Not implemented') | ||
} | ||
|
||
get service(): Services { | ||
return Services.FACEBOOK | ||
} | ||
|
||
get standardizer(): Standardizer { | ||
if (!this.isExtracted) { | ||
throw new Error('Archive not extracted') | ||
} | ||
return new FacebookStandardizer(this.extractedArchivePath!) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import Archive from '../Archive' | ||
import Services from '../../../types/Services' | ||
import Standardizer from '../../Standardizer/Standardizer' | ||
import GoogleStandardizer from '../../Standardizer/plugins/Google/Google' | ||
|
||
export default class Google extends Archive { | ||
identifyService(): Promise<boolean> { | ||
throw new Error('Not implemented') | ||
} | ||
|
||
get service(): Services { | ||
return Services.GOOGLE | ||
} | ||
|
||
get standardizer(): Standardizer { | ||
if (!this.isExtracted) { | ||
throw new Error('Archive not extracted') | ||
} | ||
return new GoogleStandardizer(this.extractedArchivePath!) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import Archive from '../Archive' | ||
import Services from '../../../types/Services' | ||
import Standardizer from '../../Standardizer/Standardizer' | ||
import RedditStandardizer from '../../Standardizer/plugins/Reddit/Reddit' | ||
|
||
export default class Reddit extends Archive { | ||
identifyService(): Promise<boolean> { | ||
throw new Error('Not implemented') | ||
} | ||
|
||
get service(): Services { | ||
return Services.REDDIT | ||
} | ||
|
||
get standardizer(): Standardizer { | ||
if (!this.isExtracted) { | ||
throw new Error('Archive not extracted') | ||
} | ||
return new RedditStandardizer(this.extractedArchivePath!) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import Standardizer from '../../Standardizer' | ||
import Services from '../../../../types/Services' | ||
|
||
export default class Discord extends Standardizer { | ||
get service(): Services { | ||
return Services.DISCORD | ||
} | ||
|
||
get subServices(): Array<Services> { | ||
return [] | ||
} | ||
|
||
get subStandardizers(): Array<Standardizer> { | ||
return [] | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import Standardizer from '../../Standardizer' | ||
import Services from '../../../../types/Services' | ||
|
||
export default class Facebook extends Standardizer { | ||
get service(): Services { | ||
return Services.FACEBOOK | ||
} | ||
|
||
get subServices(): Array<Services> { | ||
return [] | ||
} | ||
|
||
get subStandardizers(): Array<Standardizer> { | ||
return [] | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import Standardizer from '../../Standardizer' | ||
import Services from '../../../../types/Services' | ||
|
||
export default class Google extends Standardizer { | ||
get service(): Services { | ||
return Services.GOOGLE | ||
} | ||
|
||
get subServices(): Array<Services> { | ||
return [] | ||
} | ||
|
||
get subStandardizers(): Array<Standardizer> { | ||
return [] | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import Standardizer from '../../Standardizer' | ||
import Services from '../../../../types/Services' | ||
|
||
export default class Reddit extends Standardizer { | ||
get service(): Services { | ||
return Services.REDDIT | ||
} | ||
|
||
get subServices(): Array<Services> { | ||
return [] | ||
} | ||
|
||
get subStandardizers(): Array<Standardizer> { | ||
return [] | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.