···55 * These are not intended for direct use in user code.
66 */
77namespace Tylex.Private;
88-99-/**
1010- * Internal decorator that marks the Blob model.
1111- * This is applied automatically to the Blob model and should not be used directly.
1212- *
1313- * @param target The Blob model
1414- */
1515-extern dec blob(target: TypeSpec.Reflection.Model);
-13
packages/emitter/src/decorators.ts
···1111const maxGraphemesKey = Symbol("maxGraphemes");
1212const minGraphemesKey = Symbol("minGraphemes");
1313const recordKey = Symbol("record");
1414-const blobKey = Symbol("blob");
1514const requiredKey = Symbol("required");
1615const readOnlyKey = Symbol("readOnly");
1716const tokenKey = Symbol("token");
···138137 target: Type,
139138): string | undefined {
140139 return program.stateMap(recordKey).get(target);
141141-}
142142-143143-/**
144144- * @blob private decorator for marking the Blob model
145145- */
146146-export function $blob(context: DecoratorContext, target: Type) {
147147- // Mark this as a blob model
148148- context.program.stateSet(blobKey).add(target);
149149-}
150150-151151-export function isBlob(program: Program, target: Type): boolean {
152152- return program.stateSet(blobKey).has(target);
153140}
154141155142/**