@adminide-stack/yantra-help-browser 12.0.16-alpha.1 → 12.0.16-alpha.14

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.
Files changed (108) hide show
  1. package/lib/components/HelpCenterHeader.d.ts +1 -0
  2. package/lib/components/HelpCenterHeader.d.ts.map +1 -1
  3. package/lib/components/HelpCenterHeader.js +222 -36
  4. package/lib/components/HelpCenterHeader.js.map +1 -1
  5. package/lib/components/SidebarSearch.d.ts +8 -0
  6. package/lib/components/SidebarSearch.d.ts.map +1 -0
  7. package/lib/components/SidebarSearch.js +111 -0
  8. package/lib/components/SidebarSearch.js.map +1 -0
  9. package/lib/pages/ArticlePage/ArticlePage.d.ts +3 -0
  10. package/lib/pages/ArticlePage/ArticlePage.d.ts.map +1 -0
  11. package/lib/pages/ArticlePage/ArticlePage.js +222 -0
  12. package/lib/pages/ArticlePage/ArticlePage.js.map +1 -0
  13. package/lib/pages/ArticlePage/ArticlePageLayout.d.ts +3 -0
  14. package/lib/pages/ArticlePage/ArticlePageLayout.d.ts.map +1 -0
  15. package/lib/pages/ArticlePage/ArticlePageLayout.js +250 -0
  16. package/lib/pages/ArticlePage/ArticlePageLayout.js.map +1 -0
  17. package/lib/pages/ArticlePage/index.d.ts +2 -3
  18. package/lib/pages/ArticlePage/index.d.ts.map +1 -1
  19. package/lib/pages/ArticlePage/index.js +4 -189
  20. package/lib/pages/ArticlePage/index.js.map +1 -1
  21. package/lib/pages/CategoryCollection/index.d.ts.map +1 -1
  22. package/lib/pages/CategoryCollection/index.js +2 -2
  23. package/lib/pages/CategoryCollection/index.js.map +1 -1
  24. package/lib/{content → templates/content}/account-management/account-setup.md +10 -0
  25. package/lib/{content → templates/content}/account-management/delete-account.md +10 -0
  26. package/lib/{content → templates/content}/account-management/preferences.md +10 -0
  27. package/lib/{content → templates/content}/account-management/privacy-settings.md +10 -0
  28. package/lib/{content → templates/content}/account-management/profile-settings.md +8 -0
  29. package/lib/{content → templates/content}/data-privacy/data-collection.md +9 -0
  30. package/lib/{content → templates/content}/data-privacy/privacy-policy.md +10 -0
  31. package/lib/{content → templates/content}/data-subject-privacy/data-access.md +12 -0
  32. package/lib/{content → templates/content}/data-subject-privacy/data-portability.md +15 -0
  33. package/lib/{content → templates/content}/data-subject-privacy/privacy-requests.md +11 -0
  34. package/lib/{content → templates/content}/file-uploads/file-upload-overview.md +9 -0
  35. package/lib/{content → templates/content}/getting-started/getting-started-guide.md +9 -0
  36. package/lib/{content → templates/content}/product-features/ai-models.md +1 -1
  37. package/lib/{content → templates/content}/product-features/collaboration-tools.md +8 -0
  38. package/lib/{content → templates/content}/product-features/conversation-features.md +6 -0
  39. package/lib/{content → templates/content}/product-features/export-features.md +8 -0
  40. package/lib/{content → templates/content}/product-features/follow-up-questions.md +8 -0
  41. package/lib/{content → templates/content}/product-features/real-time-search.md +8 -0
  42. package/lib/{content → templates/content}/product-features/saved-searches.md +8 -0
  43. package/lib/{content → templates/content}/product-features/search-features.md +1 -1
  44. package/lib/{content → templates/content}/product-features/search-history.md +8 -0
  45. package/lib/{content → templates/content}/product-features/source-citations.md +8 -0
  46. package/lib/{content → templates/content}/scope-api/api-overview.md +8 -0
  47. package/lib/{content → templates/content}/search-modes/deep-research.md +8 -0
  48. package/lib/{content → templates/content}/search-modes/labs-features.md +10 -0
  49. package/lib/{content → templates/content}/search-modes/pro-search.md +8 -0
  50. package/lib/{content → templates/content}/search-modes/regular-search.md +8 -0
  51. package/lib/{content → templates/content}/spaces-library/spaces-overview.md +8 -0
  52. package/lib/{content → templates/content}/student-hub/academic-research.md +8 -0
  53. package/lib/{content → templates/content}/student-hub/student-discounts.md +10 -0
  54. package/lib/{content → templates/content}/student-hub/student-overview.md +8 -0
  55. package/lib/{content → templates/content}/student-hub/study-tools.md +8 -0
  56. package/lib/{content → templates/content}/subscription-billing/billing-cycle.md +8 -0
  57. package/lib/{content → templates/content}/subscription-billing/billing-overview.md +6 -0
  58. package/lib/{content → templates/content}/subscription-billing/billing-support.md +8 -0
  59. package/lib/{content → templates/content}/subscription-billing/currency-support.md +10 -0
  60. package/lib/{content → templates/content}/subscription-billing/enterprise-pricing.md +8 -0
  61. package/lib/{content → templates/content}/subscription-billing/invoice-management.md +8 -0
  62. package/lib/{content → templates/content}/subscription-billing/payment-methods.md +9 -0
  63. package/lib/{content → templates/content}/subscription-billing/promotional-offers.md +8 -0
  64. package/lib/{content → templates/content}/subscription-billing/refund-policy.md +10 -0
  65. package/lib/{content → templates/content}/subscription-billing/student-discounts.md +10 -0
  66. package/lib/{content → templates/content}/subscription-billing/tax-information.md +8 -0
  67. package/lib/{content → templates/content}/technical-questions/ai-models-technical.md +10 -0
  68. package/lib/{content → templates/content}/technical-questions/api-technical.md +10 -0
  69. package/lib/{content → templates/content}/technical-questions/data-processing.md +10 -0
  70. package/lib/{content → templates/content}/technical-questions/database-architecture.md +10 -0
  71. package/lib/{content → templates/content}/technical-questions/infrastructure.md +10 -0
  72. package/lib/{content → templates/content}/technical-questions/performance-optimization.md +10 -0
  73. package/lib/{content → templates/content}/technical-questions/search-algorithms.md +10 -0
  74. package/lib/{content → templates/content}/technical-questions/technical-overview.md +10 -0
  75. package/lib/{content → templates/content}/threads/conversation-management.md +8 -0
  76. package/lib/{content → templates/content}/threads/threads-overview.md +8 -0
  77. package/lib/{content → templates/content}/troubleshooting/common-issues.md +8 -0
  78. package/lib/{content → templates/content}/what-is-yantra/getting-started-yantra.md +1 -1
  79. package/lib/{content → templates/content}/what-is-yantra/how-yantra-works.md +1 -1
  80. package/lib/{content → templates/content}/what-is-yantra/practical-tips-yantra.md +2 -1
  81. package/lib/{content → templates/content}/what-is-yantra/what-is-yantra-intro.md +1 -1
  82. package/lib/{content → templates/content}/what-is-yantra/yantra-discord-community.md +4 -1
  83. package/lib/{content → templates/content}/yantra-assistant/android-app.md +10 -0
  84. package/lib/{content → templates/content}/yantra-assistant/ios-app.md +10 -0
  85. package/lib/{content → templates/content}/yantra-assistant/mobile-app-overview.md +8 -0
  86. package/lib/{content → templates/content}/yantra-assistant/voice-assistant.md +10 -0
  87. package/lib/{content → templates/content}/yantra-enterprise/admin-dashboard.md +10 -0
  88. package/lib/{content → templates/content}/yantra-enterprise/custom-branding.md +10 -0
  89. package/lib/{content → templates/content}/yantra-enterprise/dedicated-support.md +10 -0
  90. package/lib/{content → templates/content}/yantra-enterprise/enterprise-overview.md +8 -0
  91. package/lib/{content → templates/content}/yantra-enterprise/sso-integration.md +10 -0
  92. package/lib/{content → templates/content}/yantra-enterprise/user-management.md +10 -0
  93. package/lib/{content → templates/content}/yantra-pro-max/billing-management.md +13 -0
  94. package/lib/{content → templates/content}/yantra-pro-max/cancellation-refund.md +13 -0
  95. package/lib/{content → templates/content}/yantra-pro-max/pro-pricing.md +13 -9
  96. package/lib/{content → templates/content}/yantra-pro-max/subscription-benefits.md +8 -0
  97. package/lib/{content → templates/content}/yantra-pro-max/upgrade-process.md +13 -0
  98. package/lib/{content → templates/content}/yantra-pro-max/yantra-max-features.md +8 -8
  99. package/lib/{content → templates/content}/yantra-pro-max/yantra-pro-overview.md +8 -8
  100. package/lib/utils/docsNavigation.d.ts +9 -0
  101. package/lib/utils/docsNavigation.d.ts.map +1 -0
  102. package/lib/utils/docsNavigation.js +37 -0
  103. package/lib/utils/docsNavigation.js.map +1 -0
  104. package/lib/utils/markdownLoader.d.ts +4 -0
  105. package/lib/utils/markdownLoader.d.ts.map +1 -1
  106. package/lib/utils/markdownLoader.js +110 -327
  107. package/lib/utils/markdownLoader.js.map +1 -1
  108. package/package.json +14 -4
