@weirdfingers/boards 0.9.0 → 0.9.2
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/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/hooks/useBoard.ts +2 -0
- package/src/hooks/useMultiUpload.ts +1 -1
package/src/hooks/useBoard.ts
CHANGED
|
@@ -295,6 +295,7 @@ export function useBoard(
|
|
|
295
295
|
|
|
296
296
|
// Placeholder implementations for sharing features
|
|
297
297
|
const generateShareLink = useCallback(
|
|
298
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
298
299
|
async (_options: ShareLinkOptions): Promise<ShareLink> => {
|
|
299
300
|
// TODO: Implement share link generation
|
|
300
301
|
throw new Error("Share links not implemented yet");
|
|
@@ -303,6 +304,7 @@ export function useBoard(
|
|
|
303
304
|
);
|
|
304
305
|
|
|
305
306
|
const revokeShareLink = useCallback(
|
|
307
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
306
308
|
async (_linkId: string): Promise<void> => {
|
|
307
309
|
// TODO: Implement share link revocation
|
|
308
310
|
throw new Error("Share link revocation not implemented yet");
|
|
@@ -182,7 +182,7 @@ export function useMultiUpload(): MultiUploadHook {
|
|
|
182
182
|
artifactType: data.artifactType as ArtifactType,
|
|
183
183
|
generatorName: data.generatorName,
|
|
184
184
|
});
|
|
185
|
-
} catch
|
|
185
|
+
} catch {
|
|
186
186
|
reject(new Error("Failed to parse response"));
|
|
187
187
|
}
|
|
188
188
|
} else {
|