Differences From
Artifact [303dfd42c8]:
236 236 rtdby: uint64 -- 0 if not rt
237 237 rtact: uint64 -- 0 if not rt, id of rt action otherwise
238 238 isreply: bool
239 239 source: &m.source
240 240
241 241 -- save :: bool -> {} (defined in acl.t due to dep. hell)
242 242 }
243 +
244 +struct m.circle {
245 + cid: uint64
246 + owner: uint64
247 + name: lib.str.t
248 +-- ephemera
249 + memcount: intptr
250 +}
243 251
244 252 struct m.artifact {
245 253 rid: uint64
246 254 owner: uint64
247 255 desc: str
248 256 folder: str
249 257 mime: str
................................................................................
461 469 -- undo: bool
462 470 post_react: {&m.source, uint64, uint64, pstring} -> {}
463 471 -- emoji: pstring (null to delete previous reaction, otherwise adds/changes)
464 472 post_act_cancel: {&m.source, uint64} -> {}
465 473 post_liked_uid: {&m.source, uint64, uint64} -> bool
466 474 post_reacted_uid: {&m.source, uint64, uint64} -> bool
467 475 post_act_fetch_notice: {&m.source, uint64} -> m.notice
476 +
477 + circle_search: {&m.source, &lib.mem.pool, uint64, uint64} -> lib.mem.ptr(m.circle)
478 + circle_create: {&m.source, uint64, pstring} -> {}
479 + circle_destroy: {&m.source, uint64, uint64} -> {}
480 + circle_members_fetch_cid: {&m.source, &lib.mem.pool, uint64, uint64} -> lib.mem.ptr(uint64)
481 + circle_members_fetch_name: {&m.source, &lib.mem.pool, uint64, pstring} -> lib.mem.ptr(uint64)
482 + circle_members_add_uid: {&m.source, uint64, uint64} -> {}
483 + circle_members_del_uid: {&m.source, uint64, uint64} -> {}
468 484
469 485 thread_latest_arrival_calc: {&m.source, uint64} -> m.timepoint
470 486
471 487 artifact_instantiate: {&m.source, lib.mem.ptr(uint8), lib.mem.ptr(int8)} -> uint64
472 488 -- instantiate an artifact in the database, either installing a new
473 489 -- artifact or returning the id of an existing artifact with the same hash
474 490 -- artifact: bytea