Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.4.0 #8

Merged
merged 27 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a4a814f
Fix models FieldKeys
fpseverino Jun 26, 2024
42367dd
Create new PassKit product
fpseverino Jun 26, 2024
d774b73
Update README.md
fpseverino Jun 26, 2024
2a78484
Fix README.md
fpseverino Jun 26, 2024
a079e2f
Change `Passes` to `PassesService` and `PassKitRegistration` to `Pass…
fpseverino Jun 27, 2024
d997d29
Change `PassKitPass` to `PassModel`
fpseverino Jun 27, 2024
49aae8d
Change `PKRegistration` to `PassesRegistration`
fpseverino Jun 27, 2024
25cb54d
Add PassJSON
fpseverino Jun 28, 2024
4aa6f10
Fix PassJSON
fpseverino Jun 28, 2024
11c4cf4
Make PassJSON enums Encodable
fpseverino Jun 28, 2024
c871125
Remove default values from the protocol
fpseverino Jun 28, 2024
520c400
Make `authenticationToken` unique for each pass
fpseverino Jun 28, 2024
88bd2ec
Move the device and error log models to the PassKit module
fpseverino Jun 28, 2024
2dc8218
Update `.spi.yml`
fpseverino Jun 28, 2024
4387bba
Update README.md
fpseverino Jun 28, 2024
4c70b9a
Refactor models and services
fpseverino Jun 29, 2024
b64171a
Remove superfluous swift-log dependency
fpseverino Jun 29, 2024
bc58a7b
Remove `DispatchQueue`
fpseverino Jun 29, 2024
d21c482
chore: Remove unused imports and reorganize Passes module
fpseverino Jun 30, 2024
75735b9
Start work on the Orders target
fpseverino Jun 30, 2024
c358a9b
Update passes routes path components to distinguish them from the ord…
fpseverino Jul 1, 2024
50db67c
Test order content generation
fpseverino Jul 1, 2024
4aa7200
Add `Orders` product
fpseverino Jul 1, 2024
a43bf6d
Fix typo
fpseverino Jul 1, 2024
6826b27
Remove `FakeSendable`
fpseverino Jul 1, 2024
d0df211
Add `Orders` to `.spi.yml`
fpseverino Jul 1, 2024
6e6c69f
Update README
fpseverino Jul 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .spi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 1
builder:
configs:
- documentation_targets: [Passes]
- documentation_targets: [PassKit, Passes, Orders]
24 changes: 20 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,45 @@ let package = Package(
.macOS(.v13), .iOS(.v16)
],
products: [
.library(name: "Passes", targets: ["Passes"]),
.library(name: "PassKit", targets: ["PassKit"]),
.library(name: "Passes", targets: ["PassKit", "Passes"]),
.library(name: "Orders", targets: ["PassKit", "Orders"]),
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.102.0"),
.package(url: "https://github.com/vapor/fluent.git", from: "4.11.0"),
.package(url: "https://github.com/vapor/apns.git", from: "4.1.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.0"),
],
targets: [
.target(
name: "Passes",
name: "PassKit",
dependencies: [
.product(name: "Fluent", package: "fluent"),
.product(name: "Vapor", package: "vapor"),
.product(name: "VaporAPNS", package: "apns"),
.product(name: "Logging", package: "swift-log"),
],
swiftSettings: swiftSettings
),
.target(
name: "Passes",
dependencies: [
.target(name: "PassKit"),
],
swiftSettings: swiftSettings
),
.target(
name: "Orders",
dependencies: [
.target(name: "PassKit"),
],
swiftSettings: swiftSettings
),
.testTarget(
name: "PassKitTests",
dependencies: [
.target(name: "PassKit"),
.target(name: "Passes"),
.target(name: "Orders"),
.product(name: "XCTVapor", package: "vapor"),
],
swiftSettings: swiftSettings
Expand Down
Loading
Loading