com.lopecode.module

A module version. A record is never rewritten; a new version is a new record whose prev names the one it follows.

Details · record, key tid
Kindrecord
Record keytid
Authoritylopecode.com
Indexed

Record

record · key tid

Properties

attachments

requiredarray

The files of the module.

itemsref
Reference

createdAt

requiredstring · datetime

id

requiredstring

The module id, @user/name, e.g. @tomlarkworthy/brain-store.

  • maxLength: 200

imports

requiredarray

Each module the source imports, but the built-ins, pinned to a record.

itemsref
Reference

prev

ref

The version this one follows.

source

requiredblob

The compiled module text, text/javascript. Its CID is v1 raw + sha-256.

#fileEntry

object

Properties

blob

requiredblob

atproto blob ref: CID (v1 raw + sha-256), mimeType, size.

encoding

requiredstring

How the file is held, e.g. text or base64.

name

requiredstring

The file name, as the module's FileAttachment names it.

  • maxLength: 1000

#import

object

Properties

id

requiredstring

The id of the imported module, @user/name.

  • maxLength: 200

ref

requiredref

The com.lopecode.module record of the imported version.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.