@xoxno/sdk-js 0.1.129-alpha → 0.1.130-alpha
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/dist/{emails → email}/email.d.ts +3 -12
- package/dist/email/email.d.ts.map +1 -0
- package/dist/email.d.ts +2 -1
- package/dist/email.d.ts.map +1 -1
- package/dist/email.esm.js +1854 -0
- package/dist/email.js +1854 -1
- package/package.json +1 -1
- package/dist/emails/email.d.ts.map +0 -1
- package/dist/emails/index.d.ts +0 -53
- package/dist/emails/index.d.ts.map +0 -1
- package/dist/emails/types.d.ts +0 -51
- package/dist/emails/types.d.ts.map +0 -1
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
|
-
export declare const locales: readonly ["en", "de"];
|
|
3
|
-
export type ILocale = (typeof locales)[number];
|
|
4
|
-
export type Translations<T = object> = {
|
|
5
|
-
namespace: string;
|
|
6
|
-
translations: {
|
|
7
|
-
en: T;
|
|
8
|
-
} & Partial<{
|
|
9
|
-
[key in Exclude<ILocale, 'en'>]: Partial<T>;
|
|
10
|
-
}>;
|
|
11
|
-
};
|
|
12
2
|
import { IBaseNotification, IEmailActivityType, type IBidTypes, type IDepositTypes, type IOfferTypes, type ITradeTypes } from './types';
|
|
13
3
|
import React from 'react';
|
|
14
4
|
export type ITradeProps = {
|
|
@@ -44,10 +34,11 @@ export type IOfferProps = {
|
|
|
44
34
|
};
|
|
45
35
|
};
|
|
46
36
|
export type IProps = ITradeProps | IDepositProps | IOfferProps | IBidProps;
|
|
47
|
-
|
|
48
|
-
export declare
|
|
37
|
+
declare const generateXOXNOEmail: (props: IProps) => React.JSX.Element;
|
|
38
|
+
export declare const renderEmail: (props: ComponentProps<typeof generateXOXNOEmail>) => Promise<{
|
|
49
39
|
html: string;
|
|
50
40
|
plainText: string;
|
|
51
41
|
subject: string | undefined;
|
|
52
42
|
}>;
|
|
43
|
+
export {};
|
|
53
44
|
//# sourceMapp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AAE,OAAO,CAAC,kBAAkB,EAAE,WAAW,CAAC,CAAC;IACvD,OAAO,EAAE;QACP,IAAI,EAAE,MAAM,CAAC;QACb,GAAG,EAAE,IAAI,CAAC,iBAAiB,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC,CAAC;QAC7D,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,WAAW,GAAG,aAAa,GAAG,WAAW,GAAG,SAAS,CAAC;AAmC3E,QAAA,MAAM,kBAAkB,UAAW,MAAM,sBAgIxC,CAAC;AAqDF,eAAO,MAAM,WAAW,UACf,eAAe,yBAAyB,CAAC,KAC/C,QAAQ;IACT,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAcA,CAAC"}
|
package/dist/email.d.ts
CHANGED
package/dist/email.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../src/email.
|
|
1
|
+
{"version":3,"file":"email.d.ts","sourceRoot":"","sources":["../src/email.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,eAAe,WAAW,CAAC"}
|