@messenger-box/platform-server 0.0.1-alpha.249 → 0.0.1-alpha.255
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/lib/config/config.d.ts +6 -0
- package/lib/config/index.d.ts +1 -0
- package/lib/constants/default-notify-props.d.ts +7 -0
- package/lib/constants/extended-token-account.d.ts +3 -0
- package/lib/constants/index.d.ts +4 -0
- package/lib/constants/query.constants.d.ts +7 -0
- package/lib/containers/containers.d.ts +15 -0
- package/lib/containers/context-services-from-container.d.ts +3 -0
- package/lib/containers/index.d.ts +2 -0
- package/lib/enums/index.d.ts +1 -0
- package/lib/enums/notification-duration-unit-enum.d.ts +5 -0
- package/lib/graphql/index.d.ts +2 -0
- package/lib/graphql/resolvers/channel-member.d.ts +3 -0
- package/lib/graphql/resolvers/channel.d.ts +3 -0
- package/lib/graphql/resolvers/extended-token-account.d.ts +29 -0
- package/lib/graphql/resolvers/index.d.ts +28 -0
- package/lib/graphql/resolvers/post-thread.d.ts +3 -0
- package/lib/graphql/resolvers/post.d.ts +3 -0
- package/lib/graphql/resolvers/reaction.d.ts +3 -0
- package/lib/graphql/schema/index.d.ts +2 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +3759 -0
- package/lib/index.js.map +1 -0
- package/lib/interfaces/channel-member.d.ts +8 -0
- package/lib/interfaces/channel-repository.d.ts +3 -0
- package/lib/interfaces/context.d.ts +15 -0
- package/lib/interfaces/index.d.ts +13 -0
- package/lib/interfaces/messenger-notification-service-interface.d.ts +4 -0
- package/lib/interfaces/notifications.d.ts +7 -0
- package/lib/interfaces/post-repository.d.ts +3 -0
- package/lib/interfaces/post-thread-repository.d.ts +3 -0
- package/lib/interfaces/post-thread-service.d.ts +3 -0
- package/lib/interfaces/reaction-repository.d.ts +3 -0
- package/lib/interfaces/reaction-service.d.ts +6 -0
- package/lib/interfaces/services.d.ts +15 -0
- package/lib/migrations/index.d.ts +1 -0
- package/lib/migrations/message-notification-template-migration.d.ts +15 -0
- package/lib/module.d.ts +3 -0
- package/lib/plugins/channel-moleculer-service.d.ts +8 -0
- package/lib/plugins/index.d.ts +5 -0
- package/lib/plugins/messenger-notification-moleculer-service.d.ts +14 -0
- package/lib/plugins/post-moleculer-service.d.ts +8 -0
- package/lib/plugins/post-thread-moleculer-service.d.ts +8 -0
- package/lib/plugins/reaction-moleculer-service.d.ts +8 -0
- package/lib/preferences/index.d.ts +1 -0
- package/lib/preferences/settings/index.d.ts +1 -0
- package/lib/preferences/settings/post-settings.d.ts +13 -0
- package/lib/services/channel-service.d.ts +44 -0
- package/lib/services/extended-token-account-service.d.ts +23 -0
- package/lib/services/index.d.ts +6 -0
- package/lib/services/messenger-notification-service.d.ts +32 -0
- package/lib/services/post-service.d.ts +18 -0
- package/lib/services/post-thread-service.d.ts +7 -0
- package/lib/services/proxy-services/channel-microservice.d.ts +50 -0
- package/lib/services/proxy-services/index.d.ts +5 -0
- package/lib/services/proxy-services/messenger-notification-microservice.d.ts +13 -0
- package/lib/services/proxy-services/post-microservice.d.ts +16 -0
- package/lib/services/proxy-services/post-thread-microservice.d.ts +9 -0
- package/lib/services/proxy-services/reaction-microservice.d.ts +9 -0
- package/lib/services/reaction-service.d.ts +7 -0
- package/lib/store/index.d.ts +1 -0
- package/lib/store/models/account-token-store.d.ts +4 -0
- package/lib/store/models/channel.d.ts +5 -0
- package/lib/store/models/common-options.d.ts +15 -0
- package/lib/store/models/index.d.ts +5 -0
- package/lib/store/models/post-thread.d.ts +5 -0
- package/lib/store/models/post.d.ts +5 -0
- package/lib/store/models/reaction.d.ts +5 -0
- package/lib/store/repositories/channel-repository.d.ts +7 -0
- package/lib/store/repositories/index.d.ts +4 -0
- package/lib/store/repositories/post-repository.d.ts +7 -0
- package/lib/store/repositories/post-thread-repository.d.ts +7 -0
- package/lib/store/repositories/reaction-repository.d.ts +8 -0
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { interfaces } from 'inversify';
|
|
2
|
+
/**
|
|
3
|
+
* Local services and exposed microservices to serve remote connections.
|
|
4
|
+
* Operates within in the Gateway.
|
|
5
|
+
*
|
|
6
|
+
* @param settings Settings
|
|
7
|
+
*/
|
|
8
|
+
export declare const proxyServiceContainerModule: (settings: any) => interfaces.ContainerModule;
|
|
9
|
+
/**
|
|
10
|
+
* Operates external to the Gateway. Usually a broker listen to calls and invoke this service
|
|
11
|
+
* local to the micro container.
|
|
12
|
+
*
|
|
13
|
+
* @param settings Settings
|
|
14
|
+
*/
|
|
15
|
+
export declare const serviceContainerModule: (settings: any) => interfaces.ContainerModule;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { NotificationDurationUnitEnum } from './notification-duration-unit-enum';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IUserAccount } from '@adminide-stack/core';
|
|
2
|
+
export declare const resolver: () => {
|
|
3
|
+
UserAccount: {
|
|
4
|
+
deviceToken(src: IUserAccount, args: any, { extendedTokenAccountService }: {
|
|
5
|
+
extendedTokenAccountService: any;
|
|
6
|
+
}): Promise<any>;
|
|
7
|
+
};
|
|
8
|
+
Query: {
|
|
9
|
+
getDeviceToken(src: IUserAccount, args: any, { extendedTokenAccountService, userContext, accountService }: {
|
|
10
|
+
extendedTokenAccountService: any;
|
|
11
|
+
userContext: any;
|
|
12
|
+
accountService: any;
|
|
13
|
+
}): Promise<any>;
|
|
14
|
+
};
|
|
15
|
+
Mutation: {
|
|
16
|
+
setDeviceToken(_: any, { deviceToken }: {
|
|
17
|
+
deviceToken: any;
|
|
18
|
+
}, { extendedTokenAccountService, userContext }: {
|
|
19
|
+
extendedTokenAccountService: any;
|
|
20
|
+
userContext: any;
|
|
21
|
+
}): any;
|
|
22
|
+
removeDeviceToken(_: any, { deviceToken }: {
|
|
23
|
+
deviceToken: any;
|
|
24
|
+
}, { extendedTokenAccountService, userContext }: {
|
|
25
|
+
extendedTokenAccountService: any;
|
|
26
|
+
userContext: any;
|
|
27
|
+
}): any;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const messengerResolvers: ((() => {
|
|
2
|
+
UserAccount: {
|
|
3
|
+
deviceToken(src: import("@adminide-stack/core").IUserAccount, args: any, { extendedTokenAccountService }: {
|
|
4
|
+
extendedTokenAccountService: any;
|
|
5
|
+
}): Promise<any>;
|
|
6
|
+
};
|
|
7
|
+
Query: {
|
|
8
|
+
getDeviceToken(src: import("@adminide-stack/core").IUserAccount, args: any, { extendedTokenAccountService, userContext, accountService }: {
|
|
9
|
+
extendedTokenAccountService: any;
|
|
10
|
+
userContext: any;
|
|
11
|
+
accountService: any;
|
|
12
|
+
}): Promise<any>;
|
|
13
|
+
};
|
|
14
|
+
Mutation: {
|
|
15
|
+
setDeviceToken(_: any, { deviceToken }: {
|
|
16
|
+
deviceToken: any;
|
|
17
|
+
}, { extendedTokenAccountService, userContext }: {
|
|
18
|
+
extendedTokenAccountService: any;
|
|
19
|
+
userContext: any;
|
|
20
|
+
}): any;
|
|
21
|
+
removeDeviceToken(_: any, { deviceToken }: {
|
|
22
|
+
deviceToken: any;
|
|
23
|
+
}, { extendedTokenAccountService, userContext }: {
|
|
24
|
+
extendedTokenAccountService: any;
|
|
25
|
+
userContext: any;
|
|
26
|
+
}): any;
|
|
27
|
+
};
|
|
28
|
+
}) | (() => import("@messenger-box/core").IResolvers<import("../..").IContext>))[];
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Feature } from '@common-stack/server-core';
|
|
2
|
+
export * from './constants';
|
|
3
|
+
declare const _default: Feature<import("@common-stack/server-core").ConfigurationScope>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export { PostTypes } from './preferences';
|
|
6
|
+
export * from './interfaces';
|