@@ -5,11 +5,13 @@ Detailed pricing information for Yantra Pro and Max subscriptions.
5
5
  ## Yantra Pro Pricing
6
6
 
7
7
  ### Monthly Subscription
8
+
8
9
  - **Price**: $20/month
9
10
  - **Features**: All Pro features included
10
11
  - **Billing**: Monthly recurring
11
12
 
12
13
  ### Annual Subscription
14
+
13
15
  - **Price**: $200/year (2 months free)
14
16
  - **Savings**: $40 compared to monthly
15
17
  - **Billing**: Annual recurring
@@ -17,26 +19,28 @@ Detailed pricing information for Yantra Pro and Max subscriptions.
17
19
  ## Yantra Max Pricing
18
20
 
19
21
  ### Monthly Subscription
22
+
20
23
  - **Price**: $40/month
21
24
  - **Features**: All Max features included
22
25
  - **Billing**: Monthly recurring
23
26
 
24
27
  ### Annual Subscription
28
+
25
29
  - **Price**: $400/year (2 months free)
26
30
  - **Savings**: $80 compared to monthly
27
31
  - **Billing**: Annual recurring
28
32
 
29
33
  ## Feature Comparison
30
34
 
31
- | Feature | Free | Pro | Max |
32
- |---------|------|-----|-----|
33
- | Daily Searches | 5 | Unlimited | Maximum |
34
- | AI Models | GPT-3.5 | GPT-4 + Claude | Latest models |
35
- | File Uploads | ❌ | ✅ | ✅ |
36
- | API Access | ❌ | ✅ | ✅ |
37
- | Priority Support | ❌ | ✅ | ✅ |
38
- | Team Features | ❌ | ❌ | ✅ |
39
- | Custom Branding | ❌ | ❌ | ✅ |
35
+ | Feature | Free | Pro | Max |
36
+ | ---------------- | ------- | -------------- | ------------- |
37
+ | Daily Searches | 5 | Unlimited | Maximum |
38
+ | AI Models | GPT-3.5 | GPT-4 + Claude | Latest models |
39
+ | File Uploads | ❌ | ✅ | ✅ |
40
+ | API Access | ❌ | ✅ | ✅ |
41
+ | Priority Support | ❌ | ✅ | ✅ |
42
+ | Team Features | ❌ | ❌ | ✅ |
43
+ | Custom Branding | ❌ | ❌ | ✅ |
40
44
 
