New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bscotch/blork-shared

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bscotch/blork-shared - npm Package Compare versions

Comparing version 0.14.0 to 0.15.0

8

dist/client.d.ts

@@ -105,9 +105,9 @@ import { BaseError } from './errors.js';

updateTemplate(templateId: string, patch: TaskTemplatePatch): Promise<{
name: string;
description: string;
templateId: string;
creator: string;
template: string;
createdAt: Date;
updatedAt: Date;
name: string;
description: string;
template: string;
templateId: string;
}>;

@@ -114,0 +114,0 @@ deleteTemplate(templateId: string): Promise<void>;

export declare const maxAttachmentSize = 150000000;
export declare const deletionRecoveryWindowSeconds: number;
//# sourceMappingURL=constants.d.ts.map
export const maxAttachmentSize = 150_000_000;
export const deletionRecoveryWindowSeconds = 60 * 60 * 24 * 7 * 2; // 2 weeks
//# sourceMappingURL=constants.js.map

@@ -522,4 +522,2 @@ import { assert } from './errors.js';

task.children.every((childId) => tasks.get(childId)?.done) &&
// is not a pinned task
!user.pins?.includes(task.taskId) &&
// is not blocked

@@ -526,0 +524,0 @@ isNotBlocked(tasks, task.taskId);

@@ -44,11 +44,11 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;
bytes: number;
}, {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -68,28 +68,28 @@ bytes: number;

}, "strip", z.ZodTypeAny, {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;
blocking?: boolean | undefined;
}, {
creator: string;
taskId: string;
commentId: string;
taskId: string;
creator: string;
comment: string;
createdAt?: unknown;
updatedAt?: unknown;
done?: boolean | undefined;
owner?: string | null | undefined;
done?: boolean | undefined;
blocking?: boolean | undefined;
createdAt?: unknown;
updatedAt?: unknown;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
taskId: string;
creator: string;
done: boolean | null;
createdAt: Date;
updatedAt: Date;
done: boolean | null;
taskId: string;
owners: string[];

@@ -110,5 +110,5 @@ parents: string[];

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -118,9 +118,9 @@ bytes: number;

comments?: {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;

@@ -130,13 +130,13 @@ blocking?: boolean | undefined;

}, {
creator: string;
taskId: string;
creator: string;
owners: string[];
parents: string[];
done?: boolean | null | undefined;
description?: string | null | undefined;
createdAt?: unknown;
updatedAt?: unknown;
description?: string | null | undefined;
deletedAt?: unknown;
locked?: boolean | null | undefined;
backlogged?: boolean | null | undefined;
done?: boolean | null | undefined;
hours?: number | null | undefined;

@@ -151,5 +151,5 @@ starred?: boolean | null | undefined;

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -159,18 +159,18 @@ bytes: number;

comments?: {
creator: string;
taskId: string;
commentId: string;
taskId: string;
creator: string;
comment: string;
createdAt?: unknown;
updatedAt?: unknown;
done?: boolean | undefined;
owner?: string | null | undefined;
done?: boolean | undefined;
blocking?: boolean | undefined;
createdAt?: unknown;
updatedAt?: unknown;
}[] | undefined;
}>, {
taskId: string;
creator: string;
done: boolean | null;
createdAt: Date;
updatedAt: Date;
done: boolean | null;
taskId: string;
owners: string[];

@@ -191,5 +191,5 @@ parents: string[];

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -199,9 +199,9 @@ bytes: number;

comments?: {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;

@@ -232,11 +232,11 @@ blocking?: boolean | undefined;

}, "strip", z.ZodTypeAny, {
templateId?: string | undefined;
template?: string | undefined;
tasks?: TaskCreate[] | undefined;
template?: string | undefined;
templateId?: string | undefined;
substitutions?: Record<string, string> | undefined;
position?: number | undefined;
}, {
templateId?: string | undefined;
template?: string | undefined;
tasks?: TaskCreate[] | undefined;
template?: string | undefined;
templateId?: string | undefined;
substitutions?: Record<string, string> | undefined;

@@ -316,8 +316,8 @@ position?: number | undefined;

}, "strip", z.ZodTypeAny, {
kind: "recover";
taskId: string;
kind: "recover";
recursive?: boolean | undefined;
}, {
kind: "recover";
taskId: string;
kind: "recover";
recursive?: boolean | undefined;

@@ -330,7 +330,7 @@ }>;

}, "strip", z.ZodTypeAny, {
kind: "set-done";
done: boolean;
}, {
kind: "set-done";
}, {
done: boolean;
kind: "set-done";
}>;

@@ -497,8 +497,8 @@ export type TaskPatchLocked = z.infer<typeof taskPatchLockedSchema>;

}, "strip", z.ZodTypeAny, {
kind: "recover";
taskId: string;
kind: "recover";
recursive?: boolean | undefined;
}, {
kind: "recover";
taskId: string;
kind: "recover";
recursive?: boolean | undefined;

@@ -509,7 +509,7 @@ }>, z.ZodObject<{

}, "strip", z.ZodTypeAny, {
kind: "set-done";
done: boolean;
}, {
kind: "set-done";
}, {
done: boolean;
kind: "set-done";
}>, z.ZodObject<{

@@ -622,7 +622,7 @@ kind: z.ZodLiteral<"set-locked">;

at: Date;
event: string;
taskId: string;
}, {
event: string;
}, {
taskId: string;
event: string;
at?: unknown;

@@ -639,7 +639,7 @@ }>;

