@messenger-box/platform-client 0.0.1-alpha.388 → 0.0.1-alpha.390

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messenger-box/platform-client",
3
- "version": "0.0.1-alpha.388",
3
+ "version": "0.0.1-alpha.390",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@container-stack/file-info-client": "^0.0.35-alpha.34",
23
- "@messenger-box/core": "0.0.1-alpha.388",
23
+ "@messenger-box/core": "0.0.1-alpha.390",
24
24
  "key-mirror": "1.0.1",
25
25
  "moment-timezone": "0.5.33"
26
26
  },
@@ -34,5 +34,5 @@
34
34
  "typescript": {
35
35
  "definition": "lib/index.d.ts"
36
36
  },
37
- "gitHead": "7e452393287fbd142a2a728afde2d68cd583840b"
37
+ "gitHead": "8f4e2a83b09746478c505c5648c82700ec8e3d85"
38
38
  }
@@ -3339,7 +3339,6 @@ export type ISubscription = {
3339
3339
  SubscribeToPolicyUpdate?: Maybe<IConfigurationUpdateEvent>;
3340
3340
  chatMessageAdded?: Maybe<IPost>;
3341
3341
  dummy?: Maybe<Scalars['Int']>;
3342
- getNewPostId?: Maybe<Scalars['ID']>;
3343
3342
  publicPostAdded?: Maybe<IPost>;
3344
3343
  threadChatMessageAdded?: Maybe<IPost>;
3345
3344
  threadCreatedUpdated?: Maybe<IThreadCreatedUpdated>;
@@ -4786,14 +4785,6 @@ export type IOnChatMessageAddedSubscription = (
4786
4785
  )> }
4787
4786
  );
4788
4787
 
4789
- export type IOnPublishGetNewPostIdSubscriptionVariables = Exact<{ [key: string]: never; }>;
4790
-
4791
-
4792
- export type IOnPublishGetNewPostIdSubscription = (
4793
- { __typename?: 'Subscription' }
4794
- & Pick<ISubscription, 'getNewPostId'>
4795
- );
4796
-
4797
4788
  export type IOnPublicPostAddedSubscriptionVariables = Exact<{
4798
4789
  channelId: Scalars['String'];
4799
4790
  }>;
@@ -6880,7 +6871,6 @@ export type ISubscriptionResolvers<ContextType = any, ParentType extends IResolv
6880
6871
  SubscribeToPolicyUpdate?: SubscriptionResolver<Maybe<IResolversTypes['ConfigurationUpdateEvent']>, "SubscribeToPolicyUpdate", ParentType, ContextType, RequireFields<ISubscriptionSubscribeToPolicyUpdateArgs, never>>;
6881
6872
  chatMessageAdded?: SubscriptionResolver<Maybe<IResolversTypes['Post']>, "chatMessageAdded", ParentType, ContextType, RequireFields<ISubscriptionChatMessageAddedArgs, never>>;
6882
6873
  dummy?: SubscriptionResolver<Maybe<IResolversTypes['Int']>, "dummy", ParentType, ContextType>;
6883
- getNewPostId?: SubscriptionResolver<Maybe<IResolversTypes['ID']>, "getNewPostId", ParentType, ContextType>;
6884
6874
  publicPostAdded?: SubscriptionResolver<Maybe<IResolversTypes['Post']>, "publicPostAdded", ParentType, ContextType, RequireFields<ISubscriptionPublicPostAddedArgs, 'channelId'>>;
6885
6875
  threadChatMessageAdded?: SubscriptionResolver<Maybe<IResolversTypes['Post']>, "threadChatMessageAdded", ParentType, ContextType, RequireFields<ISubscriptionThreadChatMessageAddedArgs, never>>;
6886
6876
  threadCreatedUpdated?: SubscriptionResolver<Maybe<IResolversTypes['ThreadCreatedUpdated']>, "threadCreatedUpdated", ParentType, ContextType, RequireFields<ISubscriptionThreadCreatedUpdatedArgs, never>>;
@@ -8514,29 +8504,6 @@ export function useOnChatMessageAddedSubscription(baseOptions?: Apollo.Subscript
8514
8504
  }
8515
8505
  export type OnChatMessageAddedSubscriptionHookResult = ReturnType<typeof useOnChatMessageAddedSubscription>;
8516
8506
  export type OnChatMessageAddedSubscriptionResult = Apollo.SubscriptionResult<IOnChatMessageAddedSubscription>;
