Skip to content

Commit

Permalink
bump stone, format
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlocke committed Aug 19, 2024
1 parent 0fd63ac commit 2f44435
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13730,7 +13730,7 @@
F26B756C1D7F6AF700714F70 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1400;
LastUpgradeCheck = 1610;
ORGANIZATIONNAME = Dropbox;
TargetAttributes = {
F26B75741D7F6AF700714F70 = {
Expand Down Expand Up @@ -14037,7 +14037,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -14092,7 +14092,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -14121,7 +14121,7 @@
GCC_WARN_SHADOW = YES;
INFOPLIST_FILE = "$(SRCROOT)/Platform/ObjectiveDropboxOfficial_iOS/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.ObjectiveDropboxOfficial;
PRODUCT_NAME = ObjectiveDropboxOfficial;
Expand All @@ -14148,7 +14148,7 @@
GCC_WARN_SHADOW = YES;
INFOPLIST_FILE = "$(SRCROOT)/Platform/ObjectiveDropboxOfficial_iOS/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.dropbox.ObjectiveDropboxOfficial;
PRODUCT_NAME = ObjectiveDropboxOfficial;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
LastUpgradeVersion = "1610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1400"
LastUpgradeVersion = "1610"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,38 @@
/// Import autogenerated files

// Routes
#import "DBACCOUNTRouteObjects.h"
#import "DBACCOUNTUserAuthRoutes.h"
#import "DBACCOUNTRouteObjects.h"
#import "DBAUTHUserAuthRoutes.h"
#import "DBAUTHAppAuthRoutes.h"
#import "DBAUTHRouteObjects.h"
#import "DBAUTHUserAuthRoutes.h"
#import "DBCHECKUserAuthRoutes.h"
#import "DBCHECKAppAuthRoutes.h"
#import "DBCHECKRouteObjects.h"
#import "DBCHECKUserAuthRoutes.h"
#import "DBCONTACTSRouteObjects.h"
#import "DBCONTACTSUserAuthRoutes.h"
#import "DBFILEPROPERTIESRouteObjects.h"
#import "DBFILEPROPERTIESTeamAuthRoutes.h"
#import "DBCONTACTSRouteObjects.h"
#import "DBFILEPROPERTIESUserAuthRoutes.h"
#import "DBFILEREQUESTSRouteObjects.h"
#import "DBFILEPROPERTIESTeamAuthRoutes.h"
#import "DBFILEPROPERTIESRouteObjects.h"
#import "DBFILEREQUESTSUserAuthRoutes.h"
#import "DBFILEREQUESTSRouteObjects.h"
#import "DBFILESUserAuthRoutes.h"
#import "DBFILESAppAuthRoutes.h"
#import "DBFILESRouteObjects.h"
#import "DBFILESUserAuthRoutes.h"
#import "DBOPENIDRouteObjects.h"
#import "DBOPENIDUserAuthRoutes.h"
#import "DBPAPERRouteObjects.h"
#import "DBOPENIDRouteObjects.h"
#import "DBPAPERUserAuthRoutes.h"
#import "DBPAPERRouteObjects.h"
#import "DBSHARINGUserAuthRoutes.h"
#import "DBSHARINGAppAuthRoutes.h"
#import "DBSHARINGRouteObjects.h"
#import "DBSHARINGUserAuthRoutes.h"
#import "DBTEAMLOGRouteObjects.h"
#import "DBTEAMLOGTeamAuthRoutes.h"
#import "DBTEAMRouteObjects.h"
#import "DBTEAMTeamAuthRoutes.h"
#import "DBUSERSRouteObjects.h"
#import "DBTEAMRouteObjects.h"
#import "DBTEAMLOGTeamAuthRoutes.h"
#import "DBTEAMLOGRouteObjects.h"
#import "DBUSERSUserAuthRoutes.h"
#import "DBUSERSRouteObjects.h"


// `Account` namespace types

Expand All @@ -46,6 +47,7 @@
#import "DBACCOUNTSetProfilePhotoError.h"
#import "DBACCOUNTSetProfilePhotoResult.h"


// `Async` namespace types

#import "DBASYNCLaunchEmptyResult.h"
Expand All @@ -55,6 +57,7 @@
#import "DBASYNCPollError.h"
#import "DBASYNCPollResultBase.h"


// `Auth` namespace types

#import "DBAUTHAccessError.h"
Expand All @@ -68,11 +71,13 @@
#import "DBAUTHTokenFromOAuth1Result.h"
#import "DBAUTHTokenScopeError.h"


// `Check` namespace types

#import "DBCHECKEchoArg.h"
#import "DBCHECKEchoResult.h"


// `Common` namespace types

#import "DBCOMMONPathRoot.h"
Expand All @@ -81,11 +86,13 @@
#import "DBCOMMONTeamRootInfo.h"
#import "DBCOMMONUserRootInfo.h"


// `Contacts` namespace types

#import "DBCONTACTSDeleteManualContactsArg.h"
#import "DBCONTACTSDeleteManualContactsError.h"


// `FileProperties` namespace types

#import "DBFILEPROPERTIESAddPropertiesArg.h"
Expand Down Expand Up @@ -128,6 +135,7 @@
#import "DBFILEPROPERTIESUpdateTemplateArg.h"
#import "DBFILEPROPERTIESUpdateTemplateResult.h"


// `FileRequests` namespace types

#import "DBFILEREQUESTSCountFileRequestsError.h"
Expand Down Expand Up @@ -156,6 +164,7 @@
#import "DBFILEREQUESTSUpdateFileRequestDeadline.h"
#import "DBFILEREQUESTSUpdateFileRequestError.h"


// `Files` namespace types

#import "DBFILESAddTagArg.h"
Expand Down Expand Up @@ -358,13 +367,15 @@
#import "DBFILESWriteError.h"
#import "DBFILESWriteMode.h"


// `Openid` namespace types

#import "DBOPENIDOpenIdError.h"
#import "DBOPENIDUserInfoArgs.h"
#import "DBOPENIDUserInfoError.h"
#import "DBOPENIDUserInfoResult.h"


// `Paper` namespace types

#import "DBPAPERAddMember.h"
Expand Down Expand Up @@ -418,14 +429,17 @@
#import "DBPAPERUserInfoWithPermissionLevel.h"
#import "DBPAPERUserOnPaperDocFilter.h"


// `SecondaryEmails` namespace types

#import "DBSECONDARYEMAILSSecondaryEmail.h"


// `SeenState` namespace types

#import "DBSEENSTATEPlatformType.h"


// `Sharing` namespace types

#import "DBSHARINGAccessInheritance.h"
Expand Down Expand Up @@ -589,6 +603,7 @@
#import "DBSHARINGVisibilityPolicy.h"
#import "DBSHARINGVisibilityPolicyDisallowedReason.h"


// `Team` namespace types

#import "DBTEAMActiveWebSession.h"
Expand Down Expand Up @@ -857,6 +872,7 @@
#import "DBTEAMUserSelectorError.h"
#import "DBTEAMUsersSelectorArg.h"


// `TeamCommon` namespace types

#import "DBTEAMCOMMONGroupManagementType.h"
Expand All @@ -865,6 +881,7 @@
#import "DBTEAMCOMMONMemberSpaceLimitType.h"
#import "DBTEAMCOMMONTimeRange.h"


// `TeamLog` namespace types

#import "DBTEAMLOGAccessMethodLogInfo.h"
Expand Down Expand Up @@ -2053,6 +2070,7 @@
#import "DBTEAMLOGWebSessionsFixedLengthPolicy.h"
#import "DBTEAMLOGWebSessionsIdleLengthPolicy.h"


// `TeamPolicies` namespace types

#import "DBTEAMPOLICIESCameraUploadsPolicyState.h"
Expand Down Expand Up @@ -2086,6 +2104,7 @@
#import "DBTEAMPOLICIESTwoStepVerificationPolicy.h"
#import "DBTEAMPOLICIESTwoStepVerificationState.h"


// `Users` namespace types

#import "DBUSERSAccount.h"
Expand All @@ -2110,6 +2129,8 @@
#import "DBUSERSUserFeaturesGetValuesBatchError.h"
#import "DBUSERSUserFeaturesGetValuesBatchResult.h"


// `UsersCommon` namespace types

#import "DBUSERSCOMMONAccountType.h"

Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ NS_ASSUME_NONNULL_BEGIN
///
/// @return An initialized instance with the provided hostname configuration
///
- (instancetype)initWithMeta:(NSString *)meta api:(NSString *)api content:(NSString *)content downloadContent:(NSString *)downloadContent notify:(NSString *)notify NS_DESIGNATED_INITIALIZER;
- (instancetype)initWithMeta:(NSString *)meta
api:(NSString *)api
content:(NSString *)content
downloadContent:(NSString *)downloadContent
notify:(NSString *)notify NS_DESIGNATED_INITIALIZER;

///
/// Returns the prefix to use for API calls to the given route type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ - (instancetype)initWithMeta:(NSString *)meta
api:(NSString *)api
content:(NSString *)content
notify:(NSString *)notify {
return [self initWithMeta:meta api:api content:content downloadContent:content notify:notify];
return [self initWithMeta:meta api:api content:content downloadContent:content notify:notify];
}

- (instancetype)initWithMeta:(NSString *)meta
Expand All @@ -61,9 +61,9 @@ - (nullable NSString *)apiV2PrefixWithRoute:(DBRoute *)route {
return [NSString stringWithFormat:@"https://%@/2", _api];
case DBRouteHostContent:
if ([route.attrs[@"style"] isEqualToString:@"download"]) {
return [NSString stringWithFormat:@"https://%@/2", _downloadContent];
return [NSString stringWithFormat:@"https://%@/2", _downloadContent];
} else {
return [NSString stringWithFormat:@"https://%@/2", _content];
return [NSString stringWithFormat:@"https://%@/2", _content];
}
case DBRouteHostNotify:
return [NSString stringWithFormat:@"https://%@/2", _notify];
Expand Down
2 changes: 1 addition & 1 deletion stone

0 comments on commit 2f44435

Please sign in to comment.