Documentation Index
Fetch the complete documentation index at: https://dapplets.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The parser is structured to work seamlessly within specified websites, ensuring that the relevant components and functionalities are integrated based on contextual conditions.parserType: bos
Target Conditions
The parser defines several conditions under which it will be applied:-
$targets:
-
namespace:
engine -
contextType:
website -
if: The parser will be activated if the current context matches any of the following conditions:
-
id:
-
Equals
localhost -
Equals
social.dapplets.org -
Equals
127.0.0.1 -
Contains
social.testnet.dapplets.org
-
Equals
-
id:
-
namespace:
Context Structures
The configuration also defines various contexts and their corresponding components and properties:-
$contexts:
-
timeline:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/MergedIndexFeed -
props:
id:"string('timeline')"
-
children:
["post"]
-
component:
-
post:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/MainPage.N.Post -
props:
-
id:{{props.accountId}}/{{props.blockHeight}} -
authorUsername:{{props.accountId}}
-
-
insertionPoints:
-
root:
-
bosLayoutManager:
${REPL_ACCOUNT}/widget/ContextActionsGroup -
insertionType:
begin
-
bosLayoutManager:
-
southPanel:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/MainPage.N.Post.ShareButton -
insertionType:
after
-
component:
-
avatar:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/MainPage.N.Post -
insertionType:
begin
-
component:
-
afterText:
-
bosLayoutManager:
${REPL_ACCOUNT}/widget/VerticalLayoutManager -
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/MainPage.N.Post.Content -
insertionType:
after
-
bosLayoutManager:
-
root:
-
children:
["commentButton", "repostButton", "likeButton", "shareButton"]
-
component:
-
commentButton:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/N.CommentButton -
props:
id:"string('commentButton')"
-
component:
-
repostButton:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/N.RepostButton -
props:
id:"string('repostButton')"
-
component:
-
likeButton:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/N.LikeButton -
props:
id:"string('likeButton')"
-
component:
-
shareButton:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/MainPage.N.Post.ShareButton -
props:
id:"string('shareButton')"
-
component:
-
profile:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/ProfileLarge -
props:
-
id:{{props.accountId}} -
accountId:{{props.accountId}} -
name:{{props.profile.name}} -
tagline:{{props.profile.tagline}} -
description:{{props.profile.description}} -
website:{{props.profile.website}}
-
-
insertionPoints:
-
avatar:
-
component:
${REPL_NEAR_SOCIAL_OWNER}/widget/ProfileImage -
insertionType:
begin
-
component:
-
avatar:
-
component:
-
timeline: