mattermost-mobile/ios/UploadAttachments/UploadAttachments/StoreManager.h
Ryan Davis fffd31bf77 MM-14907 RN: iOS - No MattermostShare error when sharing text that is over server's max post size (#2713)
* RN: iOS - No MattermostShare error when sharing text that is over server's max post size

* MM-14907 Allow editing if over maxPostSize.

* MM-14907 Always On Character Count

* Readded work from MM-14836 Post-Merge

* Refactor of getMaxPostSize to match getMaxFileSize
2019-04-25 09:17:56 -04:00

24 lines
769 B
Objective-C

#import <Foundation/Foundation.h>
#import "MattermostBucket.h"
@interface StoreManager : NSObject
@property MattermostBucket *bucket;
@property (nonatomic, strong) NSDictionary *entities;
+(instancetype)shared;
-(NSDictionary *)getChannelById:(NSString *)channelId;
-(NSDictionary *)getChannelsBySections:(NSString *)forTeamId;
-(NSDictionary *)getCurrentChannel;
-(NSString *)getCurrentChannelId;
-(NSString *)getCurrentTeamId;
-(NSString *)getCurrentUserId;
-(NSDictionary *)getDefaultChannel:(NSString *)forTeamId;
-(NSDictionary *)getEntities:(BOOL)loadFromFile;
-(UInt64)getMaxImagePixels;
-(UInt64)getMaxFileSize;
-(UInt64)getMaxPostSize;
-(NSArray *)getMyTeams;
-(NSString *)getServerUrl;
-(NSString *)getToken;
-(void)updateEntities:(NSString *)content;
@end