@memberstack/dom 2.0.1 → 2.0.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 +356 -3
- package/lib/index.d.mts +1912 -64
- package/lib/index.d.ts +1912 -64
- package/lib/index.js +2316 -30656
- package/lib/index.mjs +2302 -30656
- package/lib/{types/utils/payloads.d.mts → models-CFT_ABd5.d.ts} +194 -6
- package/lib/testing/index.d.mts +295 -0
- package/lib/testing/index.d.ts +295 -0
- package/lib/testing/index.js +335 -0
- package/lib/testing/index.mjs +305 -0
- package/package.json +23 -12
- package/lib/auth/index.d.mts +0 -9
- package/lib/auth/index.d.ts +0 -9
- package/lib/auth/index.global.js +0 -244
- package/lib/auth/index.js +0 -158
- package/lib/auth/index.mjs +0 -121
- package/lib/constants/endpoints.d.mts +0 -5
- package/lib/constants/endpoints.d.ts +0 -5
- package/lib/constants/endpoints.global.js +0 -29
- package/lib/constants/endpoints.js +0 -31
- package/lib/constants/endpoints.mjs +0 -7
- package/lib/index.global.js +0 -46364
- package/lib/methods/dom/index.d.mts +0 -2
- package/lib/methods/dom/index.d.ts +0 -2
- package/lib/methods/dom/index.global.js +0 -2
- package/lib/methods/dom/index.js +0 -0
- package/lib/methods/dom/index.mjs +0 -0
- package/lib/methods/dom/main-dom.d.mts +0 -14
- package/lib/methods/dom/main-dom.d.ts +0 -14
- package/lib/methods/dom/main-dom.global.js +0 -30620
- package/lib/methods/dom/main-dom.js +0 -30618
- package/lib/methods/dom/main-dom.mjs +0 -30601
- package/lib/methods/dom/methods.d.mts +0 -18
- package/lib/methods/dom/methods.d.ts +0 -18
- package/lib/methods/dom/methods.global.js +0 -30827
- package/lib/methods/dom/methods.js +0 -30835
- package/lib/methods/dom/methods.mjs +0 -30806
- package/lib/methods/index.d.mts +0 -103
- package/lib/methods/index.d.ts +0 -103
- package/lib/methods/index.global.js +0 -46361
- package/lib/methods/index.js +0 -32125
- package/lib/methods/index.mjs +0 -32096
- package/lib/methods/requests/index.d.mts +0 -92
- package/lib/methods/requests/index.d.ts +0 -92
- package/lib/methods/requests/index.global.js +0 -15553
- package/lib/methods/requests/index.js +0 -1322
- package/lib/methods/requests/index.mjs +0 -1288
- package/lib/methods/requests/requests.d.mts +0 -42
- package/lib/methods/requests/requests.d.ts +0 -42
- package/lib/methods/requests/requests.global.js +0 -14528
- package/lib/methods/requests/requests.js +0 -242
- package/lib/methods/requests/requests.mjs +0 -209
- package/lib/types/index.d.mts +0 -4
- package/lib/types/index.d.ts +0 -4
- package/lib/types/index.global.js +0 -19
- package/lib/types/index.js +0 -17
- package/lib/types/index.mjs +0 -0
- package/lib/types/params.d.mts +0 -322
- package/lib/types/params.d.ts +0 -322
- package/lib/types/params.global.js +0 -19
- package/lib/types/params.js +0 -17
- package/lib/types/params.mjs +0 -0
- package/lib/types/payloads.d.mts +0 -143
- package/lib/types/payloads.d.ts +0 -143
- package/lib/types/payloads.global.js +0 -19
- package/lib/types/payloads.js +0 -17
- package/lib/types/payloads.mjs +0 -0
- package/lib/types/translations.d.mts +0 -43
- package/lib/types/translations.d.ts +0 -43
- package/lib/types/translations.global.js +0 -19
- package/lib/types/translations.js +0 -17
- package/lib/types/translations.mjs +0 -0
- package/lib/types/utils/payloads.d.ts +0 -299
- package/lib/types/utils/payloads.global.js +0 -19
- package/lib/types/utils/payloads.js +0 -17
- package/lib/types/utils/payloads.mjs +0 -0
- package/lib/utils/cookies.d.mts +0 -13
- package/lib/utils/cookies.d.ts +0 -13
- package/lib/utils/cookies.global.js +0 -261
- package/lib/utils/cookies.js +0 -179
- package/lib/utils/cookies.mjs +0 -138
- package/lib/utils/defaultMessageBox.d.mts +0 -5
- package/lib/utils/defaultMessageBox.d.ts +0 -5
- package/lib/utils/defaultMessageBox.global.js +0 -125
- package/lib/utils/defaultMessageBox.js +0 -129
- package/lib/utils/defaultMessageBox.mjs +0 -103
package/lib/types/payloads.d.mts
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { Payload } from './utils/payloads.mjs';
|
|
2
|
-
|
|
3
|
-
type AppPayload = Response<Payload.Transforms["App"]>;
|
|
4
|
-
type DeleteMemberPayload = Response<Payload.Transforms["DeletedMember"]>;
|
|
5
|
-
type GetAppAndMemberPayload = Response<Payload.Transforms["GetAppAndMember"]>;
|
|
6
|
-
type AddMemberCardPayload = Response<Payload.Transforms["Member"]>;
|
|
7
|
-
type CancelPlanPayload = Response<Payload.Transforms["Member"]>;
|
|
8
|
-
type RemovePlanPayload = Response<Payload.Transforms["RemovePlan"]>;
|
|
9
|
-
type GetCurrentMemberPayload = Response<Payload.Transforms["Member"]>;
|
|
10
|
-
type GetMemberJSONPayload = Response<Payload.Transforms["MemberJSON"]>;
|
|
11
|
-
type GetMemberCardsPayload = Response<Payload.Transforms["MemberCard"][]>;
|
|
12
|
-
type ConnectProviderPayload = Response<Payload.Transforms["AuthProviders"]>;
|
|
13
|
-
type GetMemberInvoicesPayload = PaginatedResponse<Payload.Transforms["MemberInvoice"]>;
|
|
14
|
-
type GetMemberReceiptsPayload = PaginatedResponse<Payload.Transforms["MemberReceipt"]>;
|
|
15
|
-
type UpdateMemberProfileImagePayload = Response<{
|
|
16
|
-
profileImage: string;
|
|
17
|
-
}>;
|
|
18
|
-
type GetSecureContentPayload = Response<Payload.Transforms["SecureContent"]>;
|
|
19
|
-
type SetPasswordPayload = Response<Payload.Transforms["Member"]>;
|
|
20
|
-
type GetRestrictedUrlGroupsPayload = Response<Payload.Transforms["RestrictedUrlGroup"][]>;
|
|
21
|
-
type GetPlansPayload = Response<Payload.Transforms["Plan"][]>;
|
|
22
|
-
type GetPlanPayload = Response<Payload.Transforms["Plan"]>;
|
|
23
|
-
type LoginMemberEmailPasswordPayload = Response<Payload.Transforms["MemberAuth"]>;
|
|
24
|
-
type SendMemberLoginPasswordlessEmailPayload = Response<{
|
|
25
|
-
success: boolean;
|
|
26
|
-
}>;
|
|
27
|
-
type LogoutMemberPayload = Response<{
|
|
28
|
-
redirect?: string;
|
|
29
|
-
}>;
|
|
30
|
-
type PurchasePlansPayload = Response<Payload.Transforms["Purchase"]>;
|
|
31
|
-
type AddPlanPayload = Response<Payload.Transforms["AddPlan"]>;
|
|
32
|
-
type PurchasePlansWithCheckoutPayload = Response<Payload.Transforms["PurchaseWithCheckout"]>;
|
|
33
|
-
type LaunchStripeCustomerPortalPayload = Response<Payload.Transforms["LaunchStripeCustomerPortal"]>;
|
|
34
|
-
type OpenStripeCustomerPortalPayload = Response<Payload.Transforms["OpenStripeCustomerPortal"]>;
|
|
35
|
-
type SignupMemberEmailPasswordPayload = Response<Payload.Transforms["MemberAuth"]>;
|
|
36
|
-
type SignupMemberAuthProviderPayload = Response<Payload.Transforms["MemberAuth"]>;
|
|
37
|
-
type UpdateDefaultCardPayload = Response<Payload.Transforms["Member"]>;
|
|
38
|
-
type UpdateMemberAuthPayload = Response<Payload.Transforms["Member"]>;
|
|
39
|
-
type UpdateMemberPayload = Response<Payload.Transforms["Member"]>;
|
|
40
|
-
type UpdatePlanPaymentPayload = Response<Payload.Transforms["Member"]>;
|
|
41
|
-
type RefreshMemberTokensPayload = Response<Payload.Transforms["MemberAuth"]["tokens"]>;
|
|
42
|
-
type SendMemberResetPasswordEmailPayload = Response<string>;
|
|
43
|
-
type ReplacePlanPayload = Response<Payload.Transforms["Purchase"]>;
|
|
44
|
-
type GetAuthProvidersPayload = Response<Payload.Transforms["AuthProvider"][]>;
|
|
45
|
-
type GetTotalCheckoutAmountPayload = Response<Payload.Transforms["TotalCheckoutAmount"]>;
|
|
46
|
-
type GetAuthenticationClientSecretPayload = Response<Payload.Transforms["AuthenticationClientSecret"]>;
|
|
47
|
-
type SendMemberVerificationEmailPayload = Response<Payload.Transforms["SendMemberVerificationEmail"]>;
|
|
48
|
-
type ResetMemberPassworPayload = Response<Payload.Transforms["ResetMemberPassword"]>;
|
|
49
|
-
type GetPostsPayload = Response<Payload.Transforms["Posts"]>;
|
|
50
|
-
type GetThreadsPayload = Response<Payload.Transforms["Threads"]>;
|
|
51
|
-
type CreatePostPayload = Response<Payload.Transforms["Post"]>;
|
|
52
|
-
type CreateThreadPayload = Response<Payload.Transforms["Thread"]>;
|
|
53
|
-
type UpdatePostPayload = Response<Payload.Transforms["Post"]>;
|
|
54
|
-
type UpdateThreadPayload = Response<Payload.Transforms["Thread"]>;
|
|
55
|
-
type GetDataTablesPayload = Response<{
|
|
56
|
-
tables: DataTableResponse[];
|
|
57
|
-
}>;
|
|
58
|
-
type GetDataTablePayload = Response<DataTableResponse>;
|
|
59
|
-
type GetDataRecordsPayload = Response<{
|
|
60
|
-
records: DataRecordResponse[];
|
|
61
|
-
pagination: {
|
|
62
|
-
limit: number;
|
|
63
|
-
endCursor: number | null;
|
|
64
|
-
hasMore: boolean;
|
|
65
|
-
};
|
|
66
|
-
}>;
|
|
67
|
-
type CreateDataRecordPayload = Response<DataRecordResponse>;
|
|
68
|
-
type GetDataRecordPayload = Response<DataRecordResponse>;
|
|
69
|
-
type UpdateDataRecordPayload = Response<DataRecordResponse>;
|
|
70
|
-
type DeleteDataRecordPayload = Response<{
|
|
71
|
-
id: string;
|
|
72
|
-
}>;
|
|
73
|
-
type QueryDataRecordsPayload = Response<{
|
|
74
|
-
records: QueryDataRecordResponse[];
|
|
75
|
-
pagination?: {
|
|
76
|
-
limit: number;
|
|
77
|
-
hasMore: boolean;
|
|
78
|
-
endCursor: number;
|
|
79
|
-
};
|
|
80
|
-
}> | Response<{
|
|
81
|
-
_count: number;
|
|
82
|
-
}>;
|
|
83
|
-
type DataTableResponse = {
|
|
84
|
-
id: string;
|
|
85
|
-
key: string;
|
|
86
|
-
name: string;
|
|
87
|
-
createRule: string;
|
|
88
|
-
readRule: string;
|
|
89
|
-
updateRule: string;
|
|
90
|
-
deleteRule: string;
|
|
91
|
-
createdAt: string;
|
|
92
|
-
updatedAt?: string;
|
|
93
|
-
recordCount: number;
|
|
94
|
-
fields: {
|
|
95
|
-
id: string;
|
|
96
|
-
key: string;
|
|
97
|
-
name: string;
|
|
98
|
-
type: string;
|
|
99
|
-
required: boolean;
|
|
100
|
-
defaultValue?: any;
|
|
101
|
-
tableOrder?: number;
|
|
102
|
-
referencedTableId?: string;
|
|
103
|
-
referencedTable?: {
|
|
104
|
-
id: string;
|
|
105
|
-
key: string;
|
|
106
|
-
name: string;
|
|
107
|
-
};
|
|
108
|
-
}[];
|
|
109
|
-
};
|
|
110
|
-
type DataRecordResponse = {
|
|
111
|
-
id: string;
|
|
112
|
-
tableKey: string;
|
|
113
|
-
createdByMemberId?: string;
|
|
114
|
-
data: Record<string, any>;
|
|
115
|
-
createdAt: string;
|
|
116
|
-
updatedAt: string;
|
|
117
|
-
internalOrder: number;
|
|
118
|
-
activeMemberOwnsIt: boolean;
|
|
119
|
-
};
|
|
120
|
-
type ReferenceFieldResult = {
|
|
121
|
-
count: number;
|
|
122
|
-
action: 'connected' | 'disconnected' | 'unchanged';
|
|
123
|
-
};
|
|
124
|
-
type MemberReferenceFieldResult = {
|
|
125
|
-
count: number;
|
|
126
|
-
hasself: boolean;
|
|
127
|
-
action: 'connected' | 'disconnected' | 'unchanged';
|
|
128
|
-
};
|
|
129
|
-
type QueryDataRecordResponse = DataRecordResponse & {
|
|
130
|
-
[relationName: string]: any;
|
|
131
|
-
_count?: Record<string, number>;
|
|
132
|
-
};
|
|
133
|
-
type PaginatedResponse<T> = {
|
|
134
|
-
hasNext: boolean;
|
|
135
|
-
endCursor: string | null;
|
|
136
|
-
totalCount: number;
|
|
137
|
-
data: T[];
|
|
138
|
-
};
|
|
139
|
-
type Response<T> = {
|
|
140
|
-
data: T;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
export type { AddMemberCardPayload, AddPlanPayload, AppPayload, CancelPlanPayload, ConnectProviderPayload, CreateDataRecordPayload, CreatePostPayload, CreateThreadPayload, DeleteDataRecordPayload, DeleteMemberPayload, GetAppAndMemberPayload, GetAuthProvidersPayload, GetAuthenticationClientSecretPayload, GetCurrentMemberPayload, GetDataRecordPayload, GetDataRecordsPayload, GetDataTablePayload, GetDataTablesPayload, GetMemberCardsPayload, GetMemberInvoicesPayload, GetMemberJSONPayload, GetMemberReceiptsPayload, GetPlanPayload, GetPlansPayload, GetPostsPayload, GetRestrictedUrlGroupsPayload, GetSecureContentPayload, GetThreadsPayload, GetTotalCheckoutAmountPayload, LaunchStripeCustomerPortalPayload, LoginMemberEmailPasswordPayload, LogoutMemberPayload, MemberReferenceFieldResult, OpenStripeCustomerPortalPayload, PurchasePlansPayload, PurchasePlansWithCheckoutPayload, QueryDataRecordsPayload, ReferenceFieldResult, RefreshMemberTokensPayload, RemovePlanPayload, ReplacePlanPayload, ResetMemberPassworPayload, SendMemberLoginPasswordlessEmailPayload, SendMemberResetPasswordEmailPayload, SendMemberVerificationEmailPayload, SetPasswordPayload, SignupMemberAuthProviderPayload, SignupMemberEmailPasswordPayload, UpdateDataRecordPayload, UpdateDefaultCardPayload, UpdateMemberAuthPayload, UpdateMemberPayload, UpdateMemberProfileImagePayload, UpdatePlanPaymentPayload, UpdatePostPayload, UpdateThreadPayload };
|
package/lib/types/payloads.d.ts
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
import { Payload } from './utils/payloads.js';
|
|
2
|
-
|
|
3
|
-
type AppPayload = Response<Payload.Transforms["App"]>;
|
|
4
|
-
type DeleteMemberPayload = Response<Payload.Transforms["DeletedMember"]>;
|
|
5
|
-
type GetAppAndMemberPayload = Response<Payload.Transforms["GetAppAndMember"]>;
|
|
6
|
-
type AddMemberCardPayload = Response<Payload.Transforms["Member"]>;
|
|
7
|
-
type CancelPlanPayload = Response<Payload.Transforms["Member"]>;
|
|
8
|
-
type RemovePlanPayload = Response<Payload.Transforms["RemovePlan"]>;
|
|
9
|
-
type GetCurrentMemberPayload = Response<Payload.Transforms["Member"]>;
|
|
10
|
-
type GetMemberJSONPayload = Response<Payload.Transforms["MemberJSON"]>;
|
|
11
|
-
type GetMemberCardsPayload = Response<Payload.Transforms["MemberCard"][]>;
|
|
12
|
-
type ConnectProviderPayload = Response<Payload.Transforms["AuthProviders"]>;
|
|
13
|
-
type GetMemberInvoicesPayload = PaginatedResponse<Payload.Transforms["MemberInvoice"]>;
|
|
14
|
-
type GetMemberReceiptsPayload = PaginatedResponse<Payload.Transforms["MemberReceipt"]>;
|
|
15
|
-
type UpdateMemberProfileImagePayload = Response<{
|
|
16
|
-
profileImage: string;
|
|
17
|
-
}>;
|
|
18
|
-
type GetSecureContentPayload = Response<Payload.Transforms["SecureContent"]>;
|
|
19
|
-
type SetPasswordPayload = Response<Payload.Transforms["Member"]>;
|
|
20
|
-
type GetRestrictedUrlGroupsPayload = Response<Payload.Transforms["RestrictedUrlGroup"][]>;
|
|
21
|
-
type GetPlansPayload = Response<Payload.Transforms["Plan"][]>;
|
|
22
|
-
type GetPlanPayload = Response<Payload.Transforms["Plan"]>;
|
|
23
|
-
type LoginMemberEmailPasswordPayload = Response<Payload.Transforms["MemberAuth"]>;
|
|
24
|
-
type SendMemberLoginPasswordlessEmailPayload = Response<{
|
|
25
|
-
success: boolean;
|
|
26
|
-
}>;
|
|
27
|
-
type LogoutMemberPayload = Response<{
|
|
28
|
-
redirect?: string;
|
|
29
|
-
}>;
|
|
30
|
-
type PurchasePlansPayload = Response<Payload.Transforms["Purchase"]>;
|
|
31
|
-
type AddPlanPayload = Response<Payload.Transforms["AddPlan"]>;
|
|
32
|
-
type PurchasePlansWithCheckoutPayload = Response<Payload.Transforms["PurchaseWithCheckout"]>;
|
|
33
|
-
type LaunchStripeCustomerPortalPayload = Response<Payload.Transforms["LaunchStripeCustomerPortal"]>;
|
|
34
|
-
type OpenStripeCustomerPortalPayload = Response<Payload.Transforms["OpenStripeCustomerPortal"]>;
|
|
35
|
-
type SignupMemberEmailPasswordPayload = Response<Payload.Transforms["MemberAuth"]>;
|
|
36
|
-
type SignupMemberAuthProviderPayload = Response<Payload.Transforms["MemberAuth"]>;
|
|
37
|
-
type UpdateDefaultCardPayload = Response<Payload.Transforms["Member"]>;
|
|
38
|
-
type UpdateMemberAuthPayload = Response<Payload.Transforms["Member"]>;
|
|
39
|
-
type UpdateMemberPayload = Response<Payload.Transforms["Member"]>;
|
|
40
|
-
type UpdatePlanPaymentPayload = Response<Payload.Transforms["Member"]>;
|
|
41
|
-
type RefreshMemberTokensPayload = Response<Payload.Transforms["MemberAuth"]["tokens"]>;
|
|
42
|
-
type SendMemberResetPasswordEmailPayload = Response<string>;
|
|
43
|
-
type ReplacePlanPayload = Response<Payload.Transforms["Purchase"]>;
|
|
44
|
-
type GetAuthProvidersPayload = Response<Payload.Transforms["AuthProvider"][]>;
|
|
45
|
-
type GetTotalCheckoutAmountPayload = Response<Payload.Transforms["TotalCheckoutAmount"]>;
|
|
46
|
-
type GetAuthenticationClientSecretPayload = Response<Payload.Transforms["AuthenticationClientSecret"]>;
|
|
47
|
-
type SendMemberVerificationEmailPayload = Response<Payload.Transforms["SendMemberVerificationEmail"]>;
|
|
48
|
-
type ResetMemberPassworPayload = Response<Payload.Transforms["ResetMemberPassword"]>;
|
|
49
|
-
type GetPostsPayload = Response<Payload.Transforms["Posts"]>;
|
|
50
|
-
type GetThreadsPayload = Response<Payload.Transforms["Threads"]>;
|
|
51
|
-
type CreatePostPayload = Response<Payload.Transforms["Post"]>;
|
|
52
|
-
type CreateThreadPayload = Response<Payload.Transforms["Thread"]>;
|
|
53
|
-
type UpdatePostPayload = Response<Payload.Transforms["Post"]>;
|
|
54
|
-
type UpdateThreadPayload = Response<Payload.Transforms["Thread"]>;
|
|
55
|
-
type GetDataTablesPayload = Response<{
|
|
56
|
-
tables: DataTableResponse[];
|
|
57
|
-
}>;
|
|
58
|
-
type GetDataTablePayload = Response<DataTableResponse>;
|
|
59
|
-
type GetDataRecordsPayload = Response<{
|
|
60
|
-
records: DataRecordResponse[];
|
|
61
|
-
pagination: {
|
|
62
|
-
limit: number;
|
|
63
|
-
endCursor: number | null;
|
|
64
|
-
hasMore: boolean;
|
|
65
|
-
};
|
|
66
|
-
}>;
|
|
67
|
-
type CreateDataRecordPayload = Response<DataRecordResponse>;
|
|
68
|
-
type GetDataRecordPayload = Response<DataRecordResponse>;
|
|
69
|
-
type UpdateDataRecordPayload = Response<DataRecordResponse>;
|
|
70
|
-
type DeleteDataRecordPayload = Response<{
|
|
71
|
-
id: string;
|
|
72
|
-
}>;
|
|
73
|
-
type QueryDataRecordsPayload = Response<{
|
|
74
|
-
records: QueryDataRecordResponse[];
|
|
75
|
-
pagination?: {
|
|
76
|
-
limit: number;
|
|
77
|
-
hasMore: boolean;
|
|
78
|
-
endCursor: number;
|
|
79
|
-
};
|
|
80
|
-
}> | Response<{
|
|
81
|
-
_count: number;
|
|
82
|
-
}>;
|
|
83
|
-
type DataTableResponse = {
|
|
84
|
-
id: string;
|
|
85
|
-
key: string;
|
|
86
|
-
name: string;
|
|
87
|
-
createRule: string;
|
|
88
|
-
readRule: string;
|
|
89
|
-
updateRule: string;
|
|
90
|
-
deleteRule: string;
|
|
91
|
-
createdAt: string;
|
|
92
|
-
updatedAt?: string;
|
|
93
|
-
recordCount: number;
|
|
94
|
-
fields: {
|
|
95
|
-
id: string;
|
|
96
|
-
key: string;
|
|
97
|
-
name: string;
|
|
98
|
-
type: string;
|
|
99
|
-
required: boolean;
|
|
100
|
-
defaultValue?: any;
|
|
101
|
-
tableOrder?: number;
|
|
102
|
-
referencedTableId?: string;
|
|
103
|
-
referencedTable?: {
|
|
104
|
-
id: string;
|
|
105
|
-
key: string;
|
|
106
|
-
name: string;
|
|
107
|
-
};
|
|
108
|
-
}[];
|
|
109
|
-
};
|
|
110
|
-
type DataRecordResponse = {
|
|
111
|
-
id: string;
|
|
112
|
-
tableKey: string;
|
|
113
|
-
createdByMemberId?: string;
|
|
114
|
-
data: Record<string, any>;
|
|
115
|
-
createdAt: string;
|
|
116
|
-
updatedAt: string;
|
|
117
|
-
internalOrder: number;
|
|
118
|
-
activeMemberOwnsIt: boolean;
|
|
119
|
-
};
|
|
120
|
-
type ReferenceFieldResult = {
|
|
121
|
-
count: number;
|
|
122
|
-
action: 'connected' | 'disconnected' | 'unchanged';
|
|
123
|
-
};
|
|
124
|
-
type MemberReferenceFieldResult = {
|
|
125
|
-
count: number;
|
|
126
|
-
hasself: boolean;
|
|
127
|
-
action: 'connected' | 'disconnected' | 'unchanged';
|
|
128
|
-
};
|
|
129
|
-
type QueryDataRecordResponse = DataRecordResponse & {
|
|
130
|
-
[relationName: string]: any;
|
|
131
|
-
_count?: Record<string, number>;
|
|
132
|
-
};
|
|
133
|
-
type PaginatedResponse<T> = {
|
|
134
|
-
hasNext: boolean;
|
|
135
|
-
endCursor: string | null;
|
|
136
|
-
totalCount: number;
|
|
137
|
-
data: T[];
|
|
138
|
-
};
|
|
139
|
-
type Response<T> = {
|
|
140
|
-
data: T;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
|
-
export type { AddMemberCardPayload, AddPlanPayload, AppPayload, CancelPlanPayload, ConnectProviderPayload, CreateDataRecordPayload, CreatePostPayload, CreateThreadPayload, DeleteDataRecordPayload, DeleteMemberPayload, GetAppAndMemberPayload, GetAuthProvidersPayload, GetAuthenticationClientSecretPayload, GetCurrentMemberPayload, GetDataRecordPayload, GetDataRecordsPayload, GetDataTablePayload, GetDataTablesPayload, GetMemberCardsPayload, GetMemberInvoicesPayload, GetMemberJSONPayload, GetMemberReceiptsPayload, GetPlanPayload, GetPlansPayload, GetPostsPayload, GetRestrictedUrlGroupsPayload, GetSecureContentPayload, GetThreadsPayload, GetTotalCheckoutAmountPayload, LaunchStripeCustomerPortalPayload, LoginMemberEmailPasswordPayload, LogoutMemberPayload, MemberReferenceFieldResult, OpenStripeCustomerPortalPayload, PurchasePlansPayload, PurchasePlansWithCheckoutPayload, QueryDataRecordsPayload, ReferenceFieldResult, RefreshMemberTokensPayload, RemovePlanPayload, ReplacePlanPayload, ResetMemberPassworPayload, SendMemberLoginPasswordlessEmailPayload, SendMemberResetPasswordEmailPayload, SendMemberVerificationEmailPayload, SetPasswordPayload, SignupMemberAuthProviderPayload, SignupMemberEmailPasswordPayload, UpdateDataRecordPayload, UpdateDefaultCardPayload, UpdateMemberAuthPayload, UpdateMemberPayload, UpdateMemberProfileImagePayload, UpdatePlanPaymentPayload, UpdatePostPayload, UpdateThreadPayload };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
var MemberstackDOM = (() => {
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/types/payloads.ts
|
|
17
|
-
var payloads_exports = {};
|
|
18
|
-
return __toCommonJS(payloads_exports);
|
|
19
|
-
})();
|
package/lib/types/payloads.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
-
for (let key of __getOwnPropNames(from))
|
|
8
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
}
|
|
11
|
-
return to;
|
|
12
|
-
};
|
|
13
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
-
|
|
15
|
-
// src/types/payloads.ts
|
|
16
|
-
var payloads_exports = {};
|
|
17
|
-
module.exports = __toCommonJS(payloads_exports);
|
package/lib/types/payloads.mjs
DELETED
|
File without changes
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Memberstack UI Translation Keys
|
|
3
|
-
*
|
|
4
|
-
* Define custom translations for the Memberstack pre-built UI modals.
|
|
5
|
-
* All keys are optional - any undefined keys will use the default English text.
|
|
6
|
-
*/
|
|
7
|
-
interface MemberstackTranslations {
|
|
8
|
-
email_address?: string;
|
|
9
|
-
email_error_message?: string;
|
|
10
|
-
password?: string;
|
|
11
|
-
password_error_message?: string;
|
|
12
|
-
forgot_password?: string;
|
|
13
|
-
login_to_your_account?: string;
|
|
14
|
-
login_email_placeholder?: string;
|
|
15
|
-
login_password_placeholder?: string;
|
|
16
|
-
login?: string;
|
|
17
|
-
login_with_email?: string;
|
|
18
|
-
login_with_password?: string;
|
|
19
|
-
dont_have_an_account?: string;
|
|
20
|
-
continue_with?: string;
|
|
21
|
-
or?: string;
|
|
22
|
-
continue_with_email?: string;
|
|
23
|
-
signup_with_password?: string;
|
|
24
|
-
reset_your_password?: string;
|
|
25
|
-
reset_instructions?: string;
|
|
26
|
-
reset_email_placeholder?: string;
|
|
27
|
-
reset?: string;
|
|
28
|
-
reset_already_have_code?: string;
|
|
29
|
-
reset_enter_code?: string;
|
|
30
|
-
reset_password_placeholder?: string;
|
|
31
|
-
reset_confirm_reset?: string;
|
|
32
|
-
passwordless_token_heading?: string;
|
|
33
|
-
login_passwordless_instructions?: string;
|
|
34
|
-
login_verification_code?: string;
|
|
35
|
-
login_verify_email?: string;
|
|
36
|
-
}
|
|
37
|
-
declare global {
|
|
38
|
-
interface Window {
|
|
39
|
-
memberstackTranslations?: MemberstackTranslations;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export type { MemberstackTranslations };
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Memberstack UI Translation Keys
|
|
3
|
-
*
|
|
4
|
-
* Define custom translations for the Memberstack pre-built UI modals.
|
|
5
|
-
* All keys are optional - any undefined keys will use the default English text.
|
|
6
|
-
*/
|
|
7
|
-
interface MemberstackTranslations {
|
|
8
|
-
email_address?: string;
|
|
9
|
-
email_error_message?: string;
|
|
10
|
-
password?: string;
|
|
11
|
-
password_error_message?: string;
|
|
12
|
-
forgot_password?: string;
|
|
13
|
-
login_to_your_account?: string;
|
|
14
|
-
login_email_placeholder?: string;
|
|
15
|
-
login_password_placeholder?: string;
|
|
16
|
-
login?: string;
|
|
17
|
-
login_with_email?: string;
|
|
18
|
-
login_with_password?: string;
|
|
19
|
-
dont_have_an_account?: string;
|
|
20
|
-
continue_with?: string;
|
|
21
|
-
or?: string;
|
|
22
|
-
continue_with_email?: string;
|
|
23
|
-
signup_with_password?: string;
|
|
24
|
-
reset_your_password?: string;
|
|
25
|
-
reset_instructions?: string;
|
|
26
|
-
reset_email_placeholder?: string;
|
|
27
|
-
reset?: string;
|
|
28
|
-
reset_already_have_code?: string;
|
|
29
|
-
reset_enter_code?: string;
|
|
30
|
-
reset_password_placeholder?: string;
|
|
31
|
-
reset_confirm_reset?: string;
|
|
32
|
-
passwordless_token_heading?: string;
|
|
33
|
-
login_passwordless_instructions?: string;
|
|
34
|
-
login_verification_code?: string;
|
|
35
|
-
login_verify_email?: string;
|
|
36
|
-
}
|
|
37
|
-
declare global {
|
|
38
|
-
interface Window {
|
|
39
|
-
memberstackTranslations?: MemberstackTranslations;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export type { MemberstackTranslations };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
var MemberstackDOM = (() => {
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
-
|
|
16
|
-
// src/types/translations.ts
|
|
17
|
-
var translations_exports = {};
|
|
18
|
-
return __toCommonJS(translations_exports);
|
|
19
|
-
})();
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
-
for (let key of __getOwnPropNames(from))
|
|
8
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
-
}
|
|
11
|
-
return to;
|
|
12
|
-
};
|
|
13
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
14
|
-
|
|
15
|
-
// src/types/translations.ts
|
|
16
|
-
var translations_exports = {};
|
|
17
|
-
module.exports = __toCommonJS(translations_exports);
|
|
File without changes
|