Skip to content

Commit

Permalink
Update remaining services
Browse files Browse the repository at this point in the history
  • Loading branch information
fpseverino committed Dec 4, 2024
1 parent c6163c3 commit 2e9ef29
Show file tree
Hide file tree
Showing 29 changed files with 377 additions and 325 deletions.
15 changes: 12 additions & 3 deletions .env.testing
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ AUTH0_DOMAIN=test
AUTH0_CLIENT_ID=test
AUTH0_CLIENT_SECRET=test

DEVIANTART_CLIENT_ID=test
DEVIANTART_CLIENT_SECRET=test

DISCORD_CLIENT_ID=test
DISCORD_CLIENT_SECRET=test

Expand All @@ -23,13 +26,19 @@ GOOGLE_CLIENT_SECRET=test
GOOGLEJWT_CLIENT_EMAIL=test
GOOGLEJWT_CLIENT_SECRET=test

SHOPIFY_CLIENT_ID=test
SHOPIFY_CLIENT_SECRET=test
IMGUR_CLIENT_ID=test
IMGUR_CLIENT_SECRET=test

KEYCLOAK_CLIENT_ID=test
KEYCLOAK_CLIENT_SECRET=test
KEYCLOAK_ACCESS_TOKEN_URL=test
KEYCLOAK_AUTH_URL=test

MICROSOFT_CLIENT_ID=test
MICROSOFT_CLIENT_SECRET=test
MICROSOFT_CLIENT_SECRET=test

MIXCLOUD_CLIENT_ID=test
MIXCLOUD_CLIENT_SECRET=test

SHOPIFY_CLIENT_ID=test
SHOPIFY_CLIENT_SECRET=test
12 changes: 12 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,34 @@ let package = Package(
products: [
.library(name: "ImperialCore", targets: ["ImperialCore"]),
.library(name: "ImperialAuth0", targets: ["ImperialCore", "ImperialAuth0"]),
.library(name: "ImperialDeviantArt", targets: ["ImperialCore", "ImperialDeviantArt"]),
.library(name: "ImperialDiscord", targets: ["ImperialCore", "ImperialDiscord"]),
.library(name: "ImperialDropbox", targets: ["ImperialCore", "ImperialDropbox"]),
.library(name: "ImperialFacebook", targets: ["ImperialCore", "ImperialFacebook"]),
.library(name: "ImperialGitHub", targets: ["ImperialCore", "ImperialGitHub"]),
.library(name: "ImperialGitlab", targets: ["ImperialCore", "ImperialGitlab"]),
.library(name: "ImperialGoogle", targets: ["ImperialCore", "ImperialGoogle"]),
.library(name: "ImperialImgur", targets: ["ImperialCore", "ImperialImgur"]),
.library(name: "ImperialKeycloak", targets: ["ImperialCore", "ImperialKeycloak"]),
.library(name: "ImperialMicrosoft", targets: ["ImperialCore", "ImperialMicrosoft"]),
.library(name: "ImperialMixcloud", targets: ["ImperialCore", "ImperialMixcloud"]),
.library(name: "ImperialShopify", targets: ["ImperialCore", "ImperialShopify"]),
.library(
name: "Imperial",
targets: [
"ImperialCore",
"ImperialAuth0",
"ImperialDeviantArt",
"ImperialDiscord",
"ImperialDropbox",
"ImperialFacebook",
"ImperialGitHub",
"ImperialGitlab",
"ImperialGoogle",
"ImperialImgur",
"ImperialKeycloak",
"ImperialMicrosoft",
"ImperialMixcloud",
"ImperialShopify",
]),
],
Expand All @@ -48,28 +54,34 @@ let package = Package(
swiftSettings: swiftSettings
),
.target(name: "ImperialAuth0", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialDeviantArt", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialDiscord", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialDropbox", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialFacebook", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialGitHub", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialGitlab", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialGoogle", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialImgur", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialKeycloak", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialMicrosoft", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialMixcloud", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.target(name: "ImperialShopify", dependencies: ["ImperialCore"], swiftSettings: swiftSettings),
.testTarget(
name: "ImperialTests",
dependencies: [
.target(name: "ImperialCore"),
.target(name: "ImperialAuth0"),
.target(name: "ImperialDeviantArt"),
.target(name: "ImperialDiscord"),
.target(name: "ImperialDropbox"),
.target(name: "ImperialFacebook"),
.target(name: "ImperialGitHub"),
.target(name: "ImperialGitlab"),
.target(name: "ImperialGoogle"),
.target(name: "ImperialImgur"),
.target(name: "ImperialKeycloak"),
.target(name: "ImperialMicrosoft"),
.target(name: "ImperialMixcloud"),
.target(name: "ImperialShopify"),
.product(name: "XCTVapor", package: "vapor"),
],
Expand Down
24 changes: 0 additions & 24 deletions Sources/Imperial/Services/DeviantArt/DeviantArt.swift

This file was deleted.

16 changes: 0 additions & 16 deletions Sources/Imperial/Services/DeviantArt/DeviantArtAuth.swift

This file was deleted.

73 changes: 0 additions & 73 deletions Sources/Imperial/Services/DeviantArt/DeviantArtRouter.swift

This file was deleted.

24 changes: 0 additions & 24 deletions Sources/Imperial/Services/Imgur/Imgur.swift

This file was deleted.

16 changes: 0 additions & 16 deletions Sources/Imperial/Services/Imgur/ImgurAuth.swift

This file was deleted.

63 changes: 0 additions & 63 deletions Sources/Imperial/Services/Imgur/ImgurRouter.swift

This file was deleted.

27 changes: 0 additions & 27 deletions Sources/Imperial/Services/Mixcloud/Mixcloud.swift

This file was deleted.

16 changes: 0 additions & 16 deletions Sources/Imperial/Services/Mixcloud/MixcloudAuth.swift

This file was deleted.

Loading

0 comments on commit 2e9ef29

Please sign in to comment.