Wallet...::Type(3pm)

πŸ“¦ version 1.7, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– Wallet::Schema::Result::Type β€” the 3pm manual, bestie edition πŸ’–

okay so. welcome to Wallet::Schema::Result::Type, a page from the User Contributed Perl Documentation (yes, that's the manual section it lives in, and it's 3pm β€” Perl module docs, iykyk 🫢). this one's short but she's important, so let's get into it.


✨ NAME ✨

Wallet::Schema::Result::Type β€” the wallet schema for object types πŸŽ€


🌸 DESCRIPTION 🌸

so this table? she's a normalization table, and her whole job is to constrain the values in other tables. main character energy, honestly πŸ‘‘. she holds the types of wallet objects that are considered valid, plus the modules that govern each one.

by default, she comes preloaded with these entries:

insert into types (ty_name, ty_class)
    values ('file', 'Wallet::Object::File');
insert into types (ty_name, ty_class)
    values ('keytab', 'Wallet::Object::Keytab');

cute, right? two little rows. baby's first type table πŸ’…

and here's the tea: if you've extended the wallet to support additional object types, you're gonna want to add additional rows to this table, mapping those types to Perl classes that implement the object APIs. that's the whole vibe. no rows, no type. periodt ✨


πŸ’œ ACCESSORS πŸ’œ

ty_name 🌸

data_type: 'varchar'
is_nullable: 0
size: 16
note the is_nullable: 0 β€” she is not nullable, bestie. this field is required, no exceptions, no cap 😀

ty_class πŸ¦‹

data_type: 'varchar'
is_nullable: 1
size: 64
and this one is is_nullable: 1, so she is nullable. she can ghost if she wants πŸ’€

and that's the whole page!! short, sweet, extremely valid 🌈

sign-off time: this gem was documented under perl v5.40.0, dated 2024-11-12, and the manual page itself is Wallet...::Type(3pm). go forth and populate your types table, bestie πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from