41
45
  ## Payment Methods
42
46
 
@@ -5,12 +5,14 @@ Compare features across different subscription tiers.
5
5
  ## Free Tier Benefits
6
6
 
7
7
  ### Basic Features
8
+
8
9
  - **5 Daily Searches**: Limited search capacity
9
10
  - **GPT-3.5 Access**: Basic AI model access
10
11
  - **Standard Support**: Community support
11
12
  - **Basic Search**: Standard search functionality
12
13
 
13
14
  ### Limitations
15
+
14
16
  - **Search Limits**: 5 searches per day
15
17
  - **Model Access**: Limited to GPT-3.5
16
18
  - **No File Uploads**: Cannot upload documents
@@ -19,6 +21,7 @@ Compare features across different subscription tiers.
19
21
  ## Pro Tier Benefits
20
22
 
21
23
  ### Enhanced Features
24
+
22
25
  - **Unlimited Searches**: No daily limits
23
26
  - **Advanced AI Models**: GPT-4 and Claude access
24
27
  - **File Uploads**: Analyze documents and files
@@ -26,6 +29,7 @@ Compare features across different subscription tiers.
26
29
  - **Priority Support**: Faster customer support
27
30
 
28
31
  ### Additional Capabilities
32
+
29
33
  - **Export Options**: Save and export research
