Skip to content

Commit

Permalink
Add filter constants for custom dropdown filter
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Jain <[email protected]>
  • Loading branch information
vivekjain23 committed May 23, 2024
1 parent 607b2df commit b52cbd5
Showing 1 changed file with 50 additions and 13 deletions.
63 changes: 50 additions & 13 deletions src/utils/searchConstant.ts
Original file line number Diff line number Diff line change
@@ -1,42 +1,41 @@
export const allFacets = [
'language:en',
[
'docusaurus_tag:default',
'docusaurus_tag:docs-apis-current',
'docusaurus_tag:docs-cli-wallet-1-0-current',
'docusaurus_tag:docs-maintain-current',
'docusaurus_tag:docs-iota-tips-current',
'docusaurus_tag:docs-community-current',
'docusaurus_tag:docs-get-started-current',
'docusaurus_tag:docs-learn-current',
'docusaurus_tag:docs-iota-sdk-1-0-current',
'docusaurus_tag:docs-build-current',
'docusaurus_tag:docs-iota-sdk-1-0-current',
'docusaurus_tag:docs-identity-rs-1-0-current',
'docusaurus_tag:docs-identity-rs-1-1-current',
'docusaurus_tag:docs-identity-rs-1-2-current',
'docusaurus_tag:docs-stronghold-rs-1-1-current',
'docusaurus_tag:docs-apis-current',
'docusaurus_tag:docs-cli-wallet-1-0-current',
'docusaurus_tag:docs-community-current',
'docusaurus_tag:docs-isc-v1-0-0-rc-6-current',
'docusaurus_tag:docs-iota-sandbox-current',
'docusaurus_tag:docs-stronghold-rs-1-1-current',
'docusaurus_tag:docs-wasp-v1-0-0-rc-6-current',
'docusaurus_tag:docs-introduction-docs-stardust-current',
'docusaurus_tag:docs-chronicle-1-0-rc-2-current',
'docusaurus_tag:docs-maintain-current',
'docusaurus_tag:docs-hornet-2-0-current',
'docusaurus_tag:docs-wasp-v1-0-0-rc-6-current',
'docusaurus_tag:default',
'docusaurus_tag:docs-iota-tips-current',
],
];

export const facetNamesJson = {
'docusaurus_tag:docs-get-started-current': 'Get Started',
'docusaurus_tag:docs-learn-current': 'Learn',
'docusaurus_tag:default': 'Tutorial',
'docusaurus_tag:docs-apis-current': 'Apis',
'docusaurus_tag:docs-cli-wallet-1-0-current': 'Cli Wallet',
'docusaurus_tag:docs-maintain-current': 'Maintain',
'docusaurus_tag:docs-iota-tips-current': 'Tips',
'docusaurus_tag:docs-get-started-current': 'Get Started',
'docusaurus_tag:docs-learn-current': 'Learn',
'docusaurus_tag:docs-identity-rs-1-2-current': 'Identity.rs 1.2',
'docusaurus_tag:docs-identity-rs-1-1-current': 'Identity.rs 1.1',
'docusaurus_tag:docs-identity-rs-1-0-current': 'Identity.rs',
'docusaurus_tag:docs-iota-sandbox-current': 'Iota',
'docusaurus_tag:docs-build-current': 'Sandbox',
'docusaurus_tag:docs-build-current': 'Build',
'docusaurus_tag:docs-isc-v1-0-0-rc-6-current': 'ISC',
'docusaurus_tag:docs-stronghold-rs-1-1-current': 'Stronghold',
'docusaurus_tag:docs-iota-core-1-0-current': 'Iota Core',
Expand All @@ -46,4 +45,42 @@ export const facetNamesJson = {
'docusaurus_tag:docs-introduction-docs-stardust-current': 'Stardust',
'docusaurus_tag:docs-chronicle-1-0-rc-2-current': 'Chronicle',
'docusaurus_tag:docs-community-current': 'Community',
'docusaurus_tag:docs-iota-tips-current': 'Tips',
};
export const subFilters = [
'Wasp',
'Hornet',
'Identity.rs',
'Cli Wallet',
'Apis',
'Stronghold',
'Iota sdk',
'ISC',
'Iota',
'Stardust',
'Chronicle',
'Community',
];
export const subChildFilters = ['Identity.rs 1.2', 'Identity.rs 1.1'];
export const buildSubFilters = [
'docusaurus_tag:docs-iota-sdk-1-0-current',
'docusaurus_tag:docs-identity-rs-1-0-current',
'docusaurus_tag:docs-identity-rs-1-2-current',
'docusaurus_tag:docs-identity-rs-1-1-current',
'docusaurus_tag:docs-stronghold-rs-1-1-current',
'docusaurus_tag:docs-apis-current',
'docusaurus_tag:docs-cli-wallet-1-0-current',
'docusaurus_tag:docs-community-current',
'docusaurus_tag:docs-isc-v1-0-0-rc-6-current',
'docusaurus_tag:docs-iota-sandbox-current',
'docusaurus_tag:docs-introduction-docs-stardust-current',
'docusaurus_tag:docs-chronicle-1-0-rc-2-current',
];
export const identitySubFilters = [
'docusaurus_tag:docs-identity-rs-1-2-current',
'docusaurus_tag:docs-identity-rs-1-1-current',
];
export const maintainSubFilters = [
'docusaurus_tag:docs-wasp-v1-0-0-rc-6-current',
'docusaurus_tag:docs-hornet-2-0-current',
];

0 comments on commit b52cbd5

Please sign in to comment.