@messenger-box/platform-client 0.0.1-alpha.190 → 0.0.1-alpha.198

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,36 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.0.1-alpha.198](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.197...v0.0.1-alpha.198) (2022-07-30)
7
+
8
+ **Note:** Version bump only for package @messenger-box/platform-client
9
+
10
+
11
+
12
+
13
+
14
+ ## [0.0.1-alpha.192](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.191...v0.0.1-alpha.192) (2022-07-15)
15
+
16
+
17
+ ### Features
18
+
19
+ * add proeprty ext module with fills based on property types ([9728317](https://github.com/cdmbase/messenger-box/commit/97283176059dca7e4bd78ad4de7bc26ae0492387))
20
+
21
+
22
+
23
+
24
+
25
+ ## [0.0.1-alpha.191](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.190...v0.0.1-alpha.191) (2022-07-08)
26
+
27
+
28
+ ### Features
29
+
30
+ * **messenger:** add filters to users channel query ([6b349c6](https://github.com/cdmbase/messenger-box/commit/6b349c6db204413dd3f5eb991f8fc8d80a0304a2))
31
+
32
+
33
+
34
+
35
+
6
36
  ## [0.0.1-alpha.190](https://github.com/cdmbase/messenger-box/compare/v0.0.1-alpha.189...v0.0.1-alpha.190) (2022-07-07)
7
37
 
8
38
 
@@ -2025,7 +2025,7 @@ export declare type IPost = IIBaseRepo & IIFileRef & {
2025
2025
  /** Set to highlight the background of the post */
2026
2026
  shouldHighlight?: Maybe<Scalars['Boolean']>;
2027
2027
  togglePostMenu?: Maybe<Scalars['Boolean']>;
2028
- type?: Maybe<Scalars['String']>;
2028
+ type?: Maybe<IPostTypeEnum>;
2029
2029
  updatedAt?: Maybe<Scalars['DateTime']>;
2030
2030
  };
2031
2031
  export declare type IPostfilesArgs = {
@@ -2057,6 +2057,11 @@ export declare type IPostThread = {
2057
2057
  lastReplyAt?: Maybe<Scalars['DateTime']>;
2058
2058
  participants?: Maybe<Array<Maybe<IUserAccount>>>;
2059
2059
  };
2060
+ export declare enum IPostTypeEnum {
2061
+ ALERT = "ALERT",
2062
+ CARD = "CARD",
2063
+ Simple = "Simple"
2064
+ }
2060
2065
  export declare enum IPreDefinedRole {
2061
2066
  OWNER = "OWNER",
2062
2067
  ADMIN = "ADMIN",
@@ -2399,6 +2404,13 @@ export declare type IQuerychannelByNameArgs = {
2399
2404
  export declare type IQuerychannelsArgs = {
2400
2405
  filter?: Maybe<IChannelFilterInput>;
2401
2406
  };
2407
+ export declare type IQuerychannelsByUserArgs = {
2408
+ role?: Maybe<Scalars['String']>;
2409
+ criteria?: Maybe<Scalars['AnyObject']>;
2410
+ limit?: Maybe<Scalars['Int']>;
2411
+ skip?: Maybe<Scalars['Int']>;
2412
+ sort?: Maybe<ISort>;
2413
+ };
2402
2414
  export declare type IQuerycurrentUserArgs = {
2403
2415
  auth0Id: Scalars['String'];
2404
2416
  };
@@ -3402,7 +3414,11 @@ export declare type IGetAllChannelQuery = ({
3402
3414
  })>>>;
3403
3415
  });
3404
3416
  export declare type IGetChannelsByUserQueryVariables = Exact<{
3405
- [key: string]: never;
3417
+ role?: Maybe<Scalars['String']>;
3418
+ criteria?: Maybe<Scalars['AnyObject']>;
3419
+ limit?: Maybe<Scalars['Int']>;
3420
+ skip?: Maybe<Scalars['Int']>;
3421
+ sort?: Maybe<ISort>;
3406
3422
  }>;
3407
3423
  export declare type IGetChannelsByUserQuery = ({
3408
3424
  __typename?: 'Query';
@@ -3580,6 +3596,8 @@ export declare type IResolversTypes = {
3580
3596
  ChannelFilterInput: IChannelFilterInput;
3581
3597
  ChannelPrivacy: IChannelPrivacy;
3582
3598
  ChannelSort: IChannelSort;
3599
+ Sort: ISort;
3600
+ SortEnum: ISortEnum;
3583
3601
  OrganizationInvitationDecode: ResolverTypeWrapper<IOrganizationInvitationDecode>;
3584
3602
  SettingsGroup: ResolverTypeWrapper<ISettingsGroup>;
3585
3603
  Range: ResolverTypeWrapper<IRange>;
@@ -3635,8 +3653,6 @@ export declare type IResolversTypes = {
3635
3653
  UserDevice: ResolverTypeWrapper<IUserDevice>;
3636
3654
  FileInfo: ResolverTypeWrapper<IFileInfo>;
3637
3655
  FileRefType: IFileRefType;
3638
- Sort: ISort;
3639
- SortEnum: ISortEnum;
3640
3656
  FilesInfo: ResolverTypeWrapper<IFilesInfo>;
3641
3657
  IntegrationConfigurationFilterInput: IIntegrationConfigurationFilterInput;
3642
3658
  IntegrationConfiguration: ResolverTypeWrapper<IIntegrationConfiguration>;
@@ -3710,6 +3726,7 @@ export declare type IResolversTypes = {
3710
3726
  Reaction: ResolverTypeWrapper<IReaction>;
3711
3727
  Post: ResolverTypeWrapper<IPost>;
3712
3728
  IFileRef: IResolversTypes['Post'];
3729
+ PostTypeEnum: IPostTypeEnum;
3713
3730
  Project_Output: ResolverTypeWrapper<IProject_Output>;
3714
3731
  RoleInput: IRoleInput;
3715
3732
  Task: ResolverTypeWrapper<ITask>;
@@ -3880,6 +3897,7 @@ export declare type IResolversParentTypes = {
3880
3897
  ChannelMember: IChannelMember;
3881
3898
  AnyObject: Scalars['AnyObject'];
3882
3899
  ChannelFilterInput: IChannelFilterInput;
3900
+ Sort: ISort;
3883
3901
  OrganizationInvitationDecode: IOrganizationInvitationDecode;
3884
3902
  SettingsGroup: ISettingsGroup;
3885
3903
  Range: IRange;
@@ -3929,7 +3947,6 @@ export declare type IResolversParentTypes = {
3929
3947
  UserMetadata: IUserMetadata;
3930
3948
  UserDevice: IUserDevice;
3931
3949
  FileInfo: IFileInfo;
3932
- Sort: ISort;
3933
3950
  FilesInfo: IFilesInfo;
3934
3951
  IntegrationConfigurationFilterInput: IIntegrationConfigurationFilterInput;
3935
3952
  IntegrationConfiguration: IIntegrationConfiguration;
@@ -5100,7 +5117,7 @@ export declare type IPostResolvers<ContextType = any, ParentType extends IResolv
5100
5117
  rootId?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5101
5118
  shouldHighlight?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
5102
5119
  togglePostMenu?: Resolver<Maybe<IResolversTypes['Boolean']>, ParentType, ContextType>;
5103
- type?: Resolver<Maybe<IResolversTypes['String']>, ParentType, ContextType>;
5120
+ type?: Resolver<Maybe<IResolversTypes['PostTypeEnum']>, ParentType, ContextType>;
5104
5121
  updatedAt?: Resolver<Maybe<IResolversTypes['DateTime']>, ParentType, ContextType>;
5105
5122
  __isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
5106
5123
  };
@@ -5276,7 +5293,7 @@ export declare type IProjectSourceResolvers<ContextType = any, ParentType extend
5276
5293
  export declare type IQueryResolvers<ContextType = any, ParentType extends IResolversParentTypes['Query'] = IResolversParentTypes['Query']> = {
5277
5294
  channelByName?: Resolver<Maybe<IResolversTypes['Channel']>, ParentType, ContextType, RequireFields<IQuerychannelByNameArgs, 'name'>>;
5278
5295
  channels?: Resolver<Maybe<Array<Maybe<IResolversTypes['Channel']>>>, ParentType, ContextType, RequireFields<IQuerychannelsArgs, 'filter'>>;
5279
- channelsByUser?: Resolver<Maybe<Array<Maybe<IResolversTypes['Channel']>>>, ParentType, ContextType>;
5296
+ channelsByUser?: Resolver<Maybe<Array<Maybe<IResolversTypes['Channel']>>>, ParentType, ContextType, RequireFields<IQuerychannelsByUserArgs, never>>;
5280
5297
  currentUser?: Resolver<Maybe<IResolversTypes['UserAccount']>, ParentType, ContextType, RequireFields<IQuerycurrentUserArgs, 'auth0Id'>>;
5281
5298
  decodeOrganizationInvitation?: Resolver<Maybe<IResolversTypes['OrganizationInvitationDecode']>, ParentType, ContextType, RequireFields<IQuerydecodeOrganizationInvitationArgs, 'token'>>;
5282
5299
  defaultPermissions?: Resolver<Maybe<Array<Maybe<IResolversTypes['SettingsGroup']>>>, ParentType, ContextType, RequireFields<IQuerydefaultPermissionsArgs, never>>;
@@ -6125,14 +6142,27 @@ export declare const GetChannelsByUserDocument: DocumentNode;
6125
6142
  * @example
6126
6143
  * const { data, loading, error } = useGetChannelsByUserQuery({
6127
6144
  * variables: {
6145
+ * role: // value for 'role'
6146
+ * criteria: // value for 'criteria'
6147
+ * limit: // value for 'limit'
6148
+ * skip: // value for 'skip'
6149
+ * sort: // value for 'sort'
6128
6150
  * },
6129
6151
  * });
6130
6152
  */
6131
6153
  export declare function useGetChannelsByUserQuery(baseOptions?: Apollo.QueryHookOptions<IGetChannelsByUserQuery, IGetChannelsByUserQueryVariables>): Apollo.QueryResult<IGetChannelsByUserQuery, Exact<{
6132
- [key: string]: never;
6154
+ role?: string;
6155
+ criteria?: any;
6156
+ limit?: number;
6157
+ skip?: number;
6158
+ sort?: ISort;
6133
6159
  }>>;
6134
6160
  export declare function useGetChannelsByUserLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<IGetChannelsByUserQuery, IGetChannelsByUserQueryVariables>): Apollo.QueryTuple<IGetChannelsByUserQuery, Exact<{
6135
- [key: string]: never;
6161
+ role?: string;
6162
+ criteria?: any;
6163
+ limit?: number;
6164
+ skip?: number;
6165
+ sort?: ISort;
6136
6166
  }>>;
6137
6167
  export declare type GetChannelsByUserQueryHookResult = ReturnType<typeof useGetChannelsByUserQuery>;
6138
6168
  export declare type GetChannelsByUserLazyQueryHookResult = ReturnType<typeof useGetChannelsByUserLazyQuery>;