30
34
  - **Advanced Search**: Pro search modes
31
35
  - **Custom Searches**: Tailored search options
@@ -34,6 +38,7 @@ Compare features across different subscription tiers.
34
38
  ## Max Tier Benefits
35
39
 
36
40
  ### Premium Features
41
+
37
42
  - **Maximum Search Limits**: Highest daily limits
38
43
  - **Latest AI Models**: Access to newest models
39
44
  - **Team Collaboration**: Share with team members
@@ -41,6 +46,7 @@ Compare features across different subscription tiers.
41
46
  - **Dedicated Support**: Personal account manager
42
47
 
43
48
  ### Enterprise Features
49
+
44
50
  - **Advanced Analytics**: Detailed usage insights
45
51
  - **API Priority**: Highest API rate limits
46
52
  - **Custom Training**: Train models on your data
@@ -49,12 +55,14 @@ Compare features across different subscription tiers.
49
55
  ## Upgrade Benefits
50
56
 
51
57
  ### Immediate Access
58
+
52
59
  - **Instant Activation**: Features available immediately
53
60
  - **No Downtime**: Seamless upgrade process
54
61
  - **Data Preservation**: All data maintained
55
62
  - **Prorated Billing**: Fair billing for mid-cycle upgrades
56
63
 
57
64
  ### Long-term Value
65
+
58
66
  - **Cost Savings**: Better value for heavy users
59
67
  - **Productivity**: Enhanced capabilities
60
68
  - **Support**: Priority assistance
@@ -5,12 +5,14 @@ Step-by-step guide to upgrading your Yantra subscription.
5
5
  ## Before You Upgrade
6
6
 
7
7
  ### Check Your Usage
8
+
8
9
  - **Current Plan**: Review your current subscription
9
10
  - **Usage Patterns**: Analyze your search frequency
10
11
  - **Feature Needs**: Identify required features
11
12
  - **Budget**: Consider pricing options
12
13
 
13
14
  ### Plan Comparison
15
+
14
16
  - **Feature Matrix**: Compare available features
15
17
  - **Pricing Calculator**: Calculate costs
16
18
  - **Support Options**: Review support levels
@@ -19,24 +21,28 @@ Step-by-step guide to upgrading your Yantra subscription.
19
21
  ## Upgrade Steps
20
22
 
21
23
  ### 1. Access Account Settings
24
+
22
25
  1. Log into your Yantra account
23
26
  2. Navigate to Account Settings
24
27
  3. Click on "Subscription" tab
25
28
  4. Review current plan details
26
29
 
27
30
  ### 2. Choose New Plan
31
+
28
32
  1. Select desired subscription tier
29
33
  2. Choose billing cycle (monthly/annual)
30
34
  3. Review feature differences
31
35
  4. Confirm pricing details
32
36
 
33
37
  ### 3. Payment Information
38
+
34
39
  1. Enter payment method
35
40
  2. Verify billing address
36
41
  3. Review tax information
37
42
  4. Confirm payment details
38
43
 
39
44
  ### 4. Complete Upgrade
45
+
40
46
  1. Review upgrade summary
41
47
  2. Accept terms and conditions
42
48
  3. Confirm upgrade
@@ -45,18 +51,21 @@ Step-by-step guide to upgrading your Yantra subscription.
45
51
  ## Upgrade Options
46
52
 
47
53
  ### Free to Pro
54
+
48
55
  - **Cost**: $20/month or $200/year
49
56
  - **Benefits**: Unlimited searches, GPT-4 access
50
57
  - **Activation**: Immediate
51
58
  - **Billing**: Prorated for current month
52
59
 
53
60
  ### Free to Max
61
+
54
62
  - **Cost**: $40/month or $400/year
55
63
  - **Benefits**: All features, team collaboration
56
64
  - **Activation**: Immediate
57
65
  - **Billing**: Prorated for current month
58
66
 
59
67
  ### Pro to Max
68
+
60
69
  - **Cost**: Additional $20/month or $200/year
61
70
  - **Benefits**: Team features, custom branding
62
71
  - **Activation**: Immediate
@@ -65,12 +74,14 @@ Step-by-step guide to upgrading your Yantra subscription.
65
74
  ## Post-Upgrade
