refactor: use platform interfaces namespace

This commit is contained in:
2026-04-28 11:30:20 +00:00
parent 19344b2535
commit 4b3a2b2e75
6 changed files with 18 additions and 18 deletions
@@ -9,7 +9,7 @@ export class SzPushNotificationConnector {
}
public async sendPushNotification(
optionsArg: plugins.servezoneInterfaces.platformservice.pushnotification.IRequest_SendPushNotification['request']
optionsArg: plugins.servezoneInterfaces.platform.pushnotification.IReq_SendPushNotification['request']
) {
if (this.platformClientRef.debugMode) {
console.log('sendPushNotification', optionsArg);
@@ -20,7 +20,7 @@ export class SzPushNotificationConnector {
}
const typedRequest =
this.platformClientRef.typedsocket.createTypedRequest<plugins.servezoneInterfaces.platformservice.pushnotification.IRequest_SendPushNotification>(
this.platformClientRef.typedsocket.createTypedRequest<plugins.servezoneInterfaces.platform.pushnotification.IReq_SendPushNotification>(
'sendPushNotification'
);
const response = await typedRequest.fire(optionsArg);
@@ -31,4 +31,4 @@ export class SzPushNotificationConnector {
return response.status;
}
}
}