@uxland/primary-shell 8.3.5 → 8.3.6

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.
@@ -9,7 +9,7 @@ export declare class ImportDataManagerImpl implements PrimariaImportDataManager
9
9
  constructor(interactionService: PrimariaInteractionService);
10
10
  import(importerId: string, params?: ImportParams): Promise<{
11
11
  accepted: boolean;
12
- data: Record<string, any[]>;
12
+ data: Record<string, unknown[]>;
13
13
  text: {
14
14
  raw: string;
15
15
  html: string;
@@ -17,12 +17,13 @@ export declare class ImportDataManagerImpl implements PrimariaImportDataManager
17
17
  }>;
18
18
  selectItems(payload: {
19
19
  pluginId: string;
20
- data: any[];
20
+ data: unknown[];
21
21
  text: {
22
22
  raw: string;
23
23
  html: string;
24
24
  };
25
25
  title?: string;
26
+ sortHint?: number;
26
27
  }): void;
27
28
  getCurrentImporterId(): string;
28
29
  getCurrentImportParams(): ImportParams | undefined;
@@ -14,7 +14,7 @@ export interface ImportParams {
14
14
  export interface PrimariaImportDataManager {
15
15
  import(importerId: string, params?: ImportParams): Promise<{
16
16
  accepted: boolean;
17
- data: Record<string, any[]>;
17
+ data: Record<string, unknown[]>;
18
18
  text: {
19
19
  raw: string;
20
20
  html: string;
@@ -22,16 +22,18 @@ export interface PrimariaImportDataManager {
22
22
  }>;
23
23
  selectItems(payload: {
24
24
  pluginId: string;
25
- data: any[];
25
+ data: unknown[];
26
26
  text: {
27
27
  raw: string;
28
28
  html: string;
29
29
  };
30
30
  /** Títol que encapçala aquest text dins del resultat de la importació. Els
31
31
  * plugins que en declaren un de mateix queden sota un sol títol, en l'ordre
32
- * en què han publicat la seva selecció. Sense títol, el text s'afegeix tal
33
- * qual. */
32
+ * determinat per sortHint. Sense títol, el text s'afegeix tal qual. */
34
33
  title?: string;
34
+ /** Ordre dins d'una mateixa secció (mateix title). Menor valor = abans.
35
+ * Sense valor, s'utilitza 0. */
36
+ sortHint?: number;
35
37
  }): void;
36
38
  getCurrentImporterId(): string;
37
39
  /** Returns the params the current importer was opened with (or undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxland/primary-shell",
3
- "version": "8.3.5",
3
+ "version": "8.3.6",
4
4
  "description": "The shell of the ETC HES Primària application, built on Harmonix.",
5
5
  "author": "UXLand <dev@uxland.es>",
6
6
  "homepage": "https://doc.clickup.com/9012015559/d/h/8cjgwe7-11732/68226d17c70b7a1",