@webx-ui/module-seo 0.4.5 → 0.5.1

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.
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
2
+ export default _default;
package/dist/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { AdminContext } from '@webx-ui/module-admin';
2
- import { SeoAlias, SeoAliasQuery, SeoPage, SeoRedirect, SeoRedirectInput, SeoRedirectQuery, SeoTestResult, SeoUrlInput, SeoUrlQuery, SeoUrlRule } from './types';
2
+ import { SeoAlias, SeoAliasQuery, SeoPage, SeoRedirect, SeoRedirectInput, SeoRedirectQuery, SeoSitemapStatus, SeoTestResult, SeoUrlInput, SeoUrlQuery, SeoUrlRule } from './types';
3
3
  export interface SeoApi {
4
4
  /** The rules, in the order the site tries them. */
5
5
  urls(query?: SeoUrlQuery): Promise<SeoPage<SeoUrlRule>>;
@@ -15,6 +15,10 @@ export interface SeoApi {
15
15
  aliases(query?: SeoAliasQuery): Promise<SeoPage<SeoAlias>>;
16
16
  /** What an address ends up saying, and where every part of it came from. */
17
17
  test(url: string, locale?: string | null): Promise<SeoTestResult>;
18
+ /** What is in the sitemap, when it was built, and what was kept out of it. */
19
+ sitemap(): Promise<SeoSitemapStatus>;
20
+ /** Build it again now; answers with the new numbers. */
21
+ rebuildSitemap(): Promise<SeoSitemapStatus>;
18
22
  }
19
23
  /** Everything under `/seo`, below the panel's API path. */
20
24
  export declare function createSeoApi(admin: AdminContext): SeoApi;