-
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.
- Loading branch information
1 parent
ce9c79e
commit 702d80c
Showing
9 changed files
with
110 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,9 @@ name: CI | |
on: | ||
push: | ||
branches: | ||
- main | ||
- develop | ||
- '**' | ||
tags: | ||
- "*.*.*" | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
|
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
30 changes: 30 additions & 0 deletions
30
Sources/OversizeAppStoreServices/Models/BuildBundleFileSize.swift
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,30 @@ | ||
// Generated by Create API | ||
// https://github.com/CreateAPI/CreateAPI | ||
// | ||
// swift-format-ignore-file | ||
|
||
import AppStoreAPI | ||
import AppStoreConnect | ||
import Foundation | ||
|
||
public struct BuildBundleFileSize: Sendable, Identifiable { | ||
public let id: String | ||
public let deviceModel: String | ||
public let osVersion: String | ||
public let downloadBytes: Int | ||
public let installBytes: Int | ||
|
||
init?(schema: AppStoreAPI.BuildBundleFileSize) { | ||
guard let attributes = schema.attributes, | ||
let deviceModel = attributes.deviceModel, | ||
let osVersion = attributes.osVersion, | ||
let downloadBytes = attributes.downloadBytes, | ||
let installBytes = attributes.installBytes | ||
else { return nil } | ||
id = schema.id | ||
self.deviceModel = deviceModel | ||
self.osVersion = osVersion | ||
self.downloadBytes = downloadBytes | ||
self.installBytes = installBytes | ||
} | ||
} |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
// | ||
// Copyright © 2024 Alexander Romanov | ||
// InstallReport.swift, created on 28.11.2024 | ||
// | ||
// | ||
|
||
import Foundation | ||
|
||
|
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