at: Date;
event: "taskDeleted";
taskId: string;
}, {
event: "taskDeleted";
}, {
taskId: string;
event: "taskDeleted";
at?: unknown;

@@ -681,11 +681,11 @@ }>;

}, "strip", z.ZodTypeAny, {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;
bytes: number;
}, {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -705,28 +705,28 @@ bytes: number;

}, "strip", z.ZodTypeAny, {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;
blocking?: boolean | undefined;
}, {
creator: string;
taskId: string;
commentId: string;
taskId: string;
creator: string;
comment: string;
createdAt?: unknown;
updatedAt?: unknown;
done?: boolean | undefined;
owner?: string | null | undefined;
done?: boolean | undefined;
blocking?: boolean | undefined;
createdAt?: unknown;
updatedAt?: unknown;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
taskId: string;
creator: string;
done: boolean | null;
createdAt: Date;
updatedAt: Date;
done: boolean | null;
taskId: string;
owners: string[];

@@ -747,5 +747,5 @@ parents: string[];

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -755,9 +755,9 @@ bytes: number;

comments?: {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;

@@ -767,13 +767,13 @@ blocking?: boolean | undefined;

}, {
creator: string;
taskId: string;
creator: string;
owners: string[];
parents: string[];
done?: boolean | null | undefined;
description?: string | null | undefined;
createdAt?: unknown;
updatedAt?: unknown;
description?: string | null | undefined;
deletedAt?: unknown;
locked?: boolean | null | undefined;
backlogged?: boolean | null | undefined;
done?: boolean | null | undefined;
hours?: number | null | undefined;

@@ -788,5 +788,5 @@ starred?: boolean | null | undefined;

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -796,18 +796,18 @@ bytes: number;

comments?: {
creator: string;
taskId: string;
commentId: string;
taskId: string;
creator: string;
comment: string;
createdAt?: unknown;
updatedAt?: unknown;
done?: boolean | undefined;
owner?: string | null | undefined;
done?: boolean | undefined;
blocking?: boolean | undefined;
createdAt?: unknown;
updatedAt?: unknown;
}[] | undefined;
}>, {
taskId: string;
creator: string;
done: boolean | null;
createdAt: Date;
updatedAt: Date;
done: boolean | null;
taskId: string;
owners: string[];

@@ -828,5 +828,5 @@ parents: string[];

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -836,9 +836,9 @@ bytes: number;

comments?: {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;

@@ -850,10 +850,9 @@ blocking?: boolean | undefined;

at: Date;
taskId: string;
event: "taskCreated";
task: {
taskId: string;
creator: string;
done: boolean | null;
createdAt: Date;
updatedAt: Date;
done: boolean | null;
taskId: string;
owners: string[];

@@ -874,5 +873,5 @@ parents: string[];

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -882,9 +881,9 @@ bytes: number;

comments?: {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;

@@ -894,5 +893,6 @@ blocking?: boolean | undefined;

};
taskId: string;
}, {
event: "taskCreated";
taskId: string;
event: "taskCreated";
at?: unknown;

@@ -935,11 +935,11 @@ task?: unknown;

}, "strip", z.ZodTypeAny, {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;
bytes: number;
}, {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -959,28 +959,28 @@ bytes: number;

}, "strip", z.ZodTypeAny, {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;
blocking?: boolean | undefined;
}, {
creator: string;
taskId: string;
commentId: string;
taskId: string;
creator: string;
comment: string;
createdAt?: unknown;
updatedAt?: unknown;
done?: boolean | undefined;
owner?: string | null | undefined;
done?: boolean | undefined;
blocking?: boolean | undefined;
createdAt?: unknown;
updatedAt?: unknown;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
taskId: string;
creator: string;
done: boolean | null;
createdAt: Date;
updatedAt: Date;
done: boolean | null;
taskId: string;
owners: string[];

@@ -1001,5 +1001,5 @@ parents: string[];

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -1009,9 +1009,9 @@ bytes: number;

comments?: {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;

@@ -1021,13 +1021,13 @@ blocking?: boolean | undefined;

}, {
creator: string;
taskId: string;
creator: string;
owners: string[];
parents: string[];
done?: boolean | null | undefined;
description?: string | null | undefined;
createdAt?: unknown;
updatedAt?: unknown;
description?: string | null | undefined;
deletedAt?: unknown;
locked?: boolean | null | undefined;
backlogged?: boolean | null | undefined;
done?: boolean | null | undefined;
hours?: number | null | undefined;

@@ -1042,5 +1042,5 @@ starred?: boolean | null | undefined;

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -1050,18 +1050,18 @@ bytes: number;

comments?: {
creator: string;
taskId: string;
commentId: string;
taskId: string;
creator: string;
comment: string;
createdAt?: unknown;
updatedAt?: unknown;
done?: boolean | undefined;
owner?: string | null | undefined;
done?: boolean | undefined;
blocking?: boolean | undefined;
createdAt?: unknown;
updatedAt?: unknown;
}[] | undefined;
}>, {
taskId: string;
creator: string;
done: boolean | null;
createdAt: Date;
updatedAt: Date;
done: boolean | null;
taskId: string;
owners: string[];

@@ -1082,5 +1082,5 @@ parents: string[];

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -1090,9 +1090,9 @@ bytes: number;

comments?: {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;

@@ -1104,10 +1104,9 @@ blocking?: boolean | undefined;

at: Date;
taskId: string;
event: "taskUpdated";
task: {
taskId: string;
creator: string;
done: boolean | null;
createdAt: Date;
updatedAt: Date;
done: boolean | null;
taskId: string;
owners: string[];

@@ -1128,5 +1127,5 @@ parents: string[];

files?: {
name: string;
taskId: string;
fileId: string;
name: string;
mimeType: string;

@@ -1136,9 +1135,9 @@ bytes: number;

comments?: {
commentId: string;
taskId: string;
creator: string;
comment: string;
done: boolean;
createdAt: Date;
updatedAt: Date;
done: boolean;
taskId: string;
commentId: string;
comment: string;
owner?: string | null | undefined;

@@ -1148,5 +1147,6 @@ blocking?: boolean | undefined;

};
taskId: string;
}, {
event: "taskUpdated";
taskId: string;
event: "taskUpdated";
at?: unknown;

@@ -1153,0 +1153,0 @@ task?: unknown;

@@ -10,2 +10,3 @@ import { z } from 'zod';

recoveryMode: z.ZodOptional<z.ZodBoolean>;
hideSubPinnedDoables: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {

@@ -16,2 +17,3 @@ useCtrlToOpenCardLinks?: boolean | undefined;

recoveryMode?: boolean | undefined;
hideSubPinnedDoables?: boolean | undefined;
}, {

@@ -22,2 +24,3 @@ useCtrlToOpenCardLinks?: boolean | undefined;

recoveryMode?: boolean | undefined;
hideSubPinnedDoables?: boolean | undefined;
}>;

@@ -480,3 +483,2 @@ export type UserGroupData = z.infer<typeof userGroupDataSchema>;

at: Date;
userId: string;
user: {

@@ -499,6 +501,6 @@ kind: "group";

};
userId: string;
event: "userCreated";
for: "all";
}, {
userId: string;
user: {

@@ -521,2 +523,3 @@ kind: "group";

};
userId: string;
event: "userCreated";

@@ -579,3 +582,2 @@ for: "all";

at: Date;
userId: string;
user: {

@@ -587,6 +589,6 @@ kind: "group";

};
userId: string;
event: "userGroupUpdated";
for: "all";
}, {
userId: string;
user: {

@@ -598,2 +600,3 @@ kind: "group";

};
userId: string;
event: "userGroupUpdated";

@@ -600,0 +603,0 @@ for: "all";

@@ -10,2 +10,3 @@ import { z } from 'zod';

recoveryMode: z.boolean().optional(),
hideSubPinnedDoables: z.boolean().optional(),
});

@@ -12,0 +13,0 @@ const userDataBaseSchema = z.object({

{
"name": "@bscotch/blork-shared",
"version": "0.14.0",
"version": "0.15.0",
"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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc