@modyo/mcp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +227 -0
- package/README.md +187 -0
- package/build/ModyoMcpServer.d.ts +11 -0
- package/build/ModyoMcpServer.d.ts.map +1 -0
- package/build/ModyoMcpServer.js +54 -0
- package/build/ModyoMcpServer.js.map +1 -0
- package/build/index.d.ts +3 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +8 -0
- package/build/index.js.map +1 -0
- package/build/prompts/channels/global/GlobalPrompts.d.ts +2 -0
- package/build/prompts/channels/global/GlobalPrompts.d.ts.map +1 -0
- package/build/prompts/channels/global/GlobalPrompts.js +4 -0
- package/build/prompts/channels/global/GlobalPrompts.js.map +1 -0
- package/build/prompts/channels/global/prompts.d.ts +3 -0
- package/build/prompts/channels/global/prompts.d.ts.map +1 -0
- package/build/prompts/channels/global/prompts.js +5 -0
- package/build/prompts/channels/global/prompts.js.map +1 -0
- package/build/prompts/channels/pages/CreateContentPage.d.ts +48 -0
- package/build/prompts/channels/pages/CreateContentPage.d.ts.map +1 -0
- package/build/prompts/channels/pages/CreateContentPage.js +314 -0
- package/build/prompts/channels/pages/CreateContentPage.js.map +1 -0
- package/build/prompts/channels/pages/CreateWidgetPage.d.ts +47 -0
- package/build/prompts/channels/pages/CreateWidgetPage.d.ts.map +1 -0
- package/build/prompts/channels/pages/CreateWidgetPage.js +176 -0
- package/build/prompts/channels/pages/CreateWidgetPage.js.map +1 -0
- package/build/prompts/channels/pages/PagesPrompts.d.ts +2 -0
- package/build/prompts/channels/pages/PagesPrompts.d.ts.map +1 -0
- package/build/prompts/channels/pages/PagesPrompts.js +7 -0
- package/build/prompts/channels/pages/PagesPrompts.js.map +1 -0
- package/build/prompts/channels/releases/ManageReleases.d.ts +34 -0
- package/build/prompts/channels/releases/ManageReleases.d.ts.map +1 -0
- package/build/prompts/channels/releases/ManageReleases.js +407 -0
- package/build/prompts/channels/releases/ManageReleases.js.map +1 -0
- package/build/prompts/channels/releases/ReleasesPrompts.d.ts +2 -0
- package/build/prompts/channels/releases/ReleasesPrompts.d.ts.map +1 -0
- package/build/prompts/channels/releases/ReleasesPrompts.js +5 -0
- package/build/prompts/channels/releases/ReleasesPrompts.js.map +1 -0
- package/build/prompts/channels/templates/ManageTemplates.d.ts +43 -0
- package/build/prompts/channels/templates/ManageTemplates.d.ts.map +1 -0
- package/build/prompts/channels/templates/ManageTemplates.js +530 -0
- package/build/prompts/channels/templates/ManageTemplates.js.map +1 -0
- package/build/prompts/channels/templates/TemplatesPrompts.d.ts +2 -0
- package/build/prompts/channels/templates/TemplatesPrompts.d.ts.map +1 -0
- package/build/prompts/channels/templates/TemplatesPrompts.js +5 -0
- package/build/prompts/channels/templates/TemplatesPrompts.js.map +1 -0
- package/build/prompts/channels/widgetDefinitions/CreateWidgetDefinition.d.ts +43 -0
- package/build/prompts/channels/widgetDefinitions/CreateWidgetDefinition.d.ts.map +1 -0
- package/build/prompts/channels/widgetDefinitions/CreateWidgetDefinition.js +371 -0
- package/build/prompts/channels/widgetDefinitions/CreateWidgetDefinition.js.map +1 -0
- package/build/prompts/channels/widgetDefinitions/WidgetDefinitionsPrompts.d.ts +2 -0
- package/build/prompts/channels/widgetDefinitions/WidgetDefinitionsPrompts.d.ts.map +1 -0
- package/build/prompts/channels/widgetDefinitions/WidgetDefinitionsPrompts.js +5 -0
- package/build/prompts/channels/widgetDefinitions/WidgetDefinitionsPrompts.js.map +1 -0
- package/build/prompts/content/spaces/Create.d.ts +29 -0
- package/build/prompts/content/spaces/Create.d.ts.map +1 -0
- package/build/prompts/content/spaces/Create.js +34 -0
- package/build/prompts/content/spaces/Create.js.map +1 -0
- package/build/prompts/content/spaces/SpacesPrompts.d.ts +2 -0
- package/build/prompts/content/spaces/SpacesPrompts.d.ts.map +1 -0
- package/build/prompts/content/spaces/SpacesPrompts.js +5 -0
- package/build/prompts/content/spaces/SpacesPrompts.js.map +1 -0
- package/build/prompts/core/global/GlobalPrompts.d.ts +2 -0
- package/build/prompts/core/global/GlobalPrompts.d.ts.map +1 -0
- package/build/prompts/core/global/GlobalPrompts.js +4 -0
- package/build/prompts/core/global/GlobalPrompts.js.map +1 -0
- package/build/prompts/core/global/prompts.d.ts +3 -0
- package/build/prompts/core/global/prompts.d.ts.map +1 -0
- package/build/prompts/core/global/prompts.js +5 -0
- package/build/prompts/core/global/prompts.js.map +1 -0
- package/build/prompts/customers/global/GlobalPrompts.d.ts +2 -0
- package/build/prompts/customers/global/GlobalPrompts.d.ts.map +1 -0
- package/build/prompts/customers/global/GlobalPrompts.js +4 -0
- package/build/prompts/customers/global/GlobalPrompts.js.map +1 -0
- package/build/prompts/customers/global/prompts.d.ts +3 -0
- package/build/prompts/customers/global/prompts.d.ts.map +1 -0
- package/build/prompts/customers/global/prompts.js +5 -0
- package/build/prompts/customers/global/prompts.js.map +1 -0
- package/build/prompts/prompts.d.ts +3 -0
- package/build/prompts/prompts.d.ts.map +1 -0
- package/build/prompts/prompts.js +26 -0
- package/build/prompts/prompts.js.map +1 -0
- package/build/prompts/workflows/CreateBlog.d.ts +33 -0
- package/build/prompts/workflows/CreateBlog.d.ts.map +1 -0
- package/build/prompts/workflows/CreateBlog.js +240 -0
- package/build/prompts/workflows/CreateBlog.js.map +1 -0
- package/build/prompts/workflows/SetupSite.d.ts +35 -0
- package/build/prompts/workflows/SetupSite.d.ts.map +1 -0
- package/build/prompts/workflows/SetupSite.js +365 -0
- package/build/prompts/workflows/SetupSite.js.map +1 -0
- package/build/prompts/workflows/WorkflowPrompts.d.ts +2 -0
- package/build/prompts/workflows/WorkflowPrompts.d.ts.map +1 -0
- package/build/prompts/workflows/WorkflowPrompts.js +7 -0
- package/build/prompts/workflows/WorkflowPrompts.js.map +1 -0
- package/build/repositories/channels/WidgetDefinitions/WidgetDefinitionsRepository.d.ts +24 -0
- package/build/repositories/channels/WidgetDefinitions/WidgetDefinitionsRepository.d.ts.map +1 -0
- package/build/repositories/channels/WidgetDefinitions/WidgetDefinitionsRepository.js +103 -0
- package/build/repositories/channels/WidgetDefinitions/WidgetDefinitionsRepository.js.map +1 -0
- package/build/repositories/channels/accountTemplates/AccountTemplatesRepository.d.ts +17 -0
- package/build/repositories/channels/accountTemplates/AccountTemplatesRepository.d.ts.map +1 -0
- package/build/repositories/channels/accountTemplates/AccountTemplatesRepository.js +30 -0
- package/build/repositories/channels/accountTemplates/AccountTemplatesRepository.js.map +1 -0
- package/build/repositories/channels/globalVariables/GlobalVariablesRepository.d.ts +48 -0
- package/build/repositories/channels/globalVariables/GlobalVariablesRepository.d.ts.map +1 -0
- package/build/repositories/channels/globalVariables/GlobalVariablesRepository.js +105 -0
- package/build/repositories/channels/globalVariables/GlobalVariablesRepository.js.map +1 -0
- package/build/repositories/channels/locks/LocksRepository.d.ts +67 -0
- package/build/repositories/channels/locks/LocksRepository.d.ts.map +1 -0
- package/build/repositories/channels/locks/LocksRepository.js +58 -0
- package/build/repositories/channels/locks/LocksRepository.js.map +1 -0
- package/build/repositories/channels/navigation/NavigationRepository.d.ts +164 -0
- package/build/repositories/channels/navigation/NavigationRepository.d.ts.map +1 -0
- package/build/repositories/channels/navigation/NavigationRepository.js +343 -0
- package/build/repositories/channels/navigation/NavigationRepository.js.map +1 -0
- package/build/repositories/channels/pages/PagesRepository.d.ts +190 -0
- package/build/repositories/channels/pages/PagesRepository.d.ts.map +1 -0
- package/build/repositories/channels/pages/PagesRepository.js +256 -0
- package/build/repositories/channels/pages/PagesRepository.js.map +1 -0
- package/build/repositories/channels/releases/ReleasesRepository.d.ts +7 -0
- package/build/repositories/channels/releases/ReleasesRepository.d.ts.map +1 -0
- package/build/repositories/channels/releases/ReleasesRepository.js +10 -0
- package/build/repositories/channels/releases/ReleasesRepository.js.map +1 -0
- package/build/repositories/channels/sites/SitesRepository.d.ts +22 -0
- package/build/repositories/channels/sites/SitesRepository.d.ts.map +1 -0
- package/build/repositories/channels/sites/SitesRepository.js +45 -0
- package/build/repositories/channels/sites/SitesRepository.js.map +1 -0
- package/build/repositories/channels/sites/assets/SiteAssetsRepository.d.ts +7 -0
- package/build/repositories/channels/sites/assets/SiteAssetsRepository.d.ts.map +1 -0
- package/build/repositories/channels/sites/assets/SiteAssetsRepository.js +58 -0
- package/build/repositories/channels/sites/assets/SiteAssetsRepository.js.map +1 -0
- package/build/repositories/channels/templates/TemplatesRepository.d.ts +92 -0
- package/build/repositories/channels/templates/TemplatesRepository.d.ts.map +1 -0
- package/build/repositories/channels/templates/TemplatesRepository.js +281 -0
- package/build/repositories/channels/templates/TemplatesRepository.js.map +1 -0
- package/build/repositories/channels/widgets/WidgetsRepository.d.ts +6 -0
- package/build/repositories/channels/widgets/WidgetsRepository.d.ts.map +1 -0
- package/build/repositories/channels/widgets/WidgetsRepository.js +7 -0
- package/build/repositories/channels/widgets/WidgetsRepository.js.map +1 -0
- package/build/repositories/channels/workflows/WorkflowsRepository.d.ts +22 -0
- package/build/repositories/channels/workflows/WorkflowsRepository.d.ts.map +1 -0
- package/build/repositories/channels/workflows/WorkflowsRepository.js +22 -0
- package/build/repositories/channels/workflows/WorkflowsRepository.js.map +1 -0
- package/build/repositories/content/assets/AssetsRepository.d.ts +49 -0
- package/build/repositories/content/assets/AssetsRepository.d.ts.map +1 -0
- package/build/repositories/content/assets/AssetsRepository.js +109 -0
- package/build/repositories/content/assets/AssetsRepository.js.map +1 -0
- package/build/repositories/content/categories/CategoriesRepository.d.ts +37 -0
- package/build/repositories/content/categories/CategoriesRepository.d.ts.map +1 -0
- package/build/repositories/content/categories/CategoriesRepository.js +19 -0
- package/build/repositories/content/categories/CategoriesRepository.js.map +1 -0
- package/build/repositories/content/entries/EntriesRepository.d.ts +336 -0
- package/build/repositories/content/entries/EntriesRepository.d.ts.map +1 -0
- package/build/repositories/content/entries/EntriesRepository.js +550 -0
- package/build/repositories/content/entries/EntriesRepository.js.map +1 -0
- package/build/repositories/content/spaces/SpacesRepository.d.ts +20 -0
- package/build/repositories/content/spaces/SpacesRepository.d.ts.map +1 -0
- package/build/repositories/content/spaces/SpacesRepository.js +24 -0
- package/build/repositories/content/spaces/SpacesRepository.js.map +1 -0
- package/build/repositories/content/types/TypesRepository.d.ts +76 -0
- package/build/repositories/content/types/TypesRepository.d.ts.map +1 -0
- package/build/repositories/content/types/TypesRepository.js +112 -0
- package/build/repositories/content/types/TypesRepository.js.map +1 -0
- package/build/repositories/core/assets/AdminAssetsRepository.d.ts +36 -0
- package/build/repositories/core/assets/AdminAssetsRepository.d.ts.map +1 -0
- package/build/repositories/core/assets/AdminAssetsRepository.js +69 -0
- package/build/repositories/core/assets/AdminAssetsRepository.js.map +1 -0
- package/build/repositories/core/general/AdminGeneralRepository.d.ts +7 -0
- package/build/repositories/core/general/AdminGeneralRepository.d.ts.map +1 -0
- package/build/repositories/core/general/AdminGeneralRepository.js +13 -0
- package/build/repositories/core/general/AdminGeneralRepository.js.map +1 -0
- package/build/repositories/core/groups/AdminGroupsRepository.d.ts +80 -0
- package/build/repositories/core/groups/AdminGroupsRepository.d.ts.map +1 -0
- package/build/repositories/core/groups/AdminGroupsRepository.js +251 -0
- package/build/repositories/core/groups/AdminGroupsRepository.js.map +1 -0
- package/build/repositories/core/roles/AdminRolesRepository.d.ts +42 -0
- package/build/repositories/core/roles/AdminRolesRepository.d.ts.map +1 -0
- package/build/repositories/core/roles/AdminRolesRepository.js +66 -0
- package/build/repositories/core/roles/AdminRolesRepository.js.map +1 -0
- package/build/repositories/core/sites/AdminSitesRepository.d.ts +15 -0
- package/build/repositories/core/sites/AdminSitesRepository.d.ts.map +1 -0
- package/build/repositories/core/sites/AdminSitesRepository.js +27 -0
- package/build/repositories/core/sites/AdminSitesRepository.js.map +1 -0
- package/build/repositories/core/team/AdminTeamRepository.d.ts +92 -0
- package/build/repositories/core/team/AdminTeamRepository.d.ts.map +1 -0
- package/build/repositories/core/team/AdminTeamRepository.js +129 -0
- package/build/repositories/core/team/AdminTeamRepository.js.map +1 -0
- package/build/repositories/core/teamMembers/AdminTeamMembersRepository.d.ts +80 -0
- package/build/repositories/core/teamMembers/AdminTeamMembersRepository.d.ts.map +1 -0
- package/build/repositories/core/teamMembers/AdminTeamMembersRepository.js +293 -0
- package/build/repositories/core/teamMembers/AdminTeamMembersRepository.js.map +1 -0
- package/build/repositories/customers/forms/FormsRepository.d.ts +37 -0
- package/build/repositories/customers/forms/FormsRepository.d.ts.map +1 -0
- package/build/repositories/customers/forms/FormsRepository.js +92 -0
- package/build/repositories/customers/forms/FormsRepository.js.map +1 -0
- package/build/repositories/customers/originations/OriginationsRepository.d.ts +80 -0
- package/build/repositories/customers/originations/OriginationsRepository.d.ts.map +1 -0
- package/build/repositories/customers/originations/OriginationsRepository.js +590 -0
- package/build/repositories/customers/originations/OriginationsRepository.js.map +1 -0
- package/build/repositories/customers/realms/RealmsRepository.d.ts +13 -0
- package/build/repositories/customers/realms/RealmsRepository.d.ts.map +1 -0
- package/build/repositories/customers/realms/RealmsRepository.js +78 -0
- package/build/repositories/customers/realms/RealmsRepository.js.map +1 -0
- package/build/repositories/customers/realms/SubmissionsRepository.d.ts +11 -0
- package/build/repositories/customers/realms/SubmissionsRepository.d.ts.map +1 -0
- package/build/repositories/customers/realms/SubmissionsRepository.js +32 -0
- package/build/repositories/customers/realms/SubmissionsRepository.js.map +1 -0
- package/build/repositories/customers/segments/SegmentsRepository.d.ts +29 -0
- package/build/repositories/customers/segments/SegmentsRepository.d.ts.map +1 -0
- package/build/repositories/customers/segments/SegmentsRepository.js +55 -0
- package/build/repositories/customers/segments/SegmentsRepository.js.map +1 -0
- package/build/repositories/customers/settings/DataSetsRepository.d.ts +11 -0
- package/build/repositories/customers/settings/DataSetsRepository.d.ts.map +1 -0
- package/build/repositories/customers/settings/DataSetsRepository.js +39 -0
- package/build/repositories/customers/settings/DataSetsRepository.js.map +1 -0
- package/build/repositories/customers/users/UsersRepository.d.ts +10 -0
- package/build/repositories/customers/users/UsersRepository.d.ts.map +1 -0
- package/build/repositories/customers/users/UsersRepository.js +19 -0
- package/build/repositories/customers/users/UsersRepository.js.map +1 -0
- package/build/resources/channels/global/PlatformsClass.d.ts +25 -0
- package/build/resources/channels/global/PlatformsClass.d.ts.map +1 -0
- package/build/resources/channels/global/PlatformsClass.js +34 -0
- package/build/resources/channels/global/PlatformsClass.js.map +1 -0
- package/build/resources/channels/global/registerGlobalResources.d.ts +2 -0
- package/build/resources/channels/global/registerGlobalResources.d.ts.map +1 -0
- package/build/resources/channels/global/registerGlobalResources.js +5 -0
- package/build/resources/channels/global/registerGlobalResources.js.map +1 -0
- package/build/resources/channels/liquid/LiquidReference.d.ts +31 -0
- package/build/resources/channels/liquid/LiquidReference.d.ts.map +1 -0
- package/build/resources/channels/liquid/LiquidReference.js +796 -0
- package/build/resources/channels/liquid/LiquidReference.js.map +1 -0
- package/build/resources/channels/tools/ChannelsDocsToolsResource.d.ts +46 -0
- package/build/resources/channels/tools/ChannelsDocsToolsResource.d.ts.map +1 -0
- package/build/resources/channels/tools/ChannelsDocsToolsResource.js +160 -0
- package/build/resources/channels/tools/ChannelsDocsToolsResource.js.map +1 -0
- package/build/resources/content/global/PlatformsClass.d.ts +25 -0
- package/build/resources/content/global/PlatformsClass.d.ts.map +1 -0
- package/build/resources/content/global/PlatformsClass.js +34 -0
- package/build/resources/content/global/PlatformsClass.js.map +1 -0
- package/build/resources/content/global/registerGlobalResources.d.ts +2 -0
- package/build/resources/content/global/registerGlobalResources.d.ts.map +1 -0
- package/build/resources/content/global/registerGlobalResources.js +5 -0
- package/build/resources/content/global/registerGlobalResources.js.map +1 -0
- package/build/resources/content/spaces/ListSpacesClass.d.ts +28 -0
- package/build/resources/content/spaces/ListSpacesClass.d.ts.map +1 -0
- package/build/resources/content/spaces/ListSpacesClass.js +37 -0
- package/build/resources/content/spaces/ListSpacesClass.js.map +1 -0
- package/build/resources/content/spaces/registerSpacesResources.d.ts +2 -0
- package/build/resources/content/spaces/registerSpacesResources.d.ts.map +1 -0
- package/build/resources/content/spaces/registerSpacesResources.js +5 -0
- package/build/resources/content/spaces/registerSpacesResources.js.map +1 -0
- package/build/resources/content/tools/ContentDocsToolsResource.d.ts +46 -0
- package/build/resources/content/tools/ContentDocsToolsResource.d.ts.map +1 -0
- package/build/resources/content/tools/ContentDocsToolsResource.js +160 -0
- package/build/resources/content/tools/ContentDocsToolsResource.js.map +1 -0
- package/build/resources/content/tools/registerContentToolsResources.d.ts +2 -0
- package/build/resources/content/tools/registerContentToolsResources.d.ts.map +1 -0
- package/build/resources/content/tools/registerContentToolsResources.js +5 -0
- package/build/resources/content/tools/registerContentToolsResources.js.map +1 -0
- package/build/resources/core/global/PlatformsClass.d.ts +25 -0
- package/build/resources/core/global/PlatformsClass.d.ts.map +1 -0
- package/build/resources/core/global/PlatformsClass.js +34 -0
- package/build/resources/core/global/PlatformsClass.js.map +1 -0
- package/build/resources/core/global/registerGlobalResources.d.ts +2 -0
- package/build/resources/core/global/registerGlobalResources.d.ts.map +1 -0
- package/build/resources/core/global/registerGlobalResources.js +5 -0
- package/build/resources/core/global/registerGlobalResources.js.map +1 -0
- package/build/resources/core/tools/CoreDocsToolsResource.d.ts +49 -0
- package/build/resources/core/tools/CoreDocsToolsResource.d.ts.map +1 -0
- package/build/resources/core/tools/CoreDocsToolsResource.js +165 -0
- package/build/resources/core/tools/CoreDocsToolsResource.js.map +1 -0
- package/build/resources/core/tools/registerCoreToolsResources.d.ts +2 -0
- package/build/resources/core/tools/registerCoreToolsResources.d.ts.map +1 -0
- package/build/resources/core/tools/registerCoreToolsResources.js +5 -0
- package/build/resources/core/tools/registerCoreToolsResources.js.map +1 -0
- package/build/resources/customers/global/PlatformsClass.d.ts +25 -0
- package/build/resources/customers/global/PlatformsClass.d.ts.map +1 -0
- package/build/resources/customers/global/PlatformsClass.js +34 -0
- package/build/resources/customers/global/PlatformsClass.js.map +1 -0
- package/build/resources/customers/global/registerGlobalResources.d.ts +2 -0
- package/build/resources/customers/global/registerGlobalResources.d.ts.map +1 -0
- package/build/resources/customers/global/registerGlobalResources.js +5 -0
- package/build/resources/customers/global/registerGlobalResources.js.map +1 -0
- package/build/resources/customers/realms/ListRealmsClass.d.ts +28 -0
- package/build/resources/customers/realms/ListRealmsClass.d.ts.map +1 -0
- package/build/resources/customers/realms/ListRealmsClass.js +37 -0
- package/build/resources/customers/realms/ListRealmsClass.js.map +1 -0
- package/build/resources/customers/realms/registerRealmsResources.d.ts +2 -0
- package/build/resources/customers/realms/registerRealmsResources.d.ts.map +1 -0
- package/build/resources/customers/realms/registerRealmsResources.js +5 -0
- package/build/resources/customers/realms/registerRealmsResources.js.map +1 -0
- package/build/resources/customers/tools/CustomersDocsToolsResource.d.ts +46 -0
- package/build/resources/customers/tools/CustomersDocsToolsResource.d.ts.map +1 -0
- package/build/resources/customers/tools/CustomersDocsToolsResource.js +160 -0
- package/build/resources/customers/tools/CustomersDocsToolsResource.js.map +1 -0
- package/build/resources/customers/tools/registerCustomersToolsResources.d.ts +2 -0
- package/build/resources/customers/tools/registerCustomersToolsResources.d.ts.map +1 -0
- package/build/resources/customers/tools/registerCustomersToolsResources.js +5 -0
- package/build/resources/customers/tools/registerCustomersToolsResources.js.map +1 -0
- package/build/resources/resources.d.ts +3 -0
- package/build/resources/resources.d.ts.map +1 -0
- package/build/resources/resources.js +23 -0
- package/build/resources/resources.js.map +1 -0
- package/build/resources/shared/DocsToolsResource.d.ts +47 -0
- package/build/resources/shared/DocsToolsResource.d.ts.map +1 -0
- package/build/resources/shared/DocsToolsResource.js +120 -0
- package/build/resources/shared/DocsToolsResource.js.map +1 -0
- package/build/shared/FetchRepositoryBase.d.ts +38 -0
- package/build/shared/FetchRepositoryBase.d.ts.map +1 -0
- package/build/shared/FetchRepositoryBase.js +81 -0
- package/build/shared/FetchRepositoryBase.js.map +1 -0
- package/build/shared/McpServerBase.d.ts +61 -0
- package/build/shared/McpServerBase.d.ts.map +1 -0
- package/build/shared/McpServerBase.js +175 -0
- package/build/shared/McpServerBase.js.map +1 -0
- package/build/shared/PromptBase.d.ts +113 -0
- package/build/shared/PromptBase.d.ts.map +1 -0
- package/build/shared/PromptBase.js +169 -0
- package/build/shared/PromptBase.js.map +1 -0
- package/build/shared/ResourceBase.d.ts +160 -0
- package/build/shared/ResourceBase.d.ts.map +1 -0
- package/build/shared/ResourceBase.js +235 -0
- package/build/shared/ResourceBase.js.map +1 -0
- package/build/shared/ToolBase.d.ts +174 -0
- package/build/shared/ToolBase.d.ts.map +1 -0
- package/build/shared/ToolBase.js +247 -0
- package/build/shared/ToolBase.js.map +1 -0
- package/build/shared/clients/fetchClient.d.ts +25 -0
- package/build/shared/clients/fetchClient.d.ts.map +1 -0
- package/build/shared/clients/fetchClient.js +285 -0
- package/build/shared/clients/fetchClient.js.map +1 -0
- package/build/shared/clients/index.d.ts +2 -0
- package/build/shared/clients/index.d.ts.map +1 -0
- package/build/shared/clients/index.js +6 -0
- package/build/shared/clients/index.js.map +1 -0
- package/build/shared/context/sessionContext.d.ts +40 -0
- package/build/shared/context/sessionContext.d.ts.map +1 -0
- package/build/shared/context/sessionContext.js +32 -0
- package/build/shared/context/sessionContext.js.map +1 -0
- package/build/shared/globals/index.d.ts +2 -0
- package/build/shared/globals/index.d.ts.map +1 -0
- package/build/shared/globals/index.js +2 -0
- package/build/shared/globals/index.js.map +1 -0
- package/build/shared/helpers/assetsHelpers.d.ts +24 -0
- package/build/shared/helpers/assetsHelpers.d.ts.map +1 -0
- package/build/shared/helpers/assetsHelpers.js +108 -0
- package/build/shared/helpers/assetsHelpers.js.map +1 -0
- package/build/shared/helpers/cleanObject.d.ts +6 -0
- package/build/shared/helpers/cleanObject.d.ts.map +1 -0
- package/build/shared/helpers/cleanObject.js +10 -0
- package/build/shared/helpers/cleanObject.js.map +1 -0
- package/build/shared/helpers/concurrentBatch.d.ts +95 -0
- package/build/shared/helpers/concurrentBatch.d.ts.map +1 -0
- package/build/shared/helpers/concurrentBatch.js +94 -0
- package/build/shared/helpers/concurrentBatch.js.map +1 -0
- package/build/shared/helpers/contentOffloadHelper.d.ts +109 -0
- package/build/shared/helpers/contentOffloadHelper.d.ts.map +1 -0
- package/build/shared/helpers/contentOffloadHelper.js +162 -0
- package/build/shared/helpers/contentOffloadHelper.js.map +1 -0
- package/build/shared/helpers/deprecation.d.ts +76 -0
- package/build/shared/helpers/deprecation.d.ts.map +1 -0
- package/build/shared/helpers/deprecation.js +97 -0
- package/build/shared/helpers/deprecation.js.map +1 -0
- package/build/shared/helpers/docsDiscovery.d.ts +26 -0
- package/build/shared/helpers/docsDiscovery.d.ts.map +1 -0
- package/build/shared/helpers/docsDiscovery.js +69 -0
- package/build/shared/helpers/docsDiscovery.js.map +1 -0
- package/build/shared/helpers/getDocsPath.d.ts +13 -0
- package/build/shared/helpers/getDocsPath.d.ts.map +1 -0
- package/build/shared/helpers/getDocsPath.js +33 -0
- package/build/shared/helpers/getDocsPath.js.map +1 -0
- package/build/shared/helpers/getRepositoryOrThrow.d.ts +11 -0
- package/build/shared/helpers/getRepositoryOrThrow.d.ts.map +1 -0
- package/build/shared/helpers/getRepositoryOrThrow.js +21 -0
- package/build/shared/helpers/getRepositoryOrThrow.js.map +1 -0
- package/build/shared/helpers/index.d.ts +16 -0
- package/build/shared/helpers/index.d.ts.map +1 -0
- package/build/shared/helpers/index.js +16 -0
- package/build/shared/helpers/index.js.map +1 -0
- package/build/shared/helpers/jobManager.d.ts +157 -0
- package/build/shared/helpers/jobManager.d.ts.map +1 -0
- package/build/shared/helpers/jobManager.js +205 -0
- package/build/shared/helpers/jobManager.js.map +1 -0
- package/build/shared/helpers/logger.d.ts +19 -0
- package/build/shared/helpers/logger.d.ts.map +1 -0
- package/build/shared/helpers/logger.js +64 -0
- package/build/shared/helpers/logger.js.map +1 -0
- package/build/shared/helpers/retryWithBackoff.d.ts +58 -0
- package/build/shared/helpers/retryWithBackoff.d.ts.map +1 -0
- package/build/shared/helpers/retryWithBackoff.js +78 -0
- package/build/shared/helpers/retryWithBackoff.js.map +1 -0
- package/build/shared/helpers/slugSchema.d.ts +2 -0
- package/build/shared/helpers/slugSchema.d.ts.map +1 -0
- package/build/shared/helpers/slugSchema.js +2 -0
- package/build/shared/helpers/slugSchema.js.map +1 -0
- package/build/shared/helpers/slugify.d.ts +2 -0
- package/build/shared/helpers/slugify.d.ts.map +1 -0
- package/build/shared/helpers/slugify.js +9 -0
- package/build/shared/helpers/slugify.js.map +1 -0
- package/build/shared/helpers/templateContentValidator.d.ts +50 -0
- package/build/shared/helpers/templateContentValidator.d.ts.map +1 -0
- package/build/shared/helpers/templateContentValidator.js +301 -0
- package/build/shared/helpers/templateContentValidator.js.map +1 -0
- package/build/shared/helpers/truncateContent.d.ts +6 -0
- package/build/shared/helpers/truncateContent.d.ts.map +1 -0
- package/build/shared/helpers/truncateContent.js +12 -0
- package/build/shared/helpers/truncateContent.js.map +1 -0
- package/build/shared/index.d.ts +13 -0
- package/build/shared/index.d.ts.map +1 -0
- package/build/shared/index.js +20 -0
- package/build/shared/index.js.map +1 -0
- package/build/shared/providers/SinglePlatformProvider.d.ts +13 -0
- package/build/shared/providers/SinglePlatformProvider.d.ts.map +1 -0
- package/build/shared/providers/SinglePlatformProvider.js +42 -0
- package/build/shared/providers/SinglePlatformProvider.js.map +1 -0
- package/build/shared/test-utils/index.d.ts +2 -0
- package/build/shared/test-utils/index.d.ts.map +1 -0
- package/build/shared/test-utils/index.js +2 -0
- package/build/shared/test-utils/index.js.map +1 -0
- package/build/shared/test-utils/toolTestUtils.d.ts +191 -0
- package/build/shared/test-utils/toolTestUtils.d.ts.map +1 -0
- package/build/shared/test-utils/toolTestUtils.js +304 -0
- package/build/shared/test-utils/toolTestUtils.js.map +1 -0
- package/build/shared/tools/index.d.ts +2 -0
- package/build/shared/tools/index.d.ts.map +1 -0
- package/build/shared/tools/index.js +2 -0
- package/build/shared/tools/index.js.map +1 -0
- package/build/shared/types/AssetExtensions.d.ts +15 -0
- package/build/shared/types/AssetExtensions.d.ts.map +1 -0
- package/build/shared/types/AssetExtensions.js +95 -0
- package/build/shared/types/AssetExtensions.js.map +1 -0
- package/build/shared/types/Logger.d.ts +19 -0
- package/build/shared/types/Logger.d.ts.map +1 -0
- package/build/shared/types/Logger.js +2 -0
- package/build/shared/types/Logger.js.map +1 -0
- package/build/shared/types/index.d.ts +8 -0
- package/build/shared/types/index.d.ts.map +1 -0
- package/build/shared/types/index.js +2 -0
- package/build/shared/types/index.js.map +1 -0
- package/build/tools/channels/accountTemplates/AccountTemplatesTools.d.ts +2 -0
- package/build/tools/channels/accountTemplates/AccountTemplatesTools.d.ts.map +1 -0
- package/build/tools/channels/accountTemplates/AccountTemplatesTools.js +5 -0
- package/build/tools/channels/accountTemplates/AccountTemplatesTools.js.map +1 -0
- package/build/tools/channels/accountTemplates/Manage.d.ts +16 -0
- package/build/tools/channels/accountTemplates/Manage.d.ts.map +1 -0
- package/build/tools/channels/accountTemplates/Manage.js +221 -0
- package/build/tools/channels/accountTemplates/Manage.js.map +1 -0
- package/build/tools/channels/download/DownloadTools.d.ts +2 -0
- package/build/tools/channels/download/DownloadTools.d.ts.map +1 -0
- package/build/tools/channels/download/DownloadTools.js +5 -0
- package/build/tools/channels/download/DownloadTools.js.map +1 -0
- package/build/tools/channels/download/Manage.d.ts +21 -0
- package/build/tools/channels/download/Manage.d.ts.map +1 -0
- package/build/tools/channels/download/Manage.js +286 -0
- package/build/tools/channels/download/Manage.js.map +1 -0
- package/build/tools/channels/download/helpers/types.d.ts +45 -0
- package/build/tools/channels/download/helpers/types.d.ts.map +1 -0
- package/build/tools/channels/download/helpers/types.js +2 -0
- package/build/tools/channels/download/helpers/types.js.map +1 -0
- package/build/tools/channels/download/helpers/zipGenerator.d.ts +5 -0
- package/build/tools/channels/download/helpers/zipGenerator.d.ts.map +1 -0
- package/build/tools/channels/download/helpers/zipGenerator.js +114 -0
- package/build/tools/channels/download/helpers/zipGenerator.js.map +1 -0
- package/build/tools/channels/globalVariables/GlobalVariablesTools.d.ts +2 -0
- package/build/tools/channels/globalVariables/GlobalVariablesTools.d.ts.map +1 -0
- package/build/tools/channels/globalVariables/GlobalVariablesTools.js +5 -0
- package/build/tools/channels/globalVariables/GlobalVariablesTools.js.map +1 -0
- package/build/tools/channels/globalVariables/Manage.d.ts +32 -0
- package/build/tools/channels/globalVariables/Manage.d.ts.map +1 -0
- package/build/tools/channels/globalVariables/Manage.js +446 -0
- package/build/tools/channels/globalVariables/Manage.js.map +1 -0
- package/build/tools/channels/locks/LocksTools.d.ts +2 -0
- package/build/tools/channels/locks/LocksTools.d.ts.map +1 -0
- package/build/tools/channels/locks/LocksTools.js +5 -0
- package/build/tools/channels/locks/LocksTools.js.map +1 -0
- package/build/tools/channels/locks/Manage.d.ts +18 -0
- package/build/tools/channels/locks/Manage.d.ts.map +1 -0
- package/build/tools/channels/locks/Manage.js +197 -0
- package/build/tools/channels/locks/Manage.js.map +1 -0
- package/build/tools/channels/navigation/Copy.d.ts +12 -0
- package/build/tools/channels/navigation/Copy.d.ts.map +1 -0
- package/build/tools/channels/navigation/Copy.js +226 -0
- package/build/tools/channels/navigation/Copy.js.map +1 -0
- package/build/tools/channels/navigation/Manage.d.ts +18 -0
- package/build/tools/channels/navigation/Manage.d.ts.map +1 -0
- package/build/tools/channels/navigation/Manage.js +246 -0
- package/build/tools/channels/navigation/Manage.js.map +1 -0
- package/build/tools/channels/navigation/ManageItem.d.ts +43 -0
- package/build/tools/channels/navigation/ManageItem.d.ts.map +1 -0
- package/build/tools/channels/navigation/ManageItem.js +579 -0
- package/build/tools/channels/navigation/ManageItem.js.map +1 -0
- package/build/tools/channels/navigation/NavigationTools.d.ts +2 -0
- package/build/tools/channels/navigation/NavigationTools.d.ts.map +1 -0
- package/build/tools/channels/navigation/NavigationTools.js +9 -0
- package/build/tools/channels/navigation/NavigationTools.js.map +1 -0
- package/build/tools/channels/pages/Copy.d.ts +12 -0
- package/build/tools/channels/pages/Copy.d.ts.map +1 -0
- package/build/tools/channels/pages/Copy.js +253 -0
- package/build/tools/channels/pages/Copy.js.map +1 -0
- package/build/tools/channels/pages/Create.d.ts +29 -0
- package/build/tools/channels/pages/Create.d.ts.map +1 -0
- package/build/tools/channels/pages/Create.js +183 -0
- package/build/tools/channels/pages/Create.js.map +1 -0
- package/build/tools/channels/pages/Manage.d.ts +53 -0
- package/build/tools/channels/pages/Manage.d.ts.map +1 -0
- package/build/tools/channels/pages/Manage.js +583 -0
- package/build/tools/channels/pages/Manage.js.map +1 -0
- package/build/tools/channels/pages/ManageContent.d.ts +26 -0
- package/build/tools/channels/pages/ManageContent.d.ts.map +1 -0
- package/build/tools/channels/pages/ManageContent.js +294 -0
- package/build/tools/channels/pages/ManageContent.js.map +1 -0
- package/build/tools/channels/pages/ManageWidget.d.ts +49 -0
- package/build/tools/channels/pages/ManageWidget.d.ts.map +1 -0
- package/build/tools/channels/pages/ManageWidget.js +478 -0
- package/build/tools/channels/pages/ManageWidget.js.map +1 -0
- package/build/tools/channels/pages/PagesTools.d.ts +2 -0
- package/build/tools/channels/pages/PagesTools.d.ts.map +1 -0
- package/build/tools/channels/pages/PagesTools.js +13 -0
- package/build/tools/channels/pages/PagesTools.js.map +1 -0
- package/build/tools/channels/pages/helpers/categorizeTemplate.d.ts +4 -0
- package/build/tools/channels/pages/helpers/categorizeTemplate.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/categorizeTemplate.js +50 -0
- package/build/tools/channels/pages/helpers/categorizeTemplate.js.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/checkLocaleConsistency.d.ts +25 -0
- package/build/tools/channels/pages/helpers/contentPages/checkLocaleConsistency.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/checkLocaleConsistency.js +74 -0
- package/build/tools/channels/pages/helpers/contentPages/checkLocaleConsistency.js.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/createNewContentPage.d.ts +17 -0
- package/build/tools/channels/pages/helpers/contentPages/createNewContentPage.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/createNewContentPage.js +20 -0
- package/build/tools/channels/pages/helpers/contentPages/createNewContentPage.js.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/findExistingPage.d.ts +4 -0
- package/build/tools/channels/pages/helpers/contentPages/findExistingPage.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/findExistingPage.js +31 -0
- package/build/tools/channels/pages/helpers/contentPages/findExistingPage.js.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/publishPageIfRequested.d.ts +17 -0
- package/build/tools/channels/pages/helpers/contentPages/publishPageIfRequested.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/publishPageIfRequested.js +77 -0
- package/build/tools/channels/pages/helpers/contentPages/publishPageIfRequested.js.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/resolveOrCreatePage.d.ts +18 -0
- package/build/tools/channels/pages/helpers/contentPages/resolveOrCreatePage.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/resolveOrCreatePage.js +38 -0
- package/build/tools/channels/pages/helpers/contentPages/resolveOrCreatePage.js.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/updateExistingPage.d.ts +25 -0
- package/build/tools/channels/pages/helpers/contentPages/updateExistingPage.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/contentPages/updateExistingPage.js +52 -0
- package/build/tools/channels/pages/helpers/contentPages/updateExistingPage.js.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/fetchAllPages.d.ts +14 -0
- package/build/tools/channels/pages/helpers/pageManagement/fetchAllPages.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/fetchAllPages.js +8 -0
- package/build/tools/channels/pages/helpers/pageManagement/fetchAllPages.js.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleArchive.d.ts +21 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleArchive.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleArchive.js +38 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleArchive.js.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleDelete.d.ts +17 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleDelete.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleDelete.js +31 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleDelete.js.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleList.d.ts +33 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleList.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleList.js +32 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleList.js.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleRestore.d.ts +21 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleRestore.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleRestore.js +30 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleRestore.js.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleUnpublish.d.ts +20 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleUnpublish.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleUnpublish.js +29 -0
- package/build/tools/channels/pages/helpers/pageManagement/handleUnpublish.js.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/resolvePage.d.ts +15 -0
- package/build/tools/channels/pages/helpers/pageManagement/resolvePage.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/pageManagement/resolvePage.js +48 -0
- package/build/tools/channels/pages/helpers/pageManagement/resolvePage.js.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/buildCustomWidget.d.ts +30 -0
- package/build/tools/channels/pages/helpers/widgetPages/buildCustomWidget.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/buildCustomWidget.js +22 -0
- package/build/tools/channels/pages/helpers/widgetPages/buildCustomWidget.js.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/buildSimpleWidget.d.ts +41 -0
- package/build/tools/channels/pages/helpers/widgetPages/buildSimpleWidget.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/buildSimpleWidget.js +22 -0
- package/build/tools/channels/pages/helpers/widgetPages/buildSimpleWidget.js.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/index.d.ts +6 -0
- package/build/tools/channels/pages/helpers/widgetPages/index.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/index.js +6 -0
- package/build/tools/channels/pages/helpers/widgetPages/index.js.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/processWidgets.d.ts +34 -0
- package/build/tools/channels/pages/helpers/widgetPages/processWidgets.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/processWidgets.js +95 -0
- package/build/tools/channels/pages/helpers/widgetPages/processWidgets.js.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/publishWidget.d.ts +20 -0
- package/build/tools/channels/pages/helpers/widgetPages/publishWidget.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/publishWidget.js +73 -0
- package/build/tools/channels/pages/helpers/widgetPages/publishWidget.js.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/resolveWidgetByNameOrUuid.d.ts +19 -0
- package/build/tools/channels/pages/helpers/widgetPages/resolveWidgetByNameOrUuid.d.ts.map +1 -0
- package/build/tools/channels/pages/helpers/widgetPages/resolveWidgetByNameOrUuid.js +77 -0
- package/build/tools/channels/pages/helpers/widgetPages/resolveWidgetByNameOrUuid.js.map +1 -0
- package/build/tools/channels/preview/GeneratePreviewLink.d.ts +23 -0
- package/build/tools/channels/preview/GeneratePreviewLink.d.ts.map +1 -0
- package/build/tools/channels/preview/GeneratePreviewLink.js +190 -0
- package/build/tools/channels/preview/GeneratePreviewLink.js.map +1 -0
- package/build/tools/channels/preview/PreviewTools.d.ts +2 -0
- package/build/tools/channels/preview/PreviewTools.d.ts.map +1 -0
- package/build/tools/channels/preview/PreviewTools.js +5 -0
- package/build/tools/channels/preview/PreviewTools.js.map +1 -0
- package/build/tools/channels/releases/ReleasesTools.d.ts +2 -0
- package/build/tools/channels/releases/ReleasesTools.d.ts.map +1 -0
- package/build/tools/channels/releases/ReleasesTools.js +5 -0
- package/build/tools/channels/releases/ReleasesTools.js.map +1 -0
- package/build/tools/channels/releases/SmartPublish.d.ts +19 -0
- package/build/tools/channels/releases/SmartPublish.d.ts.map +1 -0
- package/build/tools/channels/releases/SmartPublish.js +681 -0
- package/build/tools/channels/releases/SmartPublish.js.map +1 -0
- package/build/tools/channels/sites/GetOverview.d.ts +10 -0
- package/build/tools/channels/sites/GetOverview.d.ts.map +1 -0
- package/build/tools/channels/sites/GetOverview.js +178 -0
- package/build/tools/channels/sites/GetOverview.js.map +1 -0
- package/build/tools/channels/sites/Manage.d.ts +88 -0
- package/build/tools/channels/sites/Manage.d.ts.map +1 -0
- package/build/tools/channels/sites/Manage.js +344 -0
- package/build/tools/channels/sites/Manage.js.map +1 -0
- package/build/tools/channels/sites/SitesTools.d.ts +2 -0
- package/build/tools/channels/sites/SitesTools.d.ts.map +1 -0
- package/build/tools/channels/sites/SitesTools.js +9 -0
- package/build/tools/channels/sites/SitesTools.js.map +1 -0
- package/build/tools/channels/sites/assets/Manage.d.ts +30 -0
- package/build/tools/channels/sites/assets/Manage.d.ts.map +1 -0
- package/build/tools/channels/sites/assets/Manage.js +135 -0
- package/build/tools/channels/sites/assets/Manage.js.map +1 -0
- package/build/tools/channels/sites/assets/SiteAssetsTools.d.ts +2 -0
- package/build/tools/channels/sites/assets/SiteAssetsTools.d.ts.map +1 -0
- package/build/tools/channels/sites/assets/SiteAssetsTools.js +5 -0
- package/build/tools/channels/sites/assets/SiteAssetsTools.js.map +1 -0
- package/build/tools/channels/sites/handlers/cloneHandler.d.ts +14 -0
- package/build/tools/channels/sites/handlers/cloneHandler.d.ts.map +1 -0
- package/build/tools/channels/sites/handlers/cloneHandler.js +22 -0
- package/build/tools/channels/sites/handlers/cloneHandler.js.map +1 -0
- package/build/tools/channels/sites/handlers/createStageHandler.d.ts +15 -0
- package/build/tools/channels/sites/handlers/createStageHandler.d.ts.map +1 -0
- package/build/tools/channels/sites/handlers/createStageHandler.js +23 -0
- package/build/tools/channels/sites/handlers/createStageHandler.js.map +1 -0
- package/build/tools/channels/sites/handlers/deleteHandler.d.ts +13 -0
- package/build/tools/channels/sites/handlers/deleteHandler.d.ts.map +1 -0
- package/build/tools/channels/sites/handlers/deleteHandler.js +21 -0
- package/build/tools/channels/sites/handlers/deleteHandler.js.map +1 -0
- package/build/tools/channels/sites/handlers/index.d.ts +8 -0
- package/build/tools/channels/sites/handlers/index.d.ts.map +1 -0
- package/build/tools/channels/sites/handlers/index.js +8 -0
- package/build/tools/channels/sites/handlers/index.js.map +1 -0
- package/build/tools/channels/sites/handlers/listHandler.d.ts +21 -0
- package/build/tools/channels/sites/handlers/listHandler.d.ts.map +1 -0
- package/build/tools/channels/sites/handlers/listHandler.js +34 -0
- package/build/tools/channels/sites/handlers/listHandler.js.map +1 -0
- package/build/tools/channels/sites/handlers/listStagesHandler.d.ts +24 -0
- package/build/tools/channels/sites/handlers/listStagesHandler.d.ts.map +1 -0
- package/build/tools/channels/sites/handlers/listStagesHandler.js +36 -0
- package/build/tools/channels/sites/handlers/listStagesHandler.js.map +1 -0
- package/build/tools/channels/sites/handlers/manageHandler.d.ts +71 -0
- package/build/tools/channels/sites/handlers/manageHandler.d.ts.map +1 -0
- package/build/tools/channels/sites/handlers/manageHandler.js +201 -0
- package/build/tools/channels/sites/handlers/manageHandler.js.map +1 -0
- package/build/tools/channels/sites/handlers/siteResolver.d.ts +33 -0
- package/build/tools/channels/sites/handlers/siteResolver.d.ts.map +1 -0
- package/build/tools/channels/sites/handlers/siteResolver.js +51 -0
- package/build/tools/channels/sites/handlers/siteResolver.js.map +1 -0
- package/build/tools/channels/sites/handlers/types.d.ts +13 -0
- package/build/tools/channels/sites/handlers/types.d.ts.map +1 -0
- package/build/tools/channels/sites/handlers/types.js +2 -0
- package/build/tools/channels/sites/handlers/types.js.map +1 -0
- package/build/tools/channels/templates/Copy.d.ts +18 -0
- package/build/tools/channels/templates/Copy.d.ts.map +1 -0
- package/build/tools/channels/templates/Copy.js +192 -0
- package/build/tools/channels/templates/Copy.js.map +1 -0
- package/build/tools/channels/templates/Find.d.ts +21 -0
- package/build/tools/channels/templates/Find.d.ts.map +1 -0
- package/build/tools/channels/templates/Find.js +152 -0
- package/build/tools/channels/templates/Find.js.map +1 -0
- package/build/tools/channels/templates/Manage.d.ts +39 -0
- package/build/tools/channels/templates/Manage.d.ts.map +1 -0
- package/build/tools/channels/templates/Manage.js +650 -0
- package/build/tools/channels/templates/Manage.js.map +1 -0
- package/build/tools/channels/templates/Replace.d.ts +2 -0
- package/build/tools/channels/templates/Replace.d.ts.map +1 -0
- package/build/tools/channels/templates/Replace.js +251 -0
- package/build/tools/channels/templates/Replace.js.map +1 -0
- package/build/tools/channels/templates/Search.d.ts +2 -0
- package/build/tools/channels/templates/Search.d.ts.map +1 -0
- package/build/tools/channels/templates/Search.js +183 -0
- package/build/tools/channels/templates/Search.js.map +1 -0
- package/build/tools/channels/templates/TemplatesTools.d.ts +2 -0
- package/build/tools/channels/templates/TemplatesTools.d.ts.map +1 -0
- package/build/tools/channels/templates/TemplatesTools.js +15 -0
- package/build/tools/channels/templates/TemplatesTools.js.map +1 -0
- package/build/tools/channels/templates/UpdateOrCreate.d.ts +31 -0
- package/build/tools/channels/templates/UpdateOrCreate.d.ts.map +1 -0
- package/build/tools/channels/templates/UpdateOrCreate.js +372 -0
- package/build/tools/channels/templates/UpdateOrCreate.js.map +1 -0
- package/build/tools/channels/templates/helpers.d.ts +10 -0
- package/build/tools/channels/templates/helpers.d.ts.map +1 -0
- package/build/tools/channels/templates/helpers.js +39 -0
- package/build/tools/channels/templates/helpers.js.map +1 -0
- package/build/tools/channels/tools.d.ts +3 -0
- package/build/tools/channels/tools.d.ts.map +1 -0
- package/build/tools/channels/tools.js +25 -0
- package/build/tools/channels/tools.js.map +1 -0
- package/build/tools/channels/widgetDefinitions/Copy.d.ts +12 -0
- package/build/tools/channels/widgetDefinitions/Copy.d.ts.map +1 -0
- package/build/tools/channels/widgetDefinitions/Copy.js +231 -0
- package/build/tools/channels/widgetDefinitions/Copy.js.map +1 -0
- package/build/tools/channels/widgetDefinitions/Manage.d.ts +28 -0
- package/build/tools/channels/widgetDefinitions/Manage.d.ts.map +1 -0
- package/build/tools/channels/widgetDefinitions/Manage.js +422 -0
- package/build/tools/channels/widgetDefinitions/Manage.js.map +1 -0
- package/build/tools/channels/widgetDefinitions/UpdateOrCreate.d.ts +13 -0
- package/build/tools/channels/widgetDefinitions/UpdateOrCreate.d.ts.map +1 -0
- package/build/tools/channels/widgetDefinitions/UpdateOrCreate.js +137 -0
- package/build/tools/channels/widgetDefinitions/UpdateOrCreate.js.map +1 -0
- package/build/tools/channels/widgetDefinitions/WidgetDefinitionsTools.d.ts +2 -0
- package/build/tools/channels/widgetDefinitions/WidgetDefinitionsTools.d.ts.map +1 -0
- package/build/tools/channels/widgetDefinitions/WidgetDefinitionsTools.js +9 -0
- package/build/tools/channels/widgetDefinitions/WidgetDefinitionsTools.js.map +1 -0
- package/build/tools/channels/widgets/WidgetsTools.d.ts +2 -0
- package/build/tools/channels/widgets/WidgetsTools.d.ts.map +1 -0
- package/build/tools/channels/widgets/WidgetsTools.js +4 -0
- package/build/tools/channels/widgets/WidgetsTools.js.map +1 -0
- package/build/tools/content/assets/AssetExtensions.d.ts +15 -0
- package/build/tools/content/assets/AssetExtensions.d.ts.map +1 -0
- package/build/tools/content/assets/AssetExtensions.js +95 -0
- package/build/tools/content/assets/AssetExtensions.js.map +1 -0
- package/build/tools/content/assets/AssetTools.d.ts +2 -0
- package/build/tools/content/assets/AssetTools.d.ts.map +1 -0
- package/build/tools/content/assets/AssetTools.js +11 -0
- package/build/tools/content/assets/AssetTools.js.map +1 -0
- package/build/tools/content/assets/BulkCreate.d.ts +24 -0
- package/build/tools/content/assets/BulkCreate.d.ts.map +1 -0
- package/build/tools/content/assets/BulkCreate.js +136 -0
- package/build/tools/content/assets/BulkCreate.js.map +1 -0
- package/build/tools/content/assets/Get.d.ts +9 -0
- package/build/tools/content/assets/Get.d.ts.map +1 -0
- package/build/tools/content/assets/Get.js +36 -0
- package/build/tools/content/assets/Get.js.map +1 -0
- package/build/tools/content/assets/List.d.ts +20 -0
- package/build/tools/content/assets/List.d.ts.map +1 -0
- package/build/tools/content/assets/List.js +74 -0
- package/build/tools/content/assets/List.js.map +1 -0
- package/build/tools/content/assets/Manage.d.ts +31 -0
- package/build/tools/content/assets/Manage.d.ts.map +1 -0
- package/build/tools/content/assets/Manage.js +321 -0
- package/build/tools/content/assets/Manage.js.map +1 -0
- package/build/tools/content/categories/CategoriesTools.d.ts +2 -0
- package/build/tools/content/categories/CategoriesTools.d.ts.map +1 -0
- package/build/tools/content/categories/CategoriesTools.js +9 -0
- package/build/tools/content/categories/CategoriesTools.js.map +1 -0
- package/build/tools/content/categories/Get.d.ts +9 -0
- package/build/tools/content/categories/Get.d.ts.map +1 -0
- package/build/tools/content/categories/Get.js +33 -0
- package/build/tools/content/categories/Get.js.map +1 -0
- package/build/tools/content/categories/List.d.ts +20 -0
- package/build/tools/content/categories/List.d.ts.map +1 -0
- package/build/tools/content/categories/List.js +71 -0
- package/build/tools/content/categories/List.js.map +1 -0
- package/build/tools/content/categories/Manage.d.ts +21 -0
- package/build/tools/content/categories/Manage.d.ts.map +1 -0
- package/build/tools/content/categories/Manage.js +274 -0
- package/build/tools/content/categories/Manage.js.map +1 -0
- package/build/tools/content/entries/BulkManage.d.ts +23 -0
- package/build/tools/content/entries/BulkManage.d.ts.map +1 -0
- package/build/tools/content/entries/BulkManage.js +299 -0
- package/build/tools/content/entries/BulkManage.js.map +1 -0
- package/build/tools/content/entries/EntriesTools.d.ts +2 -0
- package/build/tools/content/entries/EntriesTools.d.ts.map +1 -0
- package/build/tools/content/entries/EntriesTools.js +13 -0
- package/build/tools/content/entries/EntriesTools.js.map +1 -0
- package/build/tools/content/entries/FieldsSchema.d.ts +178 -0
- package/build/tools/content/entries/FieldsSchema.d.ts.map +1 -0
- package/build/tools/content/entries/FieldsSchema.js +277 -0
- package/build/tools/content/entries/FieldsSchema.js.map +1 -0
- package/build/tools/content/entries/Get.d.ts +10 -0
- package/build/tools/content/entries/Get.d.ts.map +1 -0
- package/build/tools/content/entries/Get.js +81 -0
- package/build/tools/content/entries/Get.js.map +1 -0
- package/build/tools/content/entries/List.d.ts +26 -0
- package/build/tools/content/entries/List.d.ts.map +1 -0
- package/build/tools/content/entries/List.js +78 -0
- package/build/tools/content/entries/List.js.map +1 -0
- package/build/tools/content/entries/Manage.d.ts +609 -0
- package/build/tools/content/entries/Manage.d.ts.map +1 -0
- package/build/tools/content/entries/Manage.js +635 -0
- package/build/tools/content/entries/Manage.js.map +1 -0
- package/build/tools/content/entries/UpdateOrCreate.d.ts +193 -0
- package/build/tools/content/entries/UpdateOrCreate.d.ts.map +1 -0
- package/build/tools/content/entries/UpdateOrCreate.js +245 -0
- package/build/tools/content/entries/UpdateOrCreate.js.map +1 -0
- package/build/tools/content/entries/resolveFieldIds.d.ts +17 -0
- package/build/tools/content/entries/resolveFieldIds.d.ts.map +1 -0
- package/build/tools/content/entries/resolveFieldIds.js +71 -0
- package/build/tools/content/entries/resolveFieldIds.js.map +1 -0
- package/build/tools/content/helpers/CopyUtils.d.ts +175 -0
- package/build/tools/content/helpers/CopyUtils.d.ts.map +1 -0
- package/build/tools/content/helpers/CopyUtils.js +430 -0
- package/build/tools/content/helpers/CopyUtils.js.map +1 -0
- package/build/tools/content/jobs/JobStatus.d.ts +110 -0
- package/build/tools/content/jobs/JobStatus.d.ts.map +1 -0
- package/build/tools/content/jobs/JobStatus.js +139 -0
- package/build/tools/content/jobs/JobStatus.js.map +1 -0
- package/build/tools/content/jobs/JobsTools.d.ts +2 -0
- package/build/tools/content/jobs/JobsTools.d.ts.map +1 -0
- package/build/tools/content/jobs/JobsTools.js +7 -0
- package/build/tools/content/jobs/JobsTools.js.map +1 -0
- package/build/tools/content/spaces/Copy.d.ts +16 -0
- package/build/tools/content/spaces/Copy.d.ts.map +1 -0
- package/build/tools/content/spaces/Copy.js +804 -0
- package/build/tools/content/spaces/Copy.js.map +1 -0
- package/build/tools/content/spaces/Get.d.ts +8 -0
- package/build/tools/content/spaces/Get.d.ts.map +1 -0
- package/build/tools/content/spaces/Get.js +43 -0
- package/build/tools/content/spaces/Get.js.map +1 -0
- package/build/tools/content/spaces/List.d.ts +20 -0
- package/build/tools/content/spaces/List.d.ts.map +1 -0
- package/build/tools/content/spaces/List.js +76 -0
- package/build/tools/content/spaces/List.js.map +1 -0
- package/build/tools/content/spaces/Manage.d.ts +34 -0
- package/build/tools/content/spaces/Manage.d.ts.map +1 -0
- package/build/tools/content/spaces/Manage.js +406 -0
- package/build/tools/content/spaces/Manage.js.map +1 -0
- package/build/tools/content/spaces/SpacesTools.d.ts +2 -0
- package/build/tools/content/spaces/SpacesTools.d.ts.map +1 -0
- package/build/tools/content/spaces/SpacesTools.js +11 -0
- package/build/tools/content/spaces/SpacesTools.js.map +1 -0
- package/build/tools/content/tools.d.ts +3 -0
- package/build/tools/content/tools.d.ts.map +1 -0
- package/build/tools/content/tools.js +15 -0
- package/build/tools/content/tools.js.map +1 -0
- package/build/tools/content/types/Copy.d.ts +14 -0
- package/build/tools/content/types/Copy.d.ts.map +1 -0
- package/build/tools/content/types/Copy.js +398 -0
- package/build/tools/content/types/Copy.js.map +1 -0
- package/build/tools/content/types/FieldsSchema.d.ts +491 -0
- package/build/tools/content/types/FieldsSchema.d.ts.map +1 -0
- package/build/tools/content/types/FieldsSchema.js +1229 -0
- package/build/tools/content/types/FieldsSchema.js.map +1 -0
- package/build/tools/content/types/Get.d.ts +9 -0
- package/build/tools/content/types/Get.d.ts.map +1 -0
- package/build/tools/content/types/Get.js +35 -0
- package/build/tools/content/types/Get.js.map +1 -0
- package/build/tools/content/types/List.d.ts +24 -0
- package/build/tools/content/types/List.d.ts.map +1 -0
- package/build/tools/content/types/List.js +68 -0
- package/build/tools/content/types/List.js.map +1 -0
- package/build/tools/content/types/Manage.d.ts +1003 -0
- package/build/tools/content/types/Manage.d.ts.map +1 -0
- package/build/tools/content/types/Manage.js +402 -0
- package/build/tools/content/types/Manage.js.map +1 -0
- package/build/tools/content/types/TypesTools.d.ts +2 -0
- package/build/tools/content/types/TypesTools.d.ts.map +1 -0
- package/build/tools/content/types/TypesTools.js +13 -0
- package/build/tools/content/types/TypesTools.js.map +1 -0
- package/build/tools/content/types/UpdateOrCreate.d.ts +501 -0
- package/build/tools/content/types/UpdateOrCreate.d.ts.map +1 -0
- package/build/tools/content/types/UpdateOrCreate.js +123 -0
- package/build/tools/content/types/UpdateOrCreate.js.map +1 -0
- package/build/tools/core/groups/GroupsTools.d.ts +2 -0
- package/build/tools/core/groups/GroupsTools.d.ts.map +1 -0
- package/build/tools/core/groups/GroupsTools.js +7 -0
- package/build/tools/core/groups/GroupsTools.js.map +1 -0
- package/build/tools/core/groups/Manage.d.ts +36 -0
- package/build/tools/core/groups/Manage.d.ts.map +1 -0
- package/build/tools/core/groups/Manage.js +479 -0
- package/build/tools/core/groups/Manage.js.map +1 -0
- package/build/tools/core/groups/UpdateOrCreate.d.ts +12 -0
- package/build/tools/core/groups/UpdateOrCreate.d.ts.map +1 -0
- package/build/tools/core/groups/UpdateOrCreate.js +155 -0
- package/build/tools/core/groups/UpdateOrCreate.js.map +1 -0
- package/build/tools/core/roles/Create.d.ts +15 -0
- package/build/tools/core/roles/Create.d.ts.map +1 -0
- package/build/tools/core/roles/Create.js +82 -0
- package/build/tools/core/roles/Create.js.map +1 -0
- package/build/tools/core/roles/List.d.ts +13 -0
- package/build/tools/core/roles/List.d.ts.map +1 -0
- package/build/tools/core/roles/List.js +61 -0
- package/build/tools/core/roles/List.js.map +1 -0
- package/build/tools/core/roles/RolesTools.d.ts +2 -0
- package/build/tools/core/roles/RolesTools.d.ts.map +1 -0
- package/build/tools/core/roles/RolesTools.js +7 -0
- package/build/tools/core/roles/RolesTools.js.map +1 -0
- package/build/tools/core/settings/Manage.d.ts +52 -0
- package/build/tools/core/settings/Manage.d.ts.map +1 -0
- package/build/tools/core/settings/Manage.js +402 -0
- package/build/tools/core/settings/Manage.js.map +1 -0
- package/build/tools/core/settings/SettingsTools.d.ts +2 -0
- package/build/tools/core/settings/SettingsTools.d.ts.map +1 -0
- package/build/tools/core/settings/SettingsTools.js +5 -0
- package/build/tools/core/settings/SettingsTools.js.map +1 -0
- package/build/tools/core/team/BulkManage.d.ts +19 -0
- package/build/tools/core/team/BulkManage.d.ts.map +1 -0
- package/build/tools/core/team/BulkManage.js +265 -0
- package/build/tools/core/team/BulkManage.js.map +1 -0
- package/build/tools/core/team/Manage.d.ts +36 -0
- package/build/tools/core/team/Manage.d.ts.map +1 -0
- package/build/tools/core/team/Manage.js +469 -0
- package/build/tools/core/team/Manage.js.map +1 -0
- package/build/tools/core/team/TeamTools.d.ts +2 -0
- package/build/tools/core/team/TeamTools.d.ts.map +1 -0
- package/build/tools/core/team/TeamTools.js +9 -0
- package/build/tools/core/team/TeamTools.js.map +1 -0
- package/build/tools/core/team/UpdateOrCreate.d.ts +17 -0
- package/build/tools/core/team/UpdateOrCreate.d.ts.map +1 -0
- package/build/tools/core/team/UpdateOrCreate.js +149 -0
- package/build/tools/core/team/UpdateOrCreate.js.map +1 -0
- package/build/tools/core/teamMembers/Manage.d.ts +28 -0
- package/build/tools/core/teamMembers/Manage.d.ts.map +1 -0
- package/build/tools/core/teamMembers/Manage.js +317 -0
- package/build/tools/core/teamMembers/Manage.js.map +1 -0
- package/build/tools/core/teamMembers/TeamMembersTools.d.ts +2 -0
- package/build/tools/core/teamMembers/TeamMembersTools.d.ts.map +1 -0
- package/build/tools/core/teamMembers/TeamMembersTools.js +5 -0
- package/build/tools/core/teamMembers/TeamMembersTools.js.map +1 -0
- package/build/tools/core/tools.d.ts +3 -0
- package/build/tools/core/tools.d.ts.map +1 -0
- package/build/tools/core/tools.js +13 -0
- package/build/tools/core/tools.js.map +1 -0
- package/build/tools/customers/forms/FormsCopy.d.ts +15 -0
- package/build/tools/customers/forms/FormsCopy.d.ts.map +1 -0
- package/build/tools/customers/forms/FormsCopy.js +404 -0
- package/build/tools/customers/forms/FormsCopy.js.map +1 -0
- package/build/tools/customers/forms/FormsManage.d.ts +75 -0
- package/build/tools/customers/forms/FormsManage.d.ts.map +1 -0
- package/build/tools/customers/forms/FormsManage.js +413 -0
- package/build/tools/customers/forms/FormsManage.js.map +1 -0
- package/build/tools/customers/forms/FormsTools.d.ts +2 -0
- package/build/tools/customers/forms/FormsTools.d.ts.map +1 -0
- package/build/tools/customers/forms/FormsTools.js +7 -0
- package/build/tools/customers/forms/FormsTools.js.map +1 -0
- package/build/tools/customers/originations/Manage.d.ts +36 -0
- package/build/tools/customers/originations/Manage.d.ts.map +1 -0
- package/build/tools/customers/originations/Manage.js +471 -0
- package/build/tools/customers/originations/Manage.js.map +1 -0
- package/build/tools/customers/originations/OriginationsTools.d.ts +2 -0
- package/build/tools/customers/originations/OriginationsTools.d.ts.map +1 -0
- package/build/tools/customers/originations/OriginationsTools.js +13 -0
- package/build/tools/customers/originations/OriginationsTools.js.map +1 -0
- package/build/tools/customers/originations/RulesManage.d.ts +527 -0
- package/build/tools/customers/originations/RulesManage.d.ts.map +1 -0
- package/build/tools/customers/originations/RulesManage.js +283 -0
- package/build/tools/customers/originations/RulesManage.js.map +1 -0
- package/build/tools/customers/originations/StepClone.d.ts +63 -0
- package/build/tools/customers/originations/StepClone.d.ts.map +1 -0
- package/build/tools/customers/originations/StepClone.js +340 -0
- package/build/tools/customers/originations/StepClone.js.map +1 -0
- package/build/tools/customers/originations/StepManage.d.ts +357 -0
- package/build/tools/customers/originations/StepManage.d.ts.map +1 -0
- package/build/tools/customers/originations/StepManage.js +407 -0
- package/build/tools/customers/originations/StepManage.js.map +1 -0
- package/build/tools/customers/originations/ValidateStructure.d.ts +43 -0
- package/build/tools/customers/originations/ValidateStructure.d.ts.map +1 -0
- package/build/tools/customers/originations/ValidateStructure.js +74 -0
- package/build/tools/customers/originations/ValidateStructure.js.map +1 -0
- package/build/tools/customers/realms/Manage.d.ts +48 -0
- package/build/tools/customers/realms/Manage.d.ts.map +1 -0
- package/build/tools/customers/realms/Manage.js +421 -0
- package/build/tools/customers/realms/Manage.js.map +1 -0
- package/build/tools/customers/realms/RealmsTools.d.ts +2 -0
- package/build/tools/customers/realms/RealmsTools.d.ts.map +1 -0
- package/build/tools/customers/realms/RealmsTools.js +5 -0
- package/build/tools/customers/realms/RealmsTools.js.map +1 -0
- package/build/tools/customers/segments/SegmentsManage.d.ts +44 -0
- package/build/tools/customers/segments/SegmentsManage.d.ts.map +1 -0
- package/build/tools/customers/segments/SegmentsManage.js +353 -0
- package/build/tools/customers/segments/SegmentsManage.js.map +1 -0
- package/build/tools/customers/segments/SegmentsTools.d.ts +2 -0
- package/build/tools/customers/segments/SegmentsTools.d.ts.map +1 -0
- package/build/tools/customers/segments/SegmentsTools.js +5 -0
- package/build/tools/customers/segments/SegmentsTools.js.map +1 -0
- package/build/tools/customers/settings/DataSetsCopy.d.ts +12 -0
- package/build/tools/customers/settings/DataSetsCopy.d.ts.map +1 -0
- package/build/tools/customers/settings/DataSetsCopy.js +175 -0
- package/build/tools/customers/settings/DataSetsCopy.js.map +1 -0
- package/build/tools/customers/settings/DataSetsManage.d.ts +29 -0
- package/build/tools/customers/settings/DataSetsManage.d.ts.map +1 -0
- package/build/tools/customers/settings/DataSetsManage.js +255 -0
- package/build/tools/customers/settings/DataSetsManage.js.map +1 -0
- package/build/tools/customers/settings/SettingsTools.d.ts +2 -0
- package/build/tools/customers/settings/SettingsTools.d.ts.map +1 -0
- package/build/tools/customers/settings/SettingsTools.js +7 -0
- package/build/tools/customers/settings/SettingsTools.js.map +1 -0
- package/build/tools/customers/submissions/BulkManage.d.ts +27 -0
- package/build/tools/customers/submissions/BulkManage.d.ts.map +1 -0
- package/build/tools/customers/submissions/BulkManage.js +367 -0
- package/build/tools/customers/submissions/BulkManage.js.map +1 -0
- package/build/tools/customers/submissions/Manage.d.ts +30 -0
- package/build/tools/customers/submissions/Manage.d.ts.map +1 -0
- package/build/tools/customers/submissions/Manage.js +374 -0
- package/build/tools/customers/submissions/Manage.js.map +1 -0
- package/build/tools/customers/submissions/submissionsTools.d.ts +2 -0
- package/build/tools/customers/submissions/submissionsTools.d.ts.map +1 -0
- package/build/tools/customers/submissions/submissionsTools.js +7 -0
- package/build/tools/customers/submissions/submissionsTools.js.map +1 -0
- package/build/tools/customers/tools.d.ts +3 -0
- package/build/tools/customers/tools.d.ts.map +1 -0
- package/build/tools/customers/tools.js +17 -0
- package/build/tools/customers/tools.js.map +1 -0
- package/build/tools/customers/users/BulkManageUsers.d.ts +36 -0
- package/build/tools/customers/users/BulkManageUsers.d.ts.map +1 -0
- package/build/tools/customers/users/BulkManageUsers.js +253 -0
- package/build/tools/customers/users/BulkManageUsers.js.map +1 -0
- package/build/tools/customers/users/ListRealmUsers.d.ts +19 -0
- package/build/tools/customers/users/ListRealmUsers.d.ts.map +1 -0
- package/build/tools/customers/users/ListRealmUsers.js +109 -0
- package/build/tools/customers/users/ListRealmUsers.js.map +1 -0
- package/build/tools/customers/users/ManageUser.d.ts +33 -0
- package/build/tools/customers/users/ManageUser.d.ts.map +1 -0
- package/build/tools/customers/users/ManageUser.js +277 -0
- package/build/tools/customers/users/ManageUser.js.map +1 -0
- package/build/tools/customers/users/UsersTools.d.ts +2 -0
- package/build/tools/customers/users/UsersTools.d.ts.map +1 -0
- package/build/tools/customers/users/UsersTools.js +9 -0
- package/build/tools/customers/users/UsersTools.js.map +1 -0
- package/build/tools/tools.d.ts +3 -0
- package/build/tools/tools.d.ts.map +1 -0
- package/build/tools/tools.js +70 -0
- package/build/tools/tools.js.map +1 -0
- package/docs/INDEX.md +72 -0
- package/docs/channels/best-practices.md +149 -0
- package/docs/channels/css-js/organization.md +529 -0
- package/docs/channels/css-js/templates.md +464 -0
- package/docs/channels/liquid/best-practices.md +471 -0
- package/docs/channels/liquid/context-reference.md +332 -0
- package/docs/channels/liquid/drops-and-filters.md +839 -0
- package/docs/channels/liquid/field-access.md +340 -0
- package/docs/channels/page-types.md +495 -0
- package/docs/channels/publishing-strategies.md +703 -0
- package/docs/channels/publishing-workflow.md +470 -0
- package/docs/channels/site-architecture.md +246 -0
- package/docs/channels/site-components.md +917 -0
- package/docs/channels/site-patterns.md +707 -0
- package/docs/channels/site-setup-checklist.md +42 -0
- package/docs/channels/snippets/content-access.md +541 -0
- package/docs/channels/snippets/layouts.md +449 -0
- package/docs/channels/snippets/liquid-drops.md +1019 -0
- package/docs/channels/snippets/overview.md +631 -0
- package/docs/channels/templates/status-guide.md +621 -0
- package/docs/channels/templates/status-operations.md +403 -0
- package/docs/channels/templates/workflows.md +628 -0
- package/docs/channels/versioning-system.md +554 -0
- package/docs/development/e2e-test-guide.md +128 -0
- package/docs/development/mcp-overview.md +269 -0
- package/docs/development/test-utilities.md +85 -0
- package/docs/development/tool-patterns.md +102 -0
- package/docs/platform/api-quirks.md +87 -0
- package/docs/platform/architecture.md +70 -0
- package/docs/platform/channels.md +93 -0
- package/docs/platform/content.md +76 -0
- package/docs/platform/core.md +54 -0
- package/docs/platform/customers.md +72 -0
- package/docs/tools/CLAUDE.md +358 -0
- package/docs/tools/PAGE_PARAMETERS_EXPLAINED.md +255 -0
- package/docs/tools/PAGE_WIDGET_TOOLS.md +468 -0
- package/docs/tools/RELEASE_TOOLS.md +263 -0
- package/docs/tools/TOOLS_SUMMARY.md +368 -0
- package/docs/tools/WIDGET_TOOLS.md +374 -0
- package/docs/tools/channels/pages/page-create.md +328 -0
- package/docs/tools/channels/sites/site-create.md +280 -0
- package/docs/tools/channels/templates/template-list-snippets.md +320 -0
- package/docs/widgets/platform/development.md +744 -0
- package/docs/widgets/platform/editing-published.md +483 -0
- package/docs/widgets/platform/workflows.md +603 -0
- package/docs/workflows/published-page-deletion.md +366 -0
- package/package.json +87 -0
|
@@ -0,0 +1,796 @@
|
|
|
1
|
+
import { ResourceBase } from "../../../shared/index.js";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
/**
|
|
4
|
+
* Liquid reference content organized by section
|
|
5
|
+
*/
|
|
6
|
+
const LIQUID_REFERENCE = {
|
|
7
|
+
overview: `# Modyo Liquid Reference
|
|
8
|
+
|
|
9
|
+
Liquid is a templating language used in Modyo for dynamic content rendering in templates, snippets, and layouts.
|
|
10
|
+
|
|
11
|
+
**Where Liquid works:**
|
|
12
|
+
- ✅ Layouts (page wrappers)
|
|
13
|
+
- ✅ Custom snippets
|
|
14
|
+
- ✅ System snippets (head, header, footer)
|
|
15
|
+
- ✅ HTML widgets on pages
|
|
16
|
+
- ❌ CSS templates (plain CSS only)
|
|
17
|
+
- ❌ JavaScript templates (plain JS only)
|
|
18
|
+
- ❌ Widget definitions (use JS framework instead)`,
|
|
19
|
+
syntax: `## Basic Syntax
|
|
20
|
+
|
|
21
|
+
### Output (Variables)
|
|
22
|
+
\`\`\`liquid
|
|
23
|
+
{{ variable }}
|
|
24
|
+
{{ object.property }}
|
|
25
|
+
{{ array[0] }}
|
|
26
|
+
\`\`\`
|
|
27
|
+
|
|
28
|
+
### Tags (Logic)
|
|
29
|
+
\`\`\`liquid
|
|
30
|
+
{% if condition %}
|
|
31
|
+
content
|
|
32
|
+
{% elsif other_condition %}
|
|
33
|
+
other content
|
|
34
|
+
{% else %}
|
|
35
|
+
fallback
|
|
36
|
+
{% endif %}
|
|
37
|
+
|
|
38
|
+
{% for item in collection %}
|
|
39
|
+
{{ item.name }}
|
|
40
|
+
{% endfor %}
|
|
41
|
+
|
|
42
|
+
{% assign my_var = "value" %}
|
|
43
|
+
{% capture my_block %}content{% endcapture %}
|
|
44
|
+
\`\`\`
|
|
45
|
+
|
|
46
|
+
### Whitespace Control
|
|
47
|
+
Use \`{%-\` and \`-%}\` to strip whitespace:
|
|
48
|
+
\`\`\`liquid
|
|
49
|
+
{%- assign items = collection -%}
|
|
50
|
+
{%- for item in items -%}
|
|
51
|
+
{{ item.name }}
|
|
52
|
+
{%- endfor -%}
|
|
53
|
+
\`\`\`
|
|
54
|
+
|
|
55
|
+
### Comments
|
|
56
|
+
\`\`\`liquid
|
|
57
|
+
{% comment %}This won't be rendered{% endcomment %}
|
|
58
|
+
{%- comment -%}Whitespace-trimmed comment{%- endcomment -%}
|
|
59
|
+
\`\`\``,
|
|
60
|
+
modyo_objects: `## Modyo Objects
|
|
61
|
+
|
|
62
|
+
### site
|
|
63
|
+
Current site information:
|
|
64
|
+
\`\`\`liquid
|
|
65
|
+
{{ site.name }}
|
|
66
|
+
{{ site.url }}
|
|
67
|
+
{{ site.locale }} {# Current locale: 'en', 'es', etc. #}
|
|
68
|
+
{{ site.default_locale }}
|
|
69
|
+
{{ site.locales }} {# Array of available locales #}
|
|
70
|
+
{{ site.theme.primary_color }}
|
|
71
|
+
{{ site.theme.secondary_color }}
|
|
72
|
+
\`\`\`
|
|
73
|
+
|
|
74
|
+
### user (Authenticated Users)
|
|
75
|
+
\`\`\`liquid
|
|
76
|
+
{% if user %}
|
|
77
|
+
{{ user.name }} {# Full name #}
|
|
78
|
+
{{ user.first_name }} {# First name #}
|
|
79
|
+
{{ user.last_name }} {# Last name #}
|
|
80
|
+
{{ user.email }} {# Email #}
|
|
81
|
+
{{ user.avatar.url }} {# Avatar URL (may be blank) #}
|
|
82
|
+
{{ user.realm_default_avatar }} {# Default avatar from realm #}
|
|
83
|
+
{{ user.unread_notifications_count }} {# Unread notification count #}
|
|
84
|
+
{{ user.first_name | slice: 0 }}{{ user.last_name | slice: 0 }} {# Initials #}
|
|
85
|
+
{% elsif site.login_enabled %}
|
|
86
|
+
<a href="{{ site.url }}/login">Sign In</a>
|
|
87
|
+
{% endif %}
|
|
88
|
+
\`\`\`
|
|
89
|
+
|
|
90
|
+
**IMPORTANT**: Use \`{% if user %}\` to check authentication — NOT \`{% if user.logged_in %}\` (does not exist).
|
|
91
|
+
Login/logout URLs: \`{{ site.url }}/login\`, \`{{ site.url }}/logout\`.
|
|
92
|
+
Session snippet: \`{% snippet "shared/general/session" %}\` handles the full login/logout flow.
|
|
93
|
+
\`site.login_enabled\` checks if login is enabled for the site.
|
|
94
|
+
|
|
95
|
+
### request
|
|
96
|
+
Current request information:
|
|
97
|
+
\`\`\`liquid
|
|
98
|
+
{{ request.path }}
|
|
99
|
+
{{ request.host }}
|
|
100
|
+
{{ request.url }}
|
|
101
|
+
{{ request.user_agent }}
|
|
102
|
+
\`\`\`
|
|
103
|
+
|
|
104
|
+
### global_variables
|
|
105
|
+
Site-wide variables (set via channels-variables-manage tool):
|
|
106
|
+
\`\`\`liquid
|
|
107
|
+
{{ global_variables.site_name }}
|
|
108
|
+
{{ global_variables.contact_email }}
|
|
109
|
+
{{ global_variables.api_base_url }}
|
|
110
|
+
\`\`\`
|
|
111
|
+
|
|
112
|
+
### spaces (Content API)
|
|
113
|
+
Access content from Modyo Content:
|
|
114
|
+
\`\`\`liquid
|
|
115
|
+
{%- assign entries = spaces['blog'].types['post'].entries | sort_by: 'meta.published_at', 'desc' | limit: 6 -%}
|
|
116
|
+
{%- for entry in entries -%}
|
|
117
|
+
<article>
|
|
118
|
+
<h2>{{ entry.meta.title }}</h2>
|
|
119
|
+
<p>{{ entry.meta.excerpt }}</p>
|
|
120
|
+
{{ entry.fields.Body }}
|
|
121
|
+
<img src="{{ entry.fields.Cover.url }}" alt="{{ entry.fields.Cover.alt }}">
|
|
122
|
+
</article>
|
|
123
|
+
{%- endfor -%}
|
|
124
|
+
|
|
125
|
+
{# Filter entries #}
|
|
126
|
+
{%- assign featured = spaces['store'].types['product'].entries | sort_by: 'meta.published_at', 'desc' | limit: 10 -%}
|
|
127
|
+
\`\`\`
|
|
128
|
+
|
|
129
|
+
### IMPORTANT: Content Entry Access Rules
|
|
130
|
+
1. **Field access**: Use \`entry.fields.FieldName\` (NO \`.value\`). Example: \`{{ entry.fields.Title }}\`, \`{{ entry.fields.Cover.url }}\`
|
|
131
|
+
2. **Sorting**: Use \`sort_by\` with direction parameter: \`| sort_by: 'field', 'desc'\` or \`| sort_by: 'field', 'asc'\`. NEVER use \`| sort | reverse\` — \`reverse\` returns a plain array and breaks \`limit\` which expects an ActiveRecord::Relation.
|
|
132
|
+
3. **Limiting**: Use \`| limit: N\` filter (NOT \`for ... limit: N\`). Apply after \`sort_by\` to keep the query as ActiveRecord::Relation.
|
|
133
|
+
4. **Chaining**: Always chain in this order: \`entries | sort_by: 'field', 'dir' | limit: N\`
|
|
134
|
+
|
|
135
|
+
### Entry Object Structure
|
|
136
|
+
\`\`\`liquid
|
|
137
|
+
entry.meta.uuid
|
|
138
|
+
entry.meta.title
|
|
139
|
+
entry.meta.slug
|
|
140
|
+
entry.meta.excerpt
|
|
141
|
+
entry.meta.published_at
|
|
142
|
+
entry.meta.locale
|
|
143
|
+
entry.meta.category {# Primary category #}
|
|
144
|
+
entry.meta.categories {# All categories #}
|
|
145
|
+
entry.meta.tags
|
|
146
|
+
|
|
147
|
+
entry.fields.FieldName {# Access custom fields — NO .value needed #}
|
|
148
|
+
entry.fields.Cover.url {# Asset fields have .url, .alt, etc. #}
|
|
149
|
+
\`\`\`
|
|
150
|
+
|
|
151
|
+
### html5
|
|
152
|
+
HTML5 document helpers (use in layouts):
|
|
153
|
+
\`\`\`liquid
|
|
154
|
+
{{ html5.open_tag }}
|
|
155
|
+
<head>{% snippet 'head' %}</head>
|
|
156
|
+
<body>
|
|
157
|
+
{{ content_for_layout }}
|
|
158
|
+
</body>
|
|
159
|
+
{{ html5.close_tag }}
|
|
160
|
+
\`\`\`
|
|
161
|
+
|
|
162
|
+
### content_for_layout
|
|
163
|
+
Renders the page content (layouts only):
|
|
164
|
+
\`\`\`liquid
|
|
165
|
+
<main class="content">
|
|
166
|
+
{{ content_for_layout }}
|
|
167
|
+
</main>
|
|
168
|
+
\`\`\``,
|
|
169
|
+
modyo_filters: `## Modyo Filters
|
|
170
|
+
|
|
171
|
+
### Asset Pipeline
|
|
172
|
+
\`\`\`liquid
|
|
173
|
+
{# Get asset URL #}
|
|
174
|
+
{{ 'main-styles' | asset_url: 'css' }}
|
|
175
|
+
{{ 'app-scripts' | asset_url: 'js' }}
|
|
176
|
+
{{ 'logo' | asset_url: 'image' }}
|
|
177
|
+
|
|
178
|
+
{# Generate tags with CSP nonce (REQUIRED for inline) #}
|
|
179
|
+
{{ 'main-styles' | asset_url: 'css' | stylesheet_tag: nonce: csp_nonce }}
|
|
180
|
+
{{ 'app-scripts' | asset_url: 'js' | script_tag: defer: 'defer', nonce: csp_nonce }}
|
|
181
|
+
|
|
182
|
+
{# Image transforms #}
|
|
183
|
+
{{ image.url | asset_url: 'image' | resize: '400x300' }}
|
|
184
|
+
{{ image.url | thumb: '100x100' }}
|
|
185
|
+
\`\`\`
|
|
186
|
+
|
|
187
|
+
### Text Filters
|
|
188
|
+
\`\`\`liquid
|
|
189
|
+
{{ 'hello world' | capitalize }} {# Hello world #}
|
|
190
|
+
{{ 'HELLO' | downcase }} {# hello #}
|
|
191
|
+
{{ 'hello' | upcase }} {# HELLO #}
|
|
192
|
+
{{ 'hello world' | truncate: 8 }} {# hello... #}
|
|
193
|
+
{{ 'hello world' | truncatewords: 1 }} {# hello... #}
|
|
194
|
+
{{ text | strip_html }}
|
|
195
|
+
{{ text | escape }}
|
|
196
|
+
{{ text | newline_to_br }}
|
|
197
|
+
{{ 'hello-world' | replace: '-', ' ' }}
|
|
198
|
+
\`\`\`
|
|
199
|
+
|
|
200
|
+
### Number/Currency Filters
|
|
201
|
+
\`\`\`liquid
|
|
202
|
+
{{ price | money }} {# Formatted currency #}
|
|
203
|
+
{{ number | round: 2 }}
|
|
204
|
+
{{ number | floor }}
|
|
205
|
+
{{ number | ceil }}
|
|
206
|
+
{{ number | plus: 5 }}
|
|
207
|
+
{{ number | minus: 3 }}
|
|
208
|
+
{{ number | times: 2 }}
|
|
209
|
+
{{ number | divided_by: 4 }}
|
|
210
|
+
\`\`\`
|
|
211
|
+
|
|
212
|
+
### Array Filters
|
|
213
|
+
\`\`\`liquid
|
|
214
|
+
{{ array | first }}
|
|
215
|
+
{{ array | last }}
|
|
216
|
+
{{ array | size }}
|
|
217
|
+
{{ array | join: ', ' }}
|
|
218
|
+
{{ array | sort }}
|
|
219
|
+
{{ array | sort: 'property' }}
|
|
220
|
+
{{ array | reverse }}
|
|
221
|
+
{{ array | uniq }}
|
|
222
|
+
{{ array | where: 'active', true }}
|
|
223
|
+
{{ array | map: 'name' }}
|
|
224
|
+
{{ array | slice: 0, 3 }}
|
|
225
|
+
\`\`\`
|
|
226
|
+
|
|
227
|
+
### Date Filters
|
|
228
|
+
\`\`\`liquid
|
|
229
|
+
{{ entry.meta.published_at | date: '%B %d, %Y' }} {# January 15, 2024 #}
|
|
230
|
+
{{ 'now' | date: '%Y-%m-%d' }}
|
|
231
|
+
{{ date | date: '%H:%M' }}
|
|
232
|
+
|
|
233
|
+
{# Common formats #}
|
|
234
|
+
%Y - Year (2024)
|
|
235
|
+
%m - Month (01-12)
|
|
236
|
+
%d - Day (01-31)
|
|
237
|
+
%B - Month name (January)
|
|
238
|
+
%b - Month short (Jan)
|
|
239
|
+
%A - Weekday (Monday)
|
|
240
|
+
%H - Hour 24h (00-23)
|
|
241
|
+
%I - Hour 12h (01-12)
|
|
242
|
+
%M - Minutes (00-59)
|
|
243
|
+
%p - AM/PM
|
|
244
|
+
\`\`\`
|
|
245
|
+
|
|
246
|
+
### URL Filters
|
|
247
|
+
\`\`\`liquid
|
|
248
|
+
{{ 'hello world' | url_encode }} {# hello%20world #}
|
|
249
|
+
{{ path | prepend: site.url }}
|
|
250
|
+
{{ path | append: '.html' }}
|
|
251
|
+
\`\`\`
|
|
252
|
+
|
|
253
|
+
### Translation
|
|
254
|
+
\`\`\`liquid
|
|
255
|
+
{{ 'welcome_message' | translate }}
|
|
256
|
+
{{ 'greeting' | translate: name: user.name }}
|
|
257
|
+
\`\`\``,
|
|
258
|
+
navigation: `## Navigation Menus
|
|
259
|
+
|
|
260
|
+
### Accessing Menus (CORRECT syntax)
|
|
261
|
+
\`\`\`liquid
|
|
262
|
+
{%- assign menu = menus['main'] -%}
|
|
263
|
+
{%- assign items_to_show = menu.items | visible_items -%}
|
|
264
|
+
{%- for item in items_to_show -%}
|
|
265
|
+
<li>
|
|
266
|
+
<a href="{{ item.url }}"
|
|
267
|
+
{% if item.active_page %}class="active"{% endif %}
|
|
268
|
+
{{ item.item_rel }}>
|
|
269
|
+
{{ item.label }}
|
|
270
|
+
</a>
|
|
271
|
+
{%- if item.child_items -%}
|
|
272
|
+
{%- assign children = item.child_items | visible_items -%}
|
|
273
|
+
<ul>
|
|
274
|
+
{%- for child in children -%}
|
|
275
|
+
<li><a href="{{ child.url }}">{{ child.label }}</a></li>
|
|
276
|
+
{%- endfor -%}
|
|
277
|
+
</ul>
|
|
278
|
+
{%- endif -%}
|
|
279
|
+
</li>
|
|
280
|
+
{%- endfor -%}
|
|
281
|
+
\`\`\`
|
|
282
|
+
|
|
283
|
+
### WRONG syntax (DO NOT USE)
|
|
284
|
+
\`\`\`liquid
|
|
285
|
+
{# WRONG — this syntax does NOT work in Modyo Liquid #}
|
|
286
|
+
{% for item in site.menu("main").items %}
|
|
287
|
+
{% for item in site.menus['main'].items %}
|
|
288
|
+
{% for item in site.menus.main.items %}
|
|
289
|
+
\`\`\`
|
|
290
|
+
|
|
291
|
+
### Menu Object Properties
|
|
292
|
+
\`\`\`liquid
|
|
293
|
+
menus['slug'] {# Access menu by slug #}
|
|
294
|
+
menu.items {# Top-level items (unfiltered) #}
|
|
295
|
+
menu.items | visible_items {# Only visible items (ALWAYS use this) #}
|
|
296
|
+
item.url {# Item URL (auto-generated from linked page) #}
|
|
297
|
+
item.label {# Display label #}
|
|
298
|
+
item.active_page {# true if item matches current page #}
|
|
299
|
+
item.item_rel {# rel attribute (e.g. nofollow) #}
|
|
300
|
+
item.target {# link target (_blank, etc.) #}
|
|
301
|
+
item.child_items {# Nested items (unfiltered) #}
|
|
302
|
+
item.child_items | visible_items {# Nested visible items #}
|
|
303
|
+
\`\`\`
|
|
304
|
+
|
|
305
|
+
### Complete Navigation Snippet Example
|
|
306
|
+
\`\`\`liquid
|
|
307
|
+
<nav class="site-nav">
|
|
308
|
+
<div class="container">
|
|
309
|
+
<a href="{{ site.url }}" class="site-logo">{{ site.name }}</a>
|
|
310
|
+
{%- assign menu = menus['main'] -%}
|
|
311
|
+
{%- assign items_to_show = menu.items | visible_items -%}
|
|
312
|
+
<ul class="nav-list">
|
|
313
|
+
{%- for item in items_to_show -%}
|
|
314
|
+
<li class="nav-item{% if item.active_page %} active{% endif %}">
|
|
315
|
+
<a href="{{ item.url }}" {{ item.item_rel }}>{{ item.label }}</a>
|
|
316
|
+
{%- assign children = item.child_items | visible_items -%}
|
|
317
|
+
{%- if children.size > 0 -%}
|
|
318
|
+
<ul class="dropdown">
|
|
319
|
+
{%- for child in children -%}
|
|
320
|
+
<li><a href="{{ child.url }}">{{ child.label }}</a></li>
|
|
321
|
+
{%- endfor -%}
|
|
322
|
+
</ul>
|
|
323
|
+
{%- endif -%}
|
|
324
|
+
</li>
|
|
325
|
+
{%- endfor -%}
|
|
326
|
+
</ul>
|
|
327
|
+
</div>
|
|
328
|
+
</nav>
|
|
329
|
+
\`\`\`
|
|
330
|
+
|
|
331
|
+
### Internal Links
|
|
332
|
+
Always use \`{{ site.url }}\` prefix for relative links:
|
|
333
|
+
\`\`\`liquid
|
|
334
|
+
<a href="{{ site.url }}/blog">Blog</a> {# Correct #}
|
|
335
|
+
<a href="/blog">Blog</a> {# Wrong - breaks in subdirectory deploys #}
|
|
336
|
+
\`\`\``,
|
|
337
|
+
snippets: `## Snippets
|
|
338
|
+
|
|
339
|
+
### Including Snippets
|
|
340
|
+
\`\`\`liquid
|
|
341
|
+
{% snippet 'header' %}
|
|
342
|
+
{% snippet 'components/card' %}
|
|
343
|
+
{% snippet 'footer' %}
|
|
344
|
+
\`\`\`
|
|
345
|
+
|
|
346
|
+
### System Snippets (Editable, Not Deletable)
|
|
347
|
+
- \`head\` - Document head (meta, CSS links)
|
|
348
|
+
- \`header\` - Site header/navigation
|
|
349
|
+
- \`footer\` - Site footer
|
|
350
|
+
- Various grid snippets for layouts
|
|
351
|
+
|
|
352
|
+
### Creating Reusable Components
|
|
353
|
+
\`\`\`liquid
|
|
354
|
+
{# snippets/components/card.liquid #}
|
|
355
|
+
<div class="card">
|
|
356
|
+
<h3>{{ title }}</h3>
|
|
357
|
+
<p>{{ description }}</p>
|
|
358
|
+
</div>
|
|
359
|
+
\`\`\`
|
|
360
|
+
|
|
361
|
+
### Account-Level Snippets
|
|
362
|
+
Global snippets shared across sites:
|
|
363
|
+
\`\`\`liquid
|
|
364
|
+
{% snippet 'global/analytics' %}
|
|
365
|
+
{% snippet 'global/consent-banner' %}
|
|
366
|
+
\`\`\``,
|
|
367
|
+
layouts: `## Layouts
|
|
368
|
+
|
|
369
|
+
### Basic Layout Structure
|
|
370
|
+
\`\`\`liquid
|
|
371
|
+
{{ html5.open_tag }}
|
|
372
|
+
<head>
|
|
373
|
+
<meta charset="utf-8">
|
|
374
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
375
|
+
<title>{{ page.title }} | {{ site.name }}</title>
|
|
376
|
+
|
|
377
|
+
{# Include head snippet for common meta/styles #}
|
|
378
|
+
{% snippet 'head' %}
|
|
379
|
+
|
|
380
|
+
{# Site styles with CSP nonce #}
|
|
381
|
+
{{ 'main-styles' | asset_url: 'css' | stylesheet_tag: nonce: csp_nonce }}
|
|
382
|
+
</head>
|
|
383
|
+
<body>
|
|
384
|
+
{% snippet 'header' %}
|
|
385
|
+
|
|
386
|
+
<main>
|
|
387
|
+
{{ content_for_layout }}
|
|
388
|
+
</main>
|
|
389
|
+
|
|
390
|
+
{% snippet 'footer' %}
|
|
391
|
+
|
|
392
|
+
{# Site scripts #}
|
|
393
|
+
{{ 'main-scripts' | asset_url: 'js' | script_tag: defer: 'defer', nonce: csp_nonce }}
|
|
394
|
+
</body>
|
|
395
|
+
{{ html5.close_tag }}
|
|
396
|
+
\`\`\`
|
|
397
|
+
|
|
398
|
+
### CSS Variables from Liquid
|
|
399
|
+
Inject dynamic values into CSS:
|
|
400
|
+
\`\`\`liquid
|
|
401
|
+
<style nonce="{{ csp_nonce }}">
|
|
402
|
+
:root {
|
|
403
|
+
--primary-color: {{ site.theme.primary_color | default: '#007bff' }};
|
|
404
|
+
--secondary-color: {{ site.theme.secondary_color | default: '#6c757d' }};
|
|
405
|
+
--site-font: {{ global_variables.font_family | default: 'system-ui' }};
|
|
406
|
+
}
|
|
407
|
+
</style>
|
|
408
|
+
\`\`\``,
|
|
409
|
+
site_architecture: `## Site Architecture
|
|
410
|
+
|
|
411
|
+
### Template Categories
|
|
412
|
+
| Category | Purpose | Liquid? | Example |
|
|
413
|
+
|----------|---------|---------|---------|
|
|
414
|
+
| \`layout\` | Page wrapper (html5, head, body) | Yes | base, home, error |
|
|
415
|
+
| \`custom_snippet\` | Reusable component | Yes | site_header, site_footer, card |
|
|
416
|
+
| \`system_snippet\` | Built-in snippet (editable, not deletable) | Yes | head, header, footer |
|
|
417
|
+
| \`stylesheet\` | CSS (CDN-delivered) | No | base, root |
|
|
418
|
+
| \`javascript\` | JS (CDN-delivered) | No | app, main |
|
|
419
|
+
|
|
420
|
+
### CRITICAL: layout vs custom_snippet
|
|
421
|
+
- **layout**: Contains \`{% html5 %}\` / \`{{ html5.open_tag }}\` and \`{{ content_for_layout }}\`. Wraps entire pages.
|
|
422
|
+
- **custom_snippet**: Reusable fragment inserted inside layouts via \`{% snippet "name" %}\`. NEVER contains \`{% html5 %}\`.
|
|
423
|
+
- Creating a layout as \`custom_snippet\` causes pages to render without \`<html>\`, \`<head>\`, or body structure.
|
|
424
|
+
|
|
425
|
+
### CRITICAL: Use system snippets, NOT custom snippets for header/footer
|
|
426
|
+
System snippets (\`header\`, \`footer\`, \`menu\`) include critical built-in functionality:
|
|
427
|
+
- Offcanvas mobile menu with responsive toggling
|
|
428
|
+
- Session management (login/logout)
|
|
429
|
+
- Notifications panel
|
|
430
|
+
- Accessibility (skip-to-content, ARIA labels)
|
|
431
|
+
- Dropdown menu support
|
|
432
|
+
|
|
433
|
+
**ALWAYS customize the existing system snippets instead of creating new custom_snippets (\`site_header\`, \`site_footer\`) for the same purpose.** Creating redundant custom snippets loses all this functionality.
|
|
434
|
+
|
|
435
|
+
### Standard Site Structure
|
|
436
|
+
Every site should have this minimum template structure:
|
|
437
|
+
|
|
438
|
+
\`\`\`
|
|
439
|
+
layouts/ (customize the existing ones)
|
|
440
|
+
home → Full-width layout (hero pages, no container)
|
|
441
|
+
base → Standard layout (inner pages, with container)
|
|
442
|
+
error → Error page layout
|
|
443
|
+
↳ All use: {% snippet 'shared/general/header' %} and {% snippet 'shared/general/footer' %}
|
|
444
|
+
|
|
445
|
+
system_snippets/ (customize visually, keep internal structure)
|
|
446
|
+
head → Add custom fonts, load base.css AFTER Bootstrap
|
|
447
|
+
header → Customize branding/style, KEEP: offcanvas, session, menu, notifications
|
|
448
|
+
footer → Customize content and style
|
|
449
|
+
menu → Generally DO NOT modify — handles dropdown, active state, responsive
|
|
450
|
+
|
|
451
|
+
stylesheets/
|
|
452
|
+
base → Site design system (CSS only, no Liquid)
|
|
453
|
+
\`\`\`
|
|
454
|
+
|
|
455
|
+
### Layout Template Pattern
|
|
456
|
+
\`\`\`liquid
|
|
457
|
+
{{ html5.open_tag }}
|
|
458
|
+
<head>
|
|
459
|
+
{% snippet "shared/general/head" %}
|
|
460
|
+
</head>
|
|
461
|
+
<body>
|
|
462
|
+
{% snippet "shared/general/header" %}
|
|
463
|
+
<main id="content">
|
|
464
|
+
{{ content_for_layout }} {# Renders the page content #}
|
|
465
|
+
</main>
|
|
466
|
+
{% snippet "shared/general/footer" %}
|
|
467
|
+
</body>
|
|
468
|
+
{{ html5.close_tag }}
|
|
469
|
+
\`\`\`
|
|
470
|
+
|
|
471
|
+
Variations:
|
|
472
|
+
- \`home\` layout: no container wrapper around \`{{ content_for_layout }}\`
|
|
473
|
+
- \`base\` layout: wrap \`{{ content_for_layout }}\` in \`<div class="container">\`
|
|
474
|
+
- \`error\` layout: wrap in container, simpler header/footer
|
|
475
|
+
|
|
476
|
+
### Benefits of System Snippets
|
|
477
|
+
- Header, footer, and styles defined once
|
|
478
|
+
- Changing navigation updates ALL pages
|
|
479
|
+
- Visual consistency guaranteed across pages
|
|
480
|
+
- Built-in functionality (session, notifications, responsive) preserved
|
|
481
|
+
|
|
482
|
+
### Search Form Pattern
|
|
483
|
+
Always wrap search inputs in a form with the correct action:
|
|
484
|
+
\`\`\`html
|
|
485
|
+
<form action="{{ site.url }}/search" method="get">
|
|
486
|
+
<input type="hidden" name="commit" value="Search">
|
|
487
|
+
<input type="text" name="query" placeholder="Search..." class="form-control">
|
|
488
|
+
</form>
|
|
489
|
+
\`\`\`
|
|
490
|
+
Modyo expects the format \`/search?query=...&commit=Search\`. A bare \`<input>\` without a \`<form>\` will not submit.`,
|
|
491
|
+
dynamic_framework: `## Dynamic Framework (Bootstrap)
|
|
492
|
+
|
|
493
|
+
### What Comes with a New Modyo Site
|
|
494
|
+
Every new site includes **Dynamic Framework** (Bootstrap 5.3.3 customized by Modyo):
|
|
495
|
+
- \`root.css\` stylesheet (~46KB) with Bootstrap variables, utilities, components, grid
|
|
496
|
+
- System snippets (\`head\`, \`header\`, \`footer\`, \`menu\`) that use Bootstrap classes
|
|
497
|
+
- CDN links to Dynamic Framework CSS, JS, Popper, and Bootstrap Icons
|
|
498
|
+
|
|
499
|
+
### CDN URLs (EXACT — do not change)
|
|
500
|
+
\`\`\`html
|
|
501
|
+
<!-- Bootstrap Icons -->
|
|
502
|
+
<link rel="stylesheet" href="https://cdn.dynamicframework.dev/assets/1.36.2/ui-react/css/bootstrap-icons.min.css" nonce="{{ csp_nonce }}">
|
|
503
|
+
<!-- JS: Popper + Bootstrap -->
|
|
504
|
+
<script src="https://cdn.dynamicframework.dev/assets/1.36.2/ui-react/js/umd/popper.min.js" crossorigin="anonymous" nonce="{{ csp_nonce }}"></script>
|
|
505
|
+
<script src="https://cdn.dynamicframework.dev/assets/1.36.2/ui-react/js/bootstrap.min.js" nonce="{{ csp_nonce }}"></script>
|
|
506
|
+
<!-- Dynamic Framework CSS -->
|
|
507
|
+
<link href="https://cdn.dynamicframework.dev/assets/1.36.2/ui-react/css/dynamic-ui.min.css" rel="stylesheet" nonce="{{ csp_nonce }}">
|
|
508
|
+
\`\`\`
|
|
509
|
+
|
|
510
|
+
**IMPORTANT:** The CSS file is \`dynamic-ui.min.css\` (NOT \`dynamic-framework.min.css\`).
|
|
511
|
+
|
|
512
|
+
### NEVER Remove Dynamic Framework
|
|
513
|
+
Dynamic Framework is required by Modyo's origination forms, notifications, and internal components. Removing it from the \`head\` snippet breaks these features.
|
|
514
|
+
|
|
515
|
+
### Two Modes for Site Creation
|
|
516
|
+
|
|
517
|
+
#### Mode A: Use Dynamic Framework (Bootstrap)
|
|
518
|
+
- Keep the \`head\` snippet with CDN links as-is
|
|
519
|
+
- Keep \`root.css\` with Bootstrap variables
|
|
520
|
+
- Use system snippets \`header\`, \`footer\`, \`menu\` as they come
|
|
521
|
+
- Generate widgets/pages with Bootstrap classes (\`container\`, \`row\`, \`col-md-6\`, \`btn btn-primary\`)
|
|
522
|
+
- Best for: rapid prototypes, sites that don't need custom design
|
|
523
|
+
|
|
524
|
+
#### Mode B: Custom CSS (with Bootstrap as base)
|
|
525
|
+
- KEEP Dynamic Framework in \`head\` (required for originations)
|
|
526
|
+
- Create a custom stylesheet (\`base\`) and load it AFTER Bootstrap:
|
|
527
|
+
\`\`\`liquid
|
|
528
|
+
{{ 'root' | asset_url: 'css' | stylesheet_tag: media: 'screen', nonce: csp_nonce }}
|
|
529
|
+
{{ 'base' | asset_url: 'css' | stylesheet_tag: media: 'screen', nonce: csp_nonce }}
|
|
530
|
+
\`\`\`
|
|
531
|
+
- Customize the system snippets \`header\`/\`footer\` with your branding, keeping the internal structure (offcanvas, session, menu, notifications). Do NOT create redundant custom_snippets (\`site_header\`, \`site_footer\`).
|
|
532
|
+
- Best for: branded sites, custom design systems
|
|
533
|
+
|
|
534
|
+
### Design Customization — Token-First Approach
|
|
535
|
+
ALWAYS read \`root.css\` first (\`channels-templates-manage\`, identifier="root", includeBody=true) before writing any CSS.
|
|
536
|
+
|
|
537
|
+
**root.css = TOKENS ONLY**: Override \`-rgb\` base tokens. Dynamic Framework propagates automatically: \`--bs-primary-rgb\` → \`--bs-primary-500-rgb\` → \`--bs-primary-500\` → \`.btn-primary\` bg.
|
|
538
|
+
**base.css = CUSTOM RULES ONLY**: For CSS rules Bootstrap tokens/utilities don't cover. No \`:root\` blocks.
|
|
539
|
+
|
|
540
|
+
**Key tokens in root.css:**
|
|
541
|
+
- \`--bs-primary-rgb\`, \`--bs-secondary-rgb\`, \`--bs-dark-rgb\`, \`--bs-light-rgb\` (main palette)
|
|
542
|
+
- \`--bs-primary-{25..900}-rgb\` (shade scale for each color)
|
|
543
|
+
- \`--bs-body-font-family\`, \`--bs-heading-font-family\` (typography)
|
|
544
|
+
- \`--bs-body-color-rgb\`, \`--bs-body-bg-rgb\` (base text and background)
|
|
545
|
+
- \`--bs-link-color-rgb\`, \`--bs-link-hover-color-rgb\` (links)
|
|
546
|
+
|
|
547
|
+
**Correct root.css example:**
|
|
548
|
+
\`\`\`css
|
|
549
|
+
:root, [data-bs-theme=dynamic] {
|
|
550
|
+
--bs-primary-rgb: 76, 29, 149;
|
|
551
|
+
--bs-secondary-rgb: 6, 182, 212;
|
|
552
|
+
--bs-body-bg-rgb: 248, 246, 255;
|
|
553
|
+
--bs-body-color-rgb: 45, 27, 78;
|
|
554
|
+
--bs-link-color-rgb: var(--bs-primary-rgb);
|
|
555
|
+
}
|
|
556
|
+
\`\`\`
|
|
557
|
+
|
|
558
|
+
**WRONG root.css (DO NOT DO THIS):**
|
|
559
|
+
\`\`\`css
|
|
560
|
+
--bs-primary-rgb: 76, 29, 149;
|
|
561
|
+
.btn-primary { --bs-btn-bg: #4C1D95; } /* Breaks token chain! */
|
|
562
|
+
.btn-outline-primary { ... } /* Never override components in root.css */
|
|
563
|
+
\`\`\`
|
|
564
|
+
|
|
565
|
+
**Rules:**
|
|
566
|
+
- In root.css: ONLY override \`-rgb\` tokens. NEVER generate \`.btn-primary {}\`, \`.btn-outline-*\` blocks.
|
|
567
|
+
- NEVER use hex values directly (\`#4C1D95\`). Always use \`rgb(var(--bs-primary-rgb))\`.
|
|
568
|
+
- In base.css: reference tokens with \`rgb(var(--bs-primary-rgb))\`, not hardcoded hex.
|
|
569
|
+
|
|
570
|
+
**Bootstrap utility classes vs custom CSS:**
|
|
571
|
+
| Need | Bootstrap (USE THIS) | Don't create custom |
|
|
572
|
+
|------|---------------------|-------------------|
|
|
573
|
+
| Primary color | \`--bs-primary-rgb\` in root.css | \`--custom-brand-color\` |
|
|
574
|
+
| Dark background | \`bg-dark\` or \`--bs-dark-rgb\` | \`.my-dark-bg\` |
|
|
575
|
+
| Light background | \`bg-light\` or \`--bs-light-rgb\` | \`.my-light-bg\` |
|
|
576
|
+
| Muted text | \`text-body-secondary\` | \`color: var(--text-muted)\` |
|
|
577
|
+
| Grid layout | \`row\` + \`col-md-4\` | custom grid CSS |
|
|
578
|
+
| Spacing | \`py-5\`, \`mb-4\`, \`gap-3\` | custom padding rules |
|
|
579
|
+
| Cards | \`card\` + \`card-body\` | custom card CSS |
|
|
580
|
+
| Buttons | \`btn btn-primary\` | custom button CSS |
|
|
581
|
+
| Typography | \`--bs-body-font-family\` in root.css | \`--custom-font\` |
|
|
582
|
+
|
|
583
|
+
NEVER define custom CSS variables (\`--custom-*\`) when a Bootstrap token (\`--bs-*\`) exists for the same purpose.
|
|
584
|
+
|
|
585
|
+
### head Snippet Pattern (Mode B — Custom CSS)
|
|
586
|
+
\`\`\`liquid
|
|
587
|
+
{% snippet 'shared/general/head_tag_manager' %}
|
|
588
|
+
<meta charset="utf-8"/>
|
|
589
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
|
590
|
+
<title>{{ page_title }} - {{ site.name }}</title>
|
|
591
|
+
{% snippet "shared/general/seo" %}
|
|
592
|
+
{{ site.favicon_link }}
|
|
593
|
+
{{ site.apple_touch_icons }}
|
|
594
|
+
<!-- Custom Font -->
|
|
595
|
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" nonce="{{ csp_nonce }}">
|
|
596
|
+
<!-- Bootstrap Icons -->
|
|
597
|
+
<link rel="stylesheet" href="https://cdn.dynamicframework.dev/assets/1.36.2/ui-react/css/bootstrap-icons.min.css" nonce="{{ csp_nonce }}">
|
|
598
|
+
<!-- JS: Popper + Bootstrap (required for origination forms) -->
|
|
599
|
+
<script src="https://cdn.dynamicframework.dev/assets/1.36.2/ui-react/js/umd/popper.min.js" crossorigin="anonymous" nonce="{{ csp_nonce }}"></script>
|
|
600
|
+
<script src="https://cdn.dynamicframework.dev/assets/1.36.2/ui-react/js/bootstrap.min.js" nonce="{{ csp_nonce }}"></script>
|
|
601
|
+
<!-- Dynamic Framework CSS -->
|
|
602
|
+
<link href="https://cdn.dynamicframework.dev/assets/1.36.2/ui-react/css/dynamic-ui.min.css" rel="stylesheet" nonce="{{ csp_nonce }}">
|
|
603
|
+
<!-- Root (Bootstrap overrides) -->
|
|
604
|
+
{{ 'root' | asset_url: 'css' | stylesheet_tag: media: 'screen', nonce: csp_nonce }}
|
|
605
|
+
<!-- Site Custom Styles — MUST be loaded LAST to override Bootstrap -->
|
|
606
|
+
{{ 'base' | asset_url: 'css' | stylesheet_tag: media: 'screen', nonce: csp_nonce }}
|
|
607
|
+
{% csrf_meta %}
|
|
608
|
+
\`\`\``,
|
|
609
|
+
best_practices: `## Best Practices
|
|
610
|
+
|
|
611
|
+
### 1. Whitespace Control
|
|
612
|
+
Always use \`{%-\` and \`-%}\` to prevent unwanted whitespace:
|
|
613
|
+
\`\`\`liquid
|
|
614
|
+
{%- assign items = collection -%}
|
|
615
|
+
{%- for item in items -%}
|
|
616
|
+
<div>{{ item.name }}</div>
|
|
617
|
+
{%- endfor -%}
|
|
618
|
+
\`\`\`
|
|
619
|
+
|
|
620
|
+
### 2. CSP Nonce Compliance
|
|
621
|
+
Always include nonce for inline styles/scripts:
|
|
622
|
+
\`\`\`liquid
|
|
623
|
+
{# Good #}
|
|
624
|
+
<style nonce="{{ csp_nonce }}">...</style>
|
|
625
|
+
<script nonce="{{ csp_nonce }}">...</script>
|
|
626
|
+
{{ 'file' | asset_url: 'css' | stylesheet_tag: nonce: csp_nonce }}
|
|
627
|
+
|
|
628
|
+
{# Bad - will be blocked by CSP #}
|
|
629
|
+
<style>...</style>
|
|
630
|
+
<script>...</script>
|
|
631
|
+
\`\`\`
|
|
632
|
+
|
|
633
|
+
### 3. Limit Content Queries
|
|
634
|
+
Always limit loops to prevent performance issues:
|
|
635
|
+
\`\`\`liquid
|
|
636
|
+
{%- for entry in entries limit: 10 -%}
|
|
637
|
+
...
|
|
638
|
+
{%- endfor -%}
|
|
639
|
+
\`\`\`
|
|
640
|
+
|
|
641
|
+
### 4. Cache Heavy Queries
|
|
642
|
+
Use assign for expensive operations:
|
|
643
|
+
\`\`\`liquid
|
|
644
|
+
{# Good - query once #}
|
|
645
|
+
{%- assign products = spaces['store'].types['product'].entries -%}
|
|
646
|
+
{%- for product in products limit: 6 -%}
|
|
647
|
+
{{ product.meta.title }}
|
|
648
|
+
{%- endfor -%}
|
|
649
|
+
|
|
650
|
+
{# Bad - query on each iteration #}
|
|
651
|
+
{%- for product in spaces['store'].types['product'].entries limit: 6 -%}
|
|
652
|
+
{{ product.meta.title }}
|
|
653
|
+
{%- endfor -%}
|
|
654
|
+
\`\`\`
|
|
655
|
+
|
|
656
|
+
### 5. Default Values
|
|
657
|
+
Always provide fallbacks:
|
|
658
|
+
\`\`\`liquid
|
|
659
|
+
{{ entry.fields['Image'].url | default: '/assets/placeholder.jpg' }}
|
|
660
|
+
{{ user.name | default: 'Guest' }}
|
|
661
|
+
\`\`\`
|
|
662
|
+
|
|
663
|
+
### 6. Conditional Rendering
|
|
664
|
+
Check for existence before accessing:
|
|
665
|
+
\`\`\`liquid
|
|
666
|
+
{%- if entry.fields['Gallery'] -%}
|
|
667
|
+
{%- for image in entry.fields['Gallery'] -%}
|
|
668
|
+
<img src="{{ image.url }}" alt="{{ image.alt }}">
|
|
669
|
+
{%- endfor -%}
|
|
670
|
+
{%- endif -%}
|
|
671
|
+
\`\`\`
|
|
672
|
+
|
|
673
|
+
### 7. Locale-Aware Content
|
|
674
|
+
\`\`\`liquid
|
|
675
|
+
{%- if site.locale == 'es' -%}
|
|
676
|
+
<p>Bienvenido</p>
|
|
677
|
+
{%- else -%}
|
|
678
|
+
<p>Welcome</p>
|
|
679
|
+
{%- endif -%}
|
|
680
|
+
|
|
681
|
+
{# Or use translations #}
|
|
682
|
+
{{ 'welcome' | translate }}
|
|
683
|
+
\`\`\``,
|
|
684
|
+
gotchas: `## Common Gotchas
|
|
685
|
+
|
|
686
|
+
### 1. Liquid in CSS/JS Templates
|
|
687
|
+
CSS and JavaScript templates do NOT support Liquid. Use:
|
|
688
|
+
- CSS variables injected via snippets
|
|
689
|
+
- Global variables for configuration
|
|
690
|
+
- Separate snippet for dynamic values
|
|
691
|
+
|
|
692
|
+
\`\`\`liquid
|
|
693
|
+
{# In a snippet (works) #}
|
|
694
|
+
<style nonce="{{ csp_nonce }}">
|
|
695
|
+
.brand { color: {{ site.theme.primary_color }}; }
|
|
696
|
+
</style>
|
|
697
|
+
|
|
698
|
+
{# In CSS template (doesn't work) #}
|
|
699
|
+
.brand { color: {{ site.theme.primary_color }}; } {# Will output literally #}
|
|
700
|
+
\`\`\`
|
|
701
|
+
|
|
702
|
+
### 2. Snippet Naming Conventions
|
|
703
|
+
Snippets with CSS/JS content must have suffix:
|
|
704
|
+
- \`my_styles_css\` - Contains CSS
|
|
705
|
+
- \`my_scripts_js\` - Contains JavaScript
|
|
706
|
+
- \`my_component\` - Contains HTML/Liquid (no suffix needed, use \`no_suffix: true\`)
|
|
707
|
+
|
|
708
|
+
### 3. Template ID Changes
|
|
709
|
+
Template IDs may change after publishing. Always use:
|
|
710
|
+
- Template name for lookups
|
|
711
|
+
- UUID for stable references
|
|
712
|
+
|
|
713
|
+
### 4. content_for_layout Scope
|
|
714
|
+
\`{{ content_for_layout }}\` only works in layout templates, not in snippets or widgets.
|
|
715
|
+
|
|
716
|
+
### 5. User Object Availability
|
|
717
|
+
\`user\` object is only available for authenticated users:
|
|
718
|
+
\`\`\`liquid
|
|
719
|
+
{%- if user -%}
|
|
720
|
+
{# Safe to access user properties #}
|
|
721
|
+
{%- endif -%}
|
|
722
|
+
\`\`\`
|
|
723
|
+
|
|
724
|
+
### 6. Array Index Access
|
|
725
|
+
Liquid uses 0-based indexing:
|
|
726
|
+
\`\`\`liquid
|
|
727
|
+
{{ array[0] }} {# First item #}
|
|
728
|
+
{{ array.first }} {# Also first item #}
|
|
729
|
+
\`\`\`
|
|
730
|
+
|
|
731
|
+
### 7. Comparison Operators
|
|
732
|
+
\`\`\`liquid
|
|
733
|
+
{% if value == 'string' %} {# Equality #}
|
|
734
|
+
{% if value != 'string' %} {# Inequality #}
|
|
735
|
+
{% if value > 10 %} {# Greater than #}
|
|
736
|
+
{% if value < 10 %} {# Less than #}
|
|
737
|
+
{% if value >= 10 %} {# Greater or equal #}
|
|
738
|
+
{% if value <= 10 %} {# Less or equal #}
|
|
739
|
+
{% if value contains 'sub' %} {# String/array contains #}
|
|
740
|
+
{% if value %} {# Truthy check #}
|
|
741
|
+
{% unless value %} {# Falsy check #}
|
|
742
|
+
\`\`\``,
|
|
743
|
+
links: `## Documentation Links
|
|
744
|
+
|
|
745
|
+
- [Modyo Liquid Markup](https://docs.modyo.com/en/platform/channels/liquid-markup.html)
|
|
746
|
+
- [Modyo Templates](https://docs.modyo.com/en/platform/channels/templates.html)
|
|
747
|
+
- [Modyo Asset Manager](https://docs.modyo.com/en/platform/channels/asset-manager.html)
|
|
748
|
+
- [Shopify Liquid Reference](https://shopify.github.io/liquid/) (base syntax)`,
|
|
749
|
+
};
|
|
750
|
+
const CONTENT_SECTIONS = [
|
|
751
|
+
"overview",
|
|
752
|
+
"syntax",
|
|
753
|
+
"modyo_objects",
|
|
754
|
+
"modyo_filters",
|
|
755
|
+
"navigation",
|
|
756
|
+
"snippets",
|
|
757
|
+
"layouts",
|
|
758
|
+
"site_architecture",
|
|
759
|
+
"dynamic_framework",
|
|
760
|
+
"best_practices",
|
|
761
|
+
"gotchas",
|
|
762
|
+
"links",
|
|
763
|
+
];
|
|
764
|
+
/**
|
|
765
|
+
* Liquid Reference Resource
|
|
766
|
+
*
|
|
767
|
+
* Provides comprehensive documentation for Liquid templating in Modyo.
|
|
768
|
+
* Covers syntax, Modyo-specific objects/filters, best practices, and common gotchas.
|
|
769
|
+
*
|
|
770
|
+
* Registered as a static resource (no parameters) so it appears in
|
|
771
|
+
* resources/list and is discoverable by all MCP clients.
|
|
772
|
+
*/
|
|
773
|
+
class LiquidReferenceResource extends ResourceBase {
|
|
774
|
+
config = {
|
|
775
|
+
name: "modyo-liquid-reference",
|
|
776
|
+
uriTemplate: "modyo://liquid-reference",
|
|
777
|
+
description: "Liquid templating reference for Modyo: syntax, objects, filters, navigation, architecture, Dynamic Framework, best practices, gotchas",
|
|
778
|
+
mimeType: "text/markdown",
|
|
779
|
+
annotations: {
|
|
780
|
+
readOnlyHint: true,
|
|
781
|
+
idempotentHint: true,
|
|
782
|
+
destructiveHint: false,
|
|
783
|
+
},
|
|
784
|
+
isPublic: true,
|
|
785
|
+
};
|
|
786
|
+
getParamsSchema() {
|
|
787
|
+
return z.void();
|
|
788
|
+
}
|
|
789
|
+
async read(uri) {
|
|
790
|
+
const fullContent = CONTENT_SECTIONS.map((s) => LIQUID_REFERENCE[s]).join("\n\n---\n\n");
|
|
791
|
+
this.info(`Serving full Liquid reference (${fullContent.length} chars)`);
|
|
792
|
+
return this.successText(uri, fullContent, "text/markdown");
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
export const liquidReference = new LiquidReferenceResource();
|
|
796
|
+
//# sourceMappingURL=LiquidReference.js.map
|