* 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
24 lines
769 B
Objective-C
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
|