Files
playlet-piped/playlet-lib/src/components/Services/ProfilesService/ProfilesService.xml
T

33 lines
1.3 KiB
XML

<component name="ProfilesService" extends="Node" includes="AutoBind">
<interface>
<!--
The version of the profiles. This is used to determine if the
profiles saved need to be migrated. If the version is less than the
current version, a migration is needed.
-->
<field id="__version" type="integer" value="1" />
<field id="currentProfile" type="node" />
<field id="onProfileLogout" type="boolean" alwaysNotify="true" />
<field id="content" type="node" />
<field id="invidious" type="node" />
<field id="jobQueue" type="node" />
<function name="GetProfilesDto" />
<function name="LoginWithProfile" />
<function name="LogoutWithProfile" />
<function name="LogoutWithProfiles" />
<function name="LogoutWithAccessToken" />
<function name="SetCurrentProfile" />
<function name="SaveUserProfilesToRegistry" />
</interface>
<children>
<!-- Note: two content nodes because we're rendering profiles in a RowList on the ProfilesScreen -->
<ContentNode id="ProfilesContent">
<ContentNode>
<ProfileContentNode type="login">
</ProfileContentNode>
</ContentNode>
</ContentNode>
</children>
</component>