patent-query-shortcuts 0.2.0 → 0.2.2

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/README.md CHANGED
@@ -28,10 +28,10 @@ npm i patent-query-shortcuts
28
28
  ## Quick Start
29
29
 
30
30
  ```ts
31
- import { createRegistry, patsnapTemplate, meraiTemplate } from "patent-query-shortcuts";
31
+ import { createRegistry, patsnapTemplate, nuvoaiTemplate } from "patent-query-shortcuts";
32
32
 
33
33
  // Step 1: Create a registry with templates
34
- const reg = createRegistry([patsnapTemplate, meraiTemplate]);
34
+ const reg = createRegistry([patsnapTemplate, nuvoaiTemplate]);
35
35
 
36
36
  // Step 2: Get autocomplete suggestions (for frontend)
37
37
  const result = reg.getCompletions("TA", 2, { templateId: "patsnap" });
@@ -446,10 +446,10 @@ Use this package in your backend to expand user queries before sending them to y
446
446
  1. **Install and create service:**
447
447
  ```ts
448
448
  // services/queryService.ts
449
- import { createRegistry, patsnapTemplate, meraiTemplate } from "patent-query-shortcuts";
449
+ import { createRegistry, patsnapTemplate, nuvoaiTemplate } from "patent-query-shortcuts";
450
450
 
451
451
  // Step 1: Create registry with all templates
452
- const registry = createRegistry([patsnapTemplate, meraiTemplate]);
452
+ const registry = createRegistry([patsnapTemplate, nuvoaiTemplate]);
453
453
 
454
454
  // Step 2: Export query processing functions
455
455
  export class QueryService {
@@ -713,7 +713,7 @@ const template = loadTemplateFromJson({
713
713
 
714
714
  ### ✅ Built-in Templates
715
715
  - **patsnapTemplate**: Full Patsnap field mappings (100+ shortcuts)
716
- - **meraiTemplate**: Merai Patent Search fields
716
+ - **nuvoaiTemplate**: NuvoAI Patent Search fields
717
717
 
718
718
  ---
719
719
 
@@ -724,7 +724,7 @@ Creates a registry with one or more templates.
724
724
 
725
725
  **Example:**
726
726
  ```ts
727
- const reg = createRegistry([patsnapTemplate, meraiTemplate]);
727
+ const reg = createRegistry([patsnapTemplate, nuvoaiTemplate]);
728
728
  ```
729
729
 
730
730
  ### `registry.getCompletions(text, cursor, options)`
@@ -815,7 +815,7 @@ const reg = createRegistry([template]);
815
815
  ### Multi-Template Support
816
816
 
817
817
  ```ts
818
- const reg = createRegistry([patsnapTemplate, meraiTemplate]);
818
+ const reg = createRegistry([patsnapTemplate, nuvoaiTemplate]);
819
819
 
820
820
  // User selects template in UI
821
821
  const selectedTemplate = "patsnap";