66
75
 
67
76
  ### Immediate Access
77
+
68
78
  - **New Features**: Available immediately
69
79
  - **Search Limits**: Updated instantly
70
80
  - **API Access**: Activated automatically
71
81
  - **Support Level**: Upgraded immediately
72
82
 
73
83
  ### Account Updates
84
+
74
85
  - **Billing**: New billing cycle starts
75
86
  - **Invoices**: Updated invoice format
76
87
  - **Usage Tracking**: Enhanced analytics
@@ -79,12 +90,14 @@ Step-by-step guide to upgrading your Yantra subscription.
79
90
  ## Troubleshooting
80
91
 
81
92
  ### Common Issues
93
+
82
94
  - **Payment Failed**: Check payment method
83
95
  - **Billing Questions**: Contact support
84
96
  - **Feature Access**: Refresh account
85
97
  - **Downgrade**: Available in settings
86
98
 
87
99
  ### Getting Help
100
+
88
101
  - **Support Team**: Priority support available
89
102
  - **Documentation**: Comprehensive guides
90
103
  - **Community**: User forums
@@ -38,11 +38,11 @@ Yantra Max is available for $40/month or $400/year with a 2-month discount.
38
38
 
39
39
  ## Max vs Pro
40
40
 
41
- | Feature | Pro | Max |
42
- |---------|-----|-----|
43
- | Daily Searches | Unlimited | Maximum |
44
- | AI Models | GPT-4 + Claude | Latest models |
45
- | Team Features | ❌ | ✅ |
46
- | Custom Branding | ❌ | ✅ |
47
- | Dedicated Support | ❌ | ✅ |
48
- | Custom Training | ❌ | ✅ |
41
+ | Feature | Pro | Max |
42
+ | ----------------- | -------------- | ------------- |
43
+ | Daily Searches | Unlimited | Maximum |
44
+ | AI Models | GPT-4 + Claude | Latest models |
45
+ | Team Features | ❌ | ✅ |
46
+ | Custom Branding | ❌ | ✅ |
47
+ | Dedicated Support | ❌ | ✅ |
48
+ | Custom Training | ❌ | ✅ |
@@ -37,11 +37,11 @@ Yantra Pro is available for $20/month or $200/year with a 2-month discount.
37
37
 
38
38
  ## Pro vs Free
39
39
 
