import { ShapeType } from "@ldo/ldo"; import { profileSchema } from "./profile.schema"; import { profileContext } from "./profile.context"; import { SolidProfile, Address, Email, PhoneNumber, TrustedApp, RSAPublicKey, } from "./profile.typings"; /** * ============================================================================= * LDO ShapeTypes profile * ============================================================================= */ /** * SolidProfile ShapeType */ export const SolidProfileShapeType: ShapeType = { schema: profileSchema, shape: "https://shaperepo.com/schemas/solidProfile#SolidProfileShape", context: profileContext, }; /** * Address ShapeType */ export const AddressShapeType: ShapeType
= { schema: profileSchema, shape: "https://shaperepo.com/schemas/solidProfile#AddressShape", context: profileContext, }; /** * Email ShapeType */ export const EmailShapeType: ShapeType = { schema: profileSchema, shape: "https://shaperepo.com/schemas/solidProfile#EmailShape", context: profileContext, }; /** * PhoneNumber ShapeType */ export const PhoneNumberShapeType: ShapeType = { schema: profileSchema, shape: "https://shaperepo.com/schemas/solidProfile#PhoneNumberShape", context: profileContext, }; /** * TrustedApp ShapeType */ export const TrustedAppShapeType: ShapeType = { schema: profileSchema, shape: "https://shaperepo.com/schemas/solidProfile#TrustedAppShape", context: profileContext, }; /** * RSAPublicKey ShapeType */ export const RSAPublicKeyShapeType: ShapeType = { schema: profileSchema, shape: "https://shaperepo.com/schemas/solidProfile#RSAPublicKeyShape", context: profileContext, };