Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ProjectUpdatesStreamEvent

import type { ProjectUpdatesStreamEvent } from "https://raw.githubusercontent.com/takker99/scrapbox-userscript-std/0.14.10/mod.ts";
type ProjectUpdatesStreamEvent = {
id: string;
pageId: string;
userId: string;
projectId: string;
created: number;
updated: number;
}
& ({
type: "member.join" | "invitation.reset";
}
| {
type: "page.delete";
data: {
titleLc: string;
}
;
}
| {
type: "admin.add" | "admin.delete" | "owner.set";
targetUserId: string;
}
)
;

§Type

§
{
id: string;
pageId: string;
userId: string;
projectId: string;
created: number;
updated: number;
}
& ({
type: "member.join" | "invitation.reset";
}
| {
type: "page.delete";
data: {
titleLc: string;
}
;
}
| {
type: "admin.add" | "admin.delete" | "owner.set";
targetUserId: string;
}
)
[src]