8517
- export const OnPublishGetNewPostIdDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"onPublishGetNewPostId"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"getNewPostId"}}]}}]} as unknown as DocumentNode;
8518
-
8519
- /**
8520
- * __useOnPublishGetNewPostIdSubscription__
8521
- *
8522
- * To run a query within a React component, call `useOnPublishGetNewPostIdSubscription` and pass it any options that fit your needs.
8523
- * When your component renders, `useOnPublishGetNewPostIdSubscription` returns an object from Apollo Client that contains loading, error, and data properties
8524
- * you can use to render your UI.
8525
- *
8526
- * @param baseOptions options that will be passed into the subscription, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
8527
- *
8528
- * @example
8529
- * const { data, loading, error } = useOnPublishGetNewPostIdSubscription({
8530
- * variables: {
8531
- * },
8532
- * });
8533
- */
8534
- export function useOnPublishGetNewPostIdSubscription(baseOptions?: Apollo.SubscriptionHookOptions<IOnPublishGetNewPostIdSubscription, IOnPublishGetNewPostIdSubscriptionVariables>) {
8535
- const options = {...defaultOptions, ...baseOptions}
8536
- return Apollo.useSubscription<IOnPublishGetNewPostIdSubscription, IOnPublishGetNewPostIdSubscriptionVariables>(OnPublishGetNewPostIdDocument, options);
8537
- }
8538
- export type OnPublishGetNewPostIdSubscriptionHookResult = ReturnType<typeof useOnPublishGetNewPostIdSubscription>;
8539
- export type OnPublishGetNewPostIdSubscriptionResult = Apollo.SubscriptionResult<IOnPublishGetNewPostIdSubscription>;
8540
8507
  export const OnPublicPostAddedDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"subscription","name":{"kind":"Name","value":"onPublicPostAdded"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"publicPostAdded"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"channelId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"channelId"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Post"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Configuration"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"IConfigurationModel"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"resource"}},{"kind":"Field","name":{"kind":"Name","value":"target"}},{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"keys"}},{"kind":"Field","name":{"kind":"Name","value":"overrides"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"contents"}},{"kind":"Field","name":{"kind":"Name","value":"identifiers"}}]}},{"kind":"Field","name":{"kind":"Name","value":"__typename"}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"MessengerUser"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"UserAccount"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"givenName"}},{"kind":"Field","name":{"kind":"Name","value":"familyName"}},{"kind":"Field","name":{"kind":"Name","value":"email"}},{"kind":"Field","name":{"kind":"Name","value":"username"}},{"kind":"Field","name":{"kind":"Name","value":"picture"}},{"kind":"Field","name":{"kind":"Name","value":"alias"}},{"kind":"Field","name":{"kind":"Name","value":"tokens"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"token"}},{"kind":"Field","name":{"kind":"Name","value":"valid"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"Post"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Post"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MessengerUser"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isDelivered"}},{"kind":"Field","name":{"kind":"Name","value":"isRead"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromServer"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"props"}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"replies"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"PostReplies"}}]}}]}},{"kind":"FragmentDefinition","name":{"kind":"Name","value":"PostReplies"},"typeCondition":{"kind":"NamedType","name":{"kind":"Name","value":"Messages"}},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"author"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"MessengerUser"}}]}},{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"isPinned"}},{"kind":"Field","name":{"kind":"Name","value":"message"}},{"kind":"Field","name":{"kind":"Name","value":"type"}},{"kind":"Field","name":{"kind":"Name","value":"isDelivered"}},{"kind":"Field","name":{"kind":"Name","value":"isRead"}},{"kind":"Field","name":{"kind":"Name","value":"parentId"}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"fromServer"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}},{"kind":"Field","name":{"kind":"Name","value":"propsConfiguration"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"FragmentSpread","name":{"kind":"Name","value":"Configuration"}}]}},{"kind":"Field","name":{"kind":"Name","value":"props"}},{"kind":"Field","name":{"kind":"Name","value":"files"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"totalCount"}},{"kind":"Field","name":{"kind":"Name","value":"data"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"extension"}},{"kind":"Field","name":{"kind":"Name","value":"mimeType"}},{"kind":"Field","name":{"kind":"Name","value":"height"}},{"kind":"Field","name":{"kind":"Name","value":"width"}},{"kind":"Field","name":{"kind":"Name","value":"size"}},{"kind":"Field","name":{"kind":"Name","value":"url"}},{"kind":"Field","name":{"kind":"Name","value":"refType"}}]}}]}}]}}]}}]} as unknown as DocumentNode;
8541
8508
 
8542
8509
  /**
@@ -1,4 +0,0 @@
1
-
2
- subscription onPublishGetNewPostId {
3
- getNewPostId
4
- }