Skip to content

Commit 669ac4e

Browse files
refactor(Wind): Align Tauri command names with PascalCase convention
Update the Vine notification stream implementation to use PascalCase command identifiers for Tauri interactions, replacing `vine_subscribe_notifications` and `vine_subscriber_count` with `VineSubscribeNotifications` and `VineSubscriberCount`. This change ensures strict adherence to the project-wide PascalCase naming standard for all native backend interfaces, matching the conventions used in the Mountain and Common crates.
1 parent f98a0d3 commit 669ac4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/Effect/Vine/NotificationStream.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export const VineNotificationsLive = Layer.scoped(
114114
yield* Effect.acquireRelease(
115115
Effect.tryPromise({
116116
try: () =>
117-
tauri.invoke<number>("vine_subscribe_notifications", {
117+
tauri.invoke<number>("VineSubscribeNotifications", {
118118
channel,
119119
}),
120120
catch: (error) =>
@@ -179,7 +179,7 @@ export const SubscriberCount = Effect.gen(function* () {
179179
});
180180

181181
return yield* Effect.tryPromise({
182-
try: () => Module.invoke<number>("vine_subscriber_count"),
182+
try: () => Module.invoke<number>("VineSubscriberCount"),
183183
catch: (error) => new Error(`vine_subscriber_count: ${String(error)}`),
184184
});
185185
});

0 commit comments

Comments
 (0)