@bscotch/blork-shared
Advanced tools
Comparing version 0.16.0 to 0.16.1
@@ -1,2 +0,2 @@ | ||
import { CommentData, TaskData, UserData, UserDataSafe } from './index.js'; | ||
import { CommentData, TaskData, UserDataSafe } from './index.js'; | ||
import { UserCache } from './util.users.js'; | ||
@@ -136,3 +136,3 @@ export * from './tasks.urls.js'; | ||
*/ | ||
export declare function taskAssignees(task: TaskData, users: UserCache): Set<UserData>; | ||
export declare function taskAssignees(task: TaskData, users: UserCache): Set<UserDataSafe>; | ||
/** | ||
@@ -171,2 +171,3 @@ * Given a task and user, determine if the task is doable | ||
export declare function isEmptyTask(task: TaskData | undefined): task is TaskData; | ||
export declare function diffTasks(a: TaskData, b: TaskData): void; | ||
//# sourceMappingURL=tasks.d.ts.map |
@@ -436,2 +436,4 @@ import { assert } from './errors.js'; | ||
const assignees = new Set(); | ||
if (task.taskId === rootTaskId) | ||
return assignees; | ||
const withoutNonowners = new Set(); | ||
@@ -476,2 +478,4 @@ const creator = users.get(task.creator); | ||
export function taskIsAssignedToUser(task, userId, users) { | ||
if (task.taskId === rootTaskId) | ||
return false; | ||
// Pull the user out of the cache to ensure we're comparing | ||
@@ -649,2 +653,3 @@ // identical objects refs. | ||
} | ||
export function diffTasks(a, b) { } | ||
//# sourceMappingURL=tasks.js.map |
{ | ||
"name": "@bscotch/blork-shared", | ||
"version": "0.16.0", | ||
"version": "0.16.1", | ||
"description": "Client and shared utilities for Blork projects.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
460147
7420