40
- | Feature | Free | Pro |
41
- |---------|------|-----|
42
- | Daily Searches | 5 | Unlimited |
43
- | Search Modes | Basic | All modes |
44
- | AI Models | GPT-3.5 | GPT-4 + Claude |
45
- | File Uploads | ❌ | ✅ |
46
- | API Access | ❌ | ✅ |
47
- | Priority Support | ❌ | ✅ |
40
+ | Feature | Free | Pro |
41
+ | ---------------- | ------- | -------------- |
42
+ | Daily Searches | 5 | Unlimited |
43
+ | Search Modes | Basic | All modes |
44
+ | AI Models | GPT-3.5 | GPT-4 + Claude |
45
+ | File Uploads | ❌ | ✅ |
46
+ | API Access | ❌ | ✅ |
47
+ | Priority Support | ❌ | ✅ |
@@ -0,0 +1,9 @@
1
+ export interface NavItem {
2
+ title: string;
3
+ path: string;
4
+ children?: NavItem[];
5
+ isFile: boolean;
6
+ }
7
+ export declare function buildDocsNavigation(): NavItem[];
8
+ export declare function getDocsNavigation(): NavItem[];
9
+ //# sourceMappingURL=docsNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docsNavigation.d.ts","sourceRoot":"","sources":["../../src/utils/docsNavigation.ts"],"names":[],"mappings":"AAIA,MAAM,WAAW,OAAO;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;CACnB;AAGD,wBAAgB,mBAAmB,IAAI,OAAO,EAAE,CA+B/C;AAKD,wBAAgB,iBAAiB,IAAI,OAAO,EAAE,CAK7C"}
@@ -0,0 +1,37 @@
1
+ import {getAllCategoriesMetadata}from'./markdownLoader.js';// Utility to build navigation tree from category metadata (not folder structure)
2
+ // Build navigation tree from category metadata
3
+ function buildDocsNavigation() {
4
+ const categories = getAllCategoriesMetadata();
5
+ const navItems = [];
6
+ for (const category of categories) {
7
+ // Create category node
8
+ const categoryItem = {
9
+ title: category.title,
10
+ path: `/help-center/${category.id}`,
11
+ children: [],
12
+ isFile: false
13
+ };
14
+ // Create a flat list of articles under each category
15
+ // Path format: /help/:categoryId/:slug (e.g., /help/adminide-modules/adminide-modules-account-auth0-login)
16
+ const articleItems = category.articles.map(article => ({
17
+ title: article.title,
18
+ path: `/help-center/${category.id}/${article.slug}`,
19
+ children: [],
20
+ isFile: true
21
+ }));
22
+ // If there are articles, add them as children
23
+ if (articleItems.length > 0) {
24
+ categoryItem.children = articleItems;
25
+ }
26
+ navItems.push(categoryItem);
27
+ }
28
+ return navItems;
29
+ }
30
+ // Get navigation tree (cached)
31
+ let cachedNavigation = null;
32
+ function getDocsNavigation() {
33
+ if (!cachedNavigation) {
34
+ cachedNavigation = buildDocsNavigation();
35
+ }
36
+ return cachedNavigation;
37
+ }export{buildDocsNavigation,getDocsNavigation};//# sourceMappingURL=docsNavigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"docsNavigation.js","sources":["../../src/utils/docsNavigation.ts"],"sourcesContent":[null],"names":[],"mappings":"2DAAA;AAWA;SACgB,mBAAmB,GAAA;AAC/B,EAAA,MAAA,UAAgB,GAAA,wBAA2B,EAAA;QACrC,QAAA,GAAsB,EAAA;AAE5B,EAAA,KAAA,MAAW,QAAA,IAAY,UAAA,EAAU;;AAE7B,IAAA,MAAA;aACS,QAAU,CAAA,KAAA;AACf,MAAA,IAAA,EAAA,CAAA,aAAM,EAAA,QAAwB,CAAA,EAAA,CAAA,CAAA;AAC9B,MAAA,QAAA,EAAA,EAAA;AACA,MAAA,MAAA,EAAA;;;;AAKJ,IAAA,MAAA,YAAkB,GAAA,QAAsB,CAAA,QAAS,CAAA,GAAA,CAAC,OAAK,KAAgB;aAC9D,OAAS,CAAA,KAAA;YACd,CAAI,uBAA0B,CAAA,EAAA,CAAA,CAAA,EAAC,OAAM,CAAA,IAAA,CAAO,CAAC;AAC7C,MAAA,QAAA,EAAA,EAAA;AACA,MAAA,MAAA,EAAA;AACH,KAAA,CAAA,CAAA;;AAGD,IAAA,IAAA,mBAAiB,GAAA,CAAM,EAAG;AACtB,MAAA,YAAA,CAAA,QAAa,GAAA,YAAW;;AAG5B,IAAA,QAAA,CAAA,IAAS,CAAA,YAAK,CAAA;;AAGlB,EAAA,OAAA;AACJ;AAEA;AACA,IAAI,gBAAgB,GAAqB,IAAI;SAE7B,iBAAiB,GAAA;MACzB,CAAA,gBAAiB,EAAA;oBACD,GAAA,mBAAsB,EAAA;;AAE1C,EAAA,OAAA;AACJ"}
@@ -28,5 +28,9 @@ export declare const getAllCategoriesMetadata: () => Category[];
28
28
  export declare const getCategoryById: (categoryId: string) => Category | null;
29
29
  export declare const getArticleBySlug: (articleSlug: string) => Article | null;
30
30
  export declare const loadArticleContent: (articleSlug: string) => Promise<Article | null>;
31
+ export declare const loadDocContent: (docSlug: string) => Promise<Article | null>;
32
+ export declare const loadBlogContent: (blogSlug: string) => Promise<Article | null>;
31
33
  export declare const parseMarkdownToHtml: (markdownContent: string) => string;
34
+ export declare const searchArticles: (query: string) => Article[];
35
+ export declare const getAllArticles: () => Article[];
32
36
  //# sourceMappingURL=markdownLoader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"markdownLoader.d.ts","sourceRoot":"","sources":["../../src/utils/markdownLoader.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,OAAO;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,OAAQ,SAAQ,eAAe;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,OAAO,EAAE,CAAC;CACvB;AAk2CD,eAAO,MAAM,wBAAwB,QAAO,QAAQ,EAEnD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,YAAY,MAAM,K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