Пример #1
0
        static void Main(string[] args)
        {
            var reportsHub = new Hub(
                "reports",
                "dashboard, sales, operations, documentTransmissions"
                );

            var companyManageHub = new Hub(
                "manage:param1:param2",
                "activities, documents:param3, details:param4, settings, delegations, integrations, restDocs, account, users, contacts"
                );

            var companiesHub = new Hub(
                "companies:param0",
                "index, activities, externalRegistry, connectorUpdates, automatches, agreementCustomers",
                companyManageHub
                );

            var documentsHub = new Hub(
                "documents",
                "overview, recentDocuments, transmission, view, uddiLookup, blacklistedUrls"
                );

            var marketingHub = new Hub(
                "marketing",
                "trialCampaigns, rollingNews, emailMarketingList, newsletter"
                );

            var root = new Hub(
                "adminApp",
                "finance, users",
                reportsHub, companiesHub, documentsHub, marketingHub
                );

            root.Build(@"C:/Work/Repo/sproomAdminReact/sproom-admin-react/src");
        }