@modality-counter/core 1.1.0 → 1.2.0
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 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Extract all CounterMethod references from the references directory
|
|
3
|
+
* Returns object with filename as key and reference data as value
|
|
4
|
+
* When references array is provided, only those files are included with full content
|
|
5
|
+
*/
|
|
6
|
+
export type MethodReference = Record<string, {
|
|
7
|
+
description: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
content?: string;
|
|
10
|
+
}>;
|
|
11
|
+
export declare function getReferenceData(referencesDir?: string): Promise<MethodReference>;
|
|
12
|
+
export declare function buildReferences(folderPath: string | undefined, callSign: string): Promise<{
|
|
13
|
+
referenceInstructions: string[];
|
|
14
|
+
referenceList: MethodReference;
|
|
15
|
+
} | undefined>;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import { type ResourceType } from "./schemas/counter_schemas";
|
|
2
2
|
import { type ScannedFile } from "modality-kit";
|
|
3
3
|
export declare const COUNTER_FILE_EXTENSIONS: string[];
|
|
4
|
-
/**
|
|
5
|
-
* Extract all CounterMethod references from the references directory
|
|
6
|
-
* Returns object with filename as key and reference data as value
|
|
7
|
-
* When references array is provided, only those files are included with full content
|
|
8
|
-
*/
|
|
9
|
-
export type MethodReference = Record<string, {
|
|
10
|
-
description: string;
|
|
11
|
-
name?: string;
|
|
12
|
-
content?: string;
|
|
13
|
-
}>;
|
|
14
4
|
/**
|
|
15
5
|
* Method execution response types
|
|
16
6
|
*/
|
package/package.json
CHANGED