@perspect3vism/ad4m / Exports
@perspect3vism/ad4m
Table of contents
Enumerations
Classes
- Ad4mClient
- Agent
- AgentExpression
- AgentSignature
- AgentStatus
- Apps
- AuthInfo
- AuthInfoInput
- Capability
- CapabilityInput
- Dna
- EntanglementProof
- EntanglementProofInput
- Expression
- ExpressionProof
- ExpressionProofInput
- ExpressionRef
- ExpressionRendered
- Icon
- InteractionCall
- InteractionMeta
- InteractionParameter
- LanguageExpression
- LanguageHandle
- LanguageLanguageInput
- LanguageMeta
- LanguageMetaInput
- LanguageMetaInternal
- LanguageRef
- Link
- LinkExpression
- LinkExpressionInput
- LinkExpressionMutations
- LinkExpressionUpdated
- LinkInput
- LinkMutations
- LinkQuery
- Literal
- Neighbourhood
- NeighbourhoodExpression
- NeighbourhoodProxy
- OnlineAgent
- Perspective
- PerspectiveAction
- PerspectiveDiff
- PerspectiveDiffExpression
- PerspectiveExpression
- PerspectiveHandle
- PerspectiveInput
- PerspectiveProxy
- PerspectiveUnsignedInput
- Resource
- ResourceInput
- SmartLiteral
- Subject
- SubjectEntity
Interfaces
- AgentService
- DirectMessageAdapter
- ExpressionAdapter
- ExpressionUI
- GetAllAdapter
- GetByAuthorAdapter
- HolochainLanguageDelegate
- Interaction
- Language
- LanguageAdapter
- LanguageContext
- LinkSyncAdapter
- PublicSharing
- ReadOnlyLanguage
- SettingsUI
- SignaturesService
- TelepresenceAdapter
Type Aliases
- Ad4mSignalCB
- Address
- DID
- LinkStatus
- MessageCallback
- PerspectiveDiffObserver
- QueryPartialEntity
- StatusCallback
- SubjectArray
- SyncStateChangeObserver
- TelepresenceSignalCallback
Variables
Functions
- ExpressionGeneric
- ExpressionGenericInput
- SDNAClass
- addLink
- capSentence
- exprRef2String
- formatList
- hasLink
- instanceQuery
- isExpression
- isLink
- linkEqual
- makeRandomPrologAtom
- parseExprUrl
- subjectCollection
- subjectFlag
- subjectProperty
Type Aliases
Ad4mSignalCB
Ƭ Ad4mSignalCB: (signal
: any
) => void
Type declaration
▸ (signal
): void
Parameters
Name | Type |
---|---|
signal | any |
Returns
void
Defined in
language/LanguageContext.ts:37 (opens in a new tab)
Address
Ƭ Address: string
Defined in
Address.ts:1 (opens in a new tab)
DID
Ƭ DID: string
Defined in
LinkStatus
Ƭ LinkStatus: "shared"
| "local"
Defined in
perspectives/PerspectiveProxy.ts:15 (opens in a new tab)
MessageCallback
Ƭ MessageCallback: (message
: PerspectiveExpression
) => void
Type declaration
▸ (message
): void
Parameters
Name | Type |
---|---|
message | PerspectiveExpression |
Returns
void
Defined in
language/Language.ts:192 (opens in a new tab)
PerspectiveDiffObserver
Ƭ PerspectiveDiffObserver: (diff
: PerspectiveDiff
) => void
Type declaration
▸ (diff
): void
Parameters
Name | Type |
---|---|
diff | PerspectiveDiff |
Returns
void
Defined in
language/Language.ts:151 (opens in a new tab)
QueryPartialEntity
Ƭ QueryPartialEntity<T
>: { [P in keyof T]?: T[P] | Function }
Type parameters
Name |
---|
T |
Defined in
subject/SubjectEntity.ts:6 (opens in a new tab)
StatusCallback
Ƭ StatusCallback: (caller
: DID
) => Perspective
Type declaration
▸ (caller
): Perspective
Parameters
Name | Type |
---|---|
caller | DID |
Returns
Defined in
language/Language.ts:193 (opens in a new tab)
SubjectArray
Ƭ SubjectArray<T
>: T
[] | { action
: "setter"
| "adder"
| "remover"
; value
: T
[] }
Type parameters
Name |
---|
T |
Defined in
subject/SubjectEntity.ts:226 (opens in a new tab)
SyncStateChangeObserver
Ƭ SyncStateChangeObserver: (state
: PerspectiveState
) => void
Type declaration
▸ (state
): void
Parameters
Name | Type |
---|---|
state | PerspectiveState |
Returns
void
Defined in
language/Language.ts:152 (opens in a new tab)
TelepresenceSignalCallback
Ƭ TelepresenceSignalCallback: (payload
: PerspectiveExpression
) => void
Type declaration
▸ (payload
): void
Parameters
Name | Type |
---|---|
payload | PerspectiveExpression |
Returns
void
Defined in
language/Language.ts:258 (opens in a new tab)
Variables
SMART_LITERAL_CONTENT_PREDICATE
• Const
SMART_LITERAL_CONTENT_PREDICATE: "smart_literal://content"
Defined in
SmartLiteral.ts:6 (opens in a new tab)
typeDefsString
• Const
typeDefsString: ""
Defined in
typeDefs.ts:6 (opens in a new tab)
Functions
ExpressionGeneric
▸ ExpressionGeneric<DataType
>(DataTypeClass
): any
Type parameters
Name |
---|
DataType |
Parameters
Name | Type |
---|---|
DataTypeClass | ClassType <DataType > |
Returns
any
Defined in
expression/Expression.ts:42 (opens in a new tab)
ExpressionGenericInput
▸ ExpressionGenericInput<DataType
>(DataTypeClass
): any
Type parameters
Name |
---|
DataType |
Parameters
Name | Type |
---|---|
DataTypeClass | ClassType <DataType > |
Returns
any
Defined in
expression/Expression.ts:67 (opens in a new tab)
SDNAClass
▸ SDNAClass(opts
): (target
: any
) => void
Parameters
Name | Type |
---|---|
opts | SDNAClassOptions |
Returns
fn
▸ (target
): void
Parameters
Name | Type |
---|---|
target | any |
Returns
void
Defined in
subject/SDNADecorators.ts:159 (opens in a new tab)
addLink
▸ addLink(source
, predicate
, target
): PerspectiveAction
Parameters
Name | Type |
---|---|
source | string |
predicate | string |
target | string |
Returns
Defined in
subject/SDNADecorators.ts:12 (opens in a new tab)
capSentence
▸ capSentence(cap
): string
Parameters
Name | Type |
---|---|
cap | any |
Returns
string
Defined in
utils.ts:15 (opens in a new tab)
exprRef2String
▸ exprRef2String(ref
): string
Parameters
Name | Type |
---|---|
ref | ExpressionRef |
Returns
string
Defined in
expression/ExpressionRef.ts:22 (opens in a new tab)
formatList
▸ formatList(list
): any
Parameters
Name | Type |
---|---|
list | any |
Returns
any
Defined in
utils.ts:1 (opens in a new tab)
hasLink
▸ hasLink(predicate
): string
Parameters
Name | Type |
---|---|
predicate | string |
Returns
string
Defined in
subject/SDNADecorators.ts:21 (opens in a new tab)
instanceQuery
▸ instanceQuery(options?
): <T>(target
: T
, key
: keyof T
, descriptor
: PropertyDescriptor
) => void
Parameters
Name | Type |
---|---|
options? | InstanceQueryParams |
Returns
fn
▸ <T
>(target
, key
, descriptor
): void
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
target | T |
key | keyof T |
descriptor | PropertyDescriptor |
Returns
void
Defined in
subject/SDNADecorators.ts:30 (opens in a new tab)
isExpression
▸ isExpression(e
): boolean
Parameters
Name | Type |
---|---|
e | any |
Returns
boolean
Defined in
expression/Expression.ts:97 (opens in a new tab)
isLink
▸ isLink(l
): boolean
Parameters
Name | Type |
---|---|
l | any |
Returns
boolean
Defined in
links/Links.ts:91 (opens in a new tab)
linkEqual
▸ linkEqual(l1
, l2
): boolean
Parameters
Name | Type |
---|---|
l1 | LinkExpression |
l2 | LinkExpression |
Returns
boolean
Defined in
links/Links.ts:83 (opens in a new tab)
makeRandomPrologAtom
▸ makeRandomPrologAtom(length
): string
Parameters
Name | Type |
---|---|
length | number |
Returns
string
Defined in
subject/SDNADecorators.ts:145 (opens in a new tab)
parseExprUrl
▸ parseExprUrl(url
): ExpressionRef
Parameters
Name | Type |
---|---|
url | string |
Returns
Defined in
expression/ExpressionRef.ts:29 (opens in a new tab)
subjectCollection
▸ subjectCollection(opts
): <T>(target
: T
, key
: keyof T
) => void
Parameters
Name | Type |
---|---|
opts | CollectionOptions |
Returns
fn
▸ <T
>(target
, key
): void
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
target | T |
key | keyof T |
Returns
void
Defined in
subject/SDNADecorators.ts:131 (opens in a new tab)
subjectFlag
▸ subjectFlag(opts
): <T>(target
: T
, key
: keyof T
) => void
Parameters
Name | Type |
---|---|
opts | FlagOptions |
Returns
fn
▸ <T
>(target
, key
): void
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
target | T |
key | keyof T |
Returns
void
Defined in
subject/SDNADecorators.ts:102 (opens in a new tab)
subjectProperty
▸ subjectProperty(opts
): <T>(target
: T
, key
: keyof T
) => void
Parameters
Name | Type |
---|---|
opts | PropertyOptions |
Returns
fn
▸ <T
>(target
, key
): void
Type parameters
Name |
---|
T |
Parameters
Name | Type |
---|---|
target | T |
key | keyof T |
Returns
void