Skip to content

Commit 4a2cacd

Browse files
committed
fixed the configuration files
1 parent e166f76 commit 4a2cacd

20 files changed

Lines changed: 180 additions & 29 deletions

dist/AppAttentionPlugin.d.mts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import PamTracker from 'pamtag';
2+
import { Plugin } from 'pamtag/build/types/core/plugin';
3+
4+
declare class AppAttentionPlugin extends Plugin {
5+
initPlugin(pam: PamTracker): void;
6+
}
7+
8+
export { AppAttentionPlugin };

dist/AppAttentionPlugin.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import PamTracker from 'pamtag';
2+
import { Plugin } from 'pamtag/build/types/core/plugin';
3+
4+
declare class AppAttentionPlugin extends Plugin {
5+
initPlugin(pam: PamTracker): void;
6+
}
7+
8+
export { AppAttentionPlugin };

dist/NativePamReactNative.d.mts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { TurboModule } from 'react-native';
2+
3+
interface Spec extends TurboModule {
4+
multiply(a: number, b: number): number;
5+
displayPopup(banner: Object): void;
6+
}
7+
declare const _default: Spec;
8+
9+
export { type Spec, _default as default };

dist/NativePamReactNative.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { TurboModule } from 'react-native';
2+
3+
interface Spec extends TurboModule {
4+
multiply(a: number, b: number): number;
5+
displayPopup(banner: Object): void;
6+
}
7+
declare const _default: Spec;
8+
9+
export { type Spec, _default as default };

dist/NativeStorageProvider.d.mts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { IStorageProvider } from 'pamtag/build/types/storage_provider';
2+
3+
declare class NativeStorageProvider implements IStorageProvider {
4+
setLocalStorage(key: string, value: string): Promise<void>;
5+
getLocalStorage(key: string): Promise<string | null>;
6+
deleteLocalStorage(key: string): void;
7+
setCookie(name: string, value: string, hours?: number): void;
8+
getCookie(name: string): Promise<string | null>;
9+
deleteCookie(name: string): void;
10+
}
11+
12+
export { NativeStorageProvider };

dist/NativeStorageProvider.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { IStorageProvider } from 'pamtag/build/types/storage_provider';
2+
3+
declare class NativeStorageProvider implements IStorageProvider {
4+
setLocalStorage(key: string, value: string): Promise<void>;
5+
getLocalStorage(key: string): Promise<string | null>;
6+
deleteLocalStorage(key: string): void;
7+
setCookie(name: string, value: string, hours?: number): void;
8+
getCookie(name: string): Promise<string | null>;
9+
deleteCookie(name: string): void;
10+
}
11+
12+
export { NativeStorageProvider };

dist/PamAPI.d.mts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
declare class PamAPI {
2+
baseApiPath: string;
3+
constructor(baseApiPath: string);
4+
loadAppAttention(pageName: string, contactID: string): Promise<Record<string, any> | undefined>;
5+
}
6+
7+
export { PamAPI };

dist/PamAPI.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
declare class PamAPI {
2+
baseApiPath: string;
3+
constructor(baseApiPath: string);
4+
loadAppAttention(pageName: string, contactID: string): Promise<Record<string, any> | undefined>;
5+
}
6+
7+
export { PamAPI };

dist/__tests__/index.test.d.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
export { }

dist/__tests__/index.test.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
export { }

0 commit comments

Comments
 (0)