@appconda/nextjs 1.0.21 → 1.0.23
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/index.js +37 -12565
- package/package.json +1 -2
- package/dist/iife/sdk.js +0 -12556
- package/dist/index.js.map +0 -1
- package/dist/types/Cache/Adapter.d.ts +0 -10
- package/dist/types/Cache/Adapters/Filesystem.d.ts +0 -16
- package/dist/types/Cache/Adapters/Memory.d.ts +0 -18
- package/dist/types/Cache/Adapters/None.d.ts +0 -12
- package/dist/types/Cache/Adapters/Redis.d.ts +0 -14
- package/dist/types/Cache/Adapters/Sharding.d.ts +0 -17
- package/dist/types/Cache/Cache.d.ts +0 -16
- package/dist/types/Cache/index.d.ts +0 -5
- package/dist/types/Cache/test.d.ts +0 -0
- package/dist/types/Services.d.ts +0 -6
- package/dist/types/actions/actionClient.d.ts +0 -4
- package/dist/types/actions/index.d.ts +0 -1
- package/dist/types/actions/nodes.d.ts +0 -4
- package/dist/types/client.d.ts +0 -141
- package/dist/types/decorators/Cache.d.ts +0 -1
- package/dist/types/decorators/CacheKey.d.ts +0 -1
- package/dist/types/decorators/Invalidate.d.ts +0 -1
- package/dist/types/enums/api-service.d.ts +0 -13
- package/dist/types/enums/api.d.ts +0 -5
- package/dist/types/enums/auth-method.d.ts +0 -9
- package/dist/types/enums/authentication-factor.d.ts +0 -6
- package/dist/types/enums/authenticator-type.d.ts +0 -3
- package/dist/types/enums/browser.d.ts +0 -16
- package/dist/types/enums/compression.d.ts +0 -5
- package/dist/types/enums/credit-card.d.ts +0 -18
- package/dist/types/enums/database-usage-range.d.ts +0 -5
- package/dist/types/enums/email-template-locale.d.ts +0 -133
- package/dist/types/enums/email-template-type.d.ts +0 -9
- package/dist/types/enums/entities/EntityLimitType.d.ts +0 -4
- package/dist/types/enums/entities/PropertyAttributeName.d.ts +0 -27
- package/dist/types/enums/entities/PropertyCondition.d.ts +0 -7
- package/dist/types/enums/entities/PropertyType.d.ts +0 -12
- package/dist/types/enums/entities/PropertyValueType.d.ts +0 -6
- package/dist/types/enums/entities/RowAccess.d.ts +0 -2
- package/dist/types/enums/entities/ViewFilterCondition.d.ts +0 -12
- package/dist/types/enums/execution-method.d.ts +0 -8
- package/dist/types/enums/flag.d.ts +0 -197
- package/dist/types/enums/function-usage-range.d.ts +0 -5
- package/dist/types/enums/image-format.d.ts +0 -7
- package/dist/types/enums/image-gravity.d.ts +0 -11
- package/dist/types/enums/index-type.d.ts +0 -5
- package/dist/types/enums/messaging-provider-type.d.ts +0 -5
- package/dist/types/enums/name.d.ts +0 -14
- package/dist/types/enums/o-auth-provider copy.d.ts +0 -41
- package/dist/types/enums/o-auth-provider.d.ts +0 -41
- package/dist/types/enums/password-hash.d.ts +0 -13
- package/dist/types/enums/platform-type.d.ts +0 -17
- package/dist/types/enums/project-usage-range.d.ts +0 -4
- package/dist/types/enums/region.d.ts +0 -4
- package/dist/types/enums/relation-mutate.d.ts +0 -5
- package/dist/types/enums/relationship-type.d.ts +0 -6
- package/dist/types/enums/resource-type.d.ts +0 -4
- package/dist/types/enums/runtime.d.ts +0 -48
- package/dist/types/enums/s-m-t-p-secure.d.ts +0 -3
- package/dist/types/enums/shared/ApplicationLayout.d.ts +0 -4
- package/dist/types/enums/shared/Colors.d.ts +0 -24
- package/dist/types/enums/shared/InputType.d.ts +0 -6
- package/dist/types/enums/shared/Periodicity.d.ts +0 -7
- package/dist/types/enums/shared/SvgIcon.d.ts +0 -37
- package/dist/types/enums/shared/Theme.d.ts +0 -4
- package/dist/types/enums/sms-template-locale.d.ts +0 -133
- package/dist/types/enums/sms-template-type.d.ts +0 -6
- package/dist/types/enums/smtp-encryption.d.ts +0 -5
- package/dist/types/enums/storage-usage-range.d.ts +0 -5
- package/dist/types/enums/subscriptions/PricingModel.d.ts +0 -11
- package/dist/types/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
- package/dist/types/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
- package/dist/types/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
- package/dist/types/enums/tenants/LinkedAccountStatus.d.ts +0 -5
- package/dist/types/enums/tenants/TenantUserJoined.d.ts +0 -6
- package/dist/types/enums/tenants/TenantUserStatus.d.ts +0 -6
- package/dist/types/enums/tenants/TenantUserType.d.ts +0 -5
- package/dist/types/enums/user-usage-range.d.ts +0 -5
- package/dist/types/getAppcondaClient.d.ts +0 -2
- package/dist/types/getSDKForCurrentUser.d.ts +0 -33
- package/dist/types/id.d.ts +0 -20
- package/dist/types/index.d.ts +0 -39
- package/dist/types/inputFile.d.ts +0 -6
- package/dist/types/lib/Registry/Registry.d.ts +0 -38
- package/dist/types/lib/Registry/index.d.ts +0 -1
- package/dist/types/models.d.ts +0 -3272
- package/dist/types/permission.d.ts +0 -43
- package/dist/types/query.d.ts +0 -194
- package/dist/types/role.d.ts +0 -70
- package/dist/types/service-client.d.ts +0 -7
- package/dist/types/service.d.ts +0 -11
- package/dist/types/services/account.d.ts +0 -530
- package/dist/types/services/applets.d.ts +0 -9
- package/dist/types/services/avatars.d.ts +0 -115
- package/dist/types/services/community.d.ts +0 -19
- package/dist/types/services/configuration.d.ts +0 -5
- package/dist/types/services/databases.d.ts +0 -613
- package/dist/types/services/functions.d.ts +0 -319
- package/dist/types/services/graphql.d.ts +0 -25
- package/dist/types/services/health.d.ts +0 -231
- package/dist/types/services/locale.d.ts +0 -80
- package/dist/types/services/messaging.d.ts +0 -685
- package/dist/types/services/node.d.ts +0 -5
- package/dist/types/services/permissions.d.ts +0 -20
- package/dist/types/services/pricing.d.ts +0 -15
- package/dist/types/services/projects.d.ts +0 -542
- package/dist/types/services/roles.d.ts +0 -19
- package/dist/types/services/schema.d.ts +0 -17
- package/dist/types/services/storage.d.ts +0 -189
- package/dist/types/services/subscription.d.ts +0 -15
- package/dist/types/services/teams.d.ts +0 -167
- package/dist/types/services/tenant-subscription.d.ts +0 -12
- package/dist/types/services/tenant.d.ts +0 -32
- package/dist/types/services/users.d.ts +0 -499
- package/dist/types/services/waitlist.d.ts +0 -5
@@ -1,43 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Helper class to generate permission strings for resources.
|
3
|
-
*/
|
4
|
-
export declare class Permission {
|
5
|
-
/**
|
6
|
-
* Generate read permission string for the provided role.
|
7
|
-
*
|
8
|
-
* @param {string} role
|
9
|
-
* @returns {string}
|
10
|
-
*/
|
11
|
-
static read: (role: string) => string;
|
12
|
-
/**
|
13
|
-
* Generate write permission string for the provided role.
|
14
|
-
*
|
15
|
-
* This is an alias of update, delete, and possibly create.
|
16
|
-
* Don't use write in combination with update, delete, or create.
|
17
|
-
*
|
18
|
-
* @param {string} role
|
19
|
-
* @returns {string}
|
20
|
-
*/
|
21
|
-
static write: (role: string) => string;
|
22
|
-
/**
|
23
|
-
* Generate create permission string for the provided role.
|
24
|
-
*
|
25
|
-
* @param {string} role
|
26
|
-
* @returns {string}
|
27
|
-
*/
|
28
|
-
static create: (role: string) => string;
|
29
|
-
/**
|
30
|
-
* Generate update permission string for the provided role.
|
31
|
-
*
|
32
|
-
* @param {string} role
|
33
|
-
* @returns {string}
|
34
|
-
*/
|
35
|
-
static update: (role: string) => string;
|
36
|
-
/**
|
37
|
-
* Generate delete permission string for the provided role.
|
38
|
-
*
|
39
|
-
* @param {string} role
|
40
|
-
* @returns {string}
|
41
|
-
*/
|
42
|
-
static delete: (role: string) => string;
|
43
|
-
}
|
package/dist/types/query.d.ts
DELETED
@@ -1,194 +0,0 @@
|
|
1
|
-
type QueryTypesSingle = string | number | boolean;
|
2
|
-
export type QueryTypesList = string[] | number[] | boolean[] | Query[];
|
3
|
-
export type QueryTypes = QueryTypesSingle | QueryTypesList;
|
4
|
-
type AttributesTypes = string | string[];
|
5
|
-
/**
|
6
|
-
* Helper class to generate query strings.
|
7
|
-
*/
|
8
|
-
export declare class Query {
|
9
|
-
method: string;
|
10
|
-
attribute: AttributesTypes | undefined;
|
11
|
-
values: QueryTypesList | undefined;
|
12
|
-
/**
|
13
|
-
* Constructor for Query class.
|
14
|
-
*
|
15
|
-
* @param {string} method
|
16
|
-
* @param {AttributesTypes} attribute
|
17
|
-
* @param {QueryTypes} values
|
18
|
-
*/
|
19
|
-
constructor(method: string, attribute?: AttributesTypes, values?: QueryTypes);
|
20
|
-
/**
|
21
|
-
* Convert the query object to a JSON string.
|
22
|
-
*
|
23
|
-
* @returns {string}
|
24
|
-
*/
|
25
|
-
toString(): string;
|
26
|
-
/**
|
27
|
-
* Filter resources where attribute is equal to value.
|
28
|
-
*
|
29
|
-
* @param {string} attribute
|
30
|
-
* @param {QueryTypes} value
|
31
|
-
* @returns {string}
|
32
|
-
*/
|
33
|
-
static equal: (attribute: string, value: QueryTypes) => string;
|
34
|
-
/**
|
35
|
-
* Filter resources where attribute is not equal to value.
|
36
|
-
*
|
37
|
-
* @param {string} attribute
|
38
|
-
* @param {QueryTypes} value
|
39
|
-
* @returns {string}
|
40
|
-
*/
|
41
|
-
static notEqual: (attribute: string, value: QueryTypes) => string;
|
42
|
-
/**
|
43
|
-
* Filter resources where attribute is less than value.
|
44
|
-
*
|
45
|
-
* @param {string} attribute
|
46
|
-
* @param {QueryTypes} value
|
47
|
-
* @returns {string}
|
48
|
-
*/
|
49
|
-
static lessThan: (attribute: string, value: QueryTypes) => string;
|
50
|
-
/**
|
51
|
-
* Filter resources where attribute is less than or equal to value.
|
52
|
-
*
|
53
|
-
* @param {string} attribute
|
54
|
-
* @param {QueryTypes} value
|
55
|
-
* @returns {string}
|
56
|
-
*/
|
57
|
-
static lessThanEqual: (attribute: string, value: QueryTypes) => string;
|
58
|
-
/**
|
59
|
-
* Filter resources where attribute is greater than value.
|
60
|
-
*
|
61
|
-
* @param {string} attribute
|
62
|
-
* @param {QueryTypes} value
|
63
|
-
* @returns {string}
|
64
|
-
*/
|
65
|
-
static greaterThan: (attribute: string, value: QueryTypes) => string;
|
66
|
-
/**
|
67
|
-
* Filter resources where attribute is greater than or equal to value.
|
68
|
-
*
|
69
|
-
* @param {string} attribute
|
70
|
-
* @param {QueryTypes} value
|
71
|
-
* @returns {string}
|
72
|
-
*/
|
73
|
-
static greaterThanEqual: (attribute: string, value: QueryTypes) => string;
|
74
|
-
/**
|
75
|
-
* Filter resources where attribute is null.
|
76
|
-
*
|
77
|
-
* @param {string} attribute
|
78
|
-
* @returns {string}
|
79
|
-
*/
|
80
|
-
static isNull: (attribute: string) => string;
|
81
|
-
/**
|
82
|
-
* Filter resources where attribute is not null.
|
83
|
-
*
|
84
|
-
* @param {string} attribute
|
85
|
-
* @returns {string}
|
86
|
-
*/
|
87
|
-
static isNotNull: (attribute: string) => string;
|
88
|
-
/**
|
89
|
-
* Filter resources where attribute is between start and end (inclusive).
|
90
|
-
*
|
91
|
-
* @param {string} attribute
|
92
|
-
* @param {string | number} start
|
93
|
-
* @param {string | number} end
|
94
|
-
* @returns {string}
|
95
|
-
*/
|
96
|
-
static between: (attribute: string, start: string | number, end: string | number) => string;
|
97
|
-
/**
|
98
|
-
* Filter resources where attribute starts with value.
|
99
|
-
*
|
100
|
-
* @param {string} attribute
|
101
|
-
* @param {string} value
|
102
|
-
* @returns {string}
|
103
|
-
*/
|
104
|
-
static startsWith: (attribute: string, value: string) => string;
|
105
|
-
/**
|
106
|
-
* Filter resources where attribute ends with value.
|
107
|
-
*
|
108
|
-
* @param {string} attribute
|
109
|
-
* @param {string} value
|
110
|
-
* @returns {string}
|
111
|
-
*/
|
112
|
-
static endsWith: (attribute: string, value: string) => string;
|
113
|
-
/**
|
114
|
-
* Specify which attributes should be returned by the API call.
|
115
|
-
*
|
116
|
-
* @param {string[]} attributes
|
117
|
-
* @returns {string}
|
118
|
-
*/
|
119
|
-
static select: (attributes: string[]) => string;
|
120
|
-
/**
|
121
|
-
* Filter resources by searching attribute for value.
|
122
|
-
* A fulltext index on attribute is required for this query to work.
|
123
|
-
*
|
124
|
-
* @param {string} attribute
|
125
|
-
* @param {string} value
|
126
|
-
* @returns {string}
|
127
|
-
*/
|
128
|
-
static search: (attribute: string, value: string) => string;
|
129
|
-
/**
|
130
|
-
* Sort results by attribute descending.
|
131
|
-
*
|
132
|
-
* @param {string} attribute
|
133
|
-
* @returns {string}
|
134
|
-
*/
|
135
|
-
static orderDesc: (attribute: string) => string;
|
136
|
-
/**
|
137
|
-
* Sort results by attribute ascending.
|
138
|
-
*
|
139
|
-
* @param {string} attribute
|
140
|
-
* @returns {string}
|
141
|
-
*/
|
142
|
-
static orderAsc: (attribute: string) => string;
|
143
|
-
/**
|
144
|
-
* Return results after documentId.
|
145
|
-
*
|
146
|
-
* @param {string} documentId
|
147
|
-
* @returns {string}
|
148
|
-
*/
|
149
|
-
static cursorAfter: (documentId: string) => string;
|
150
|
-
/**
|
151
|
-
* Return results before documentId.
|
152
|
-
*
|
153
|
-
* @param {string} documentId
|
154
|
-
* @returns {string}
|
155
|
-
*/
|
156
|
-
static cursorBefore: (documentId: string) => string;
|
157
|
-
/**
|
158
|
-
* Return only limit results.
|
159
|
-
*
|
160
|
-
* @param {number} limit
|
161
|
-
* @returns {string}
|
162
|
-
*/
|
163
|
-
static limit: (limit: number) => string;
|
164
|
-
/**
|
165
|
-
* Filter resources by skipping the first offset results.
|
166
|
-
*
|
167
|
-
* @param {number} offset
|
168
|
-
* @returns {string}
|
169
|
-
*/
|
170
|
-
static offset: (offset: number) => string;
|
171
|
-
/**
|
172
|
-
* Filter resources where attribute contains the specified value.
|
173
|
-
*
|
174
|
-
* @param {string} attribute
|
175
|
-
* @param {string | string[]} value
|
176
|
-
* @returns {string}
|
177
|
-
*/
|
178
|
-
static contains: (attribute: string, value: string | string[]) => string;
|
179
|
-
/**
|
180
|
-
* Combine multiple queries using logical OR operator.
|
181
|
-
*
|
182
|
-
* @param {string[]} queries
|
183
|
-
* @returns {string}
|
184
|
-
*/
|
185
|
-
static or: (queries: string[]) => string;
|
186
|
-
/**
|
187
|
-
* Combine multiple queries using logical AND operator.
|
188
|
-
*
|
189
|
-
* @param {string[]} queries
|
190
|
-
* @returns {string}
|
191
|
-
*/
|
192
|
-
static and: (queries: string[]) => string;
|
193
|
-
}
|
194
|
-
export {};
|
package/dist/types/role.d.ts
DELETED
@@ -1,70 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Helper class to generate role strings for `Permission`.
|
3
|
-
*/
|
4
|
-
export declare class Role {
|
5
|
-
/**
|
6
|
-
* Grants access to anyone.
|
7
|
-
*
|
8
|
-
* This includes authenticated and unauthenticated users.
|
9
|
-
*
|
10
|
-
* @returns {string}
|
11
|
-
*/
|
12
|
-
static any(): string;
|
13
|
-
/**
|
14
|
-
* Grants access to a specific user by user ID.
|
15
|
-
*
|
16
|
-
* You can optionally pass verified or unverified for
|
17
|
-
* `status` to target specific types of users.
|
18
|
-
*
|
19
|
-
* @param {string} id
|
20
|
-
* @param {string} status
|
21
|
-
* @returns {string}
|
22
|
-
*/
|
23
|
-
static user(id: string, status?: string): string;
|
24
|
-
/**
|
25
|
-
* Grants access to any authenticated or anonymous user.
|
26
|
-
*
|
27
|
-
* You can optionally pass verified or unverified for
|
28
|
-
* `status` to target specific types of users.
|
29
|
-
*
|
30
|
-
* @param {string} status
|
31
|
-
* @returns {string}
|
32
|
-
*/
|
33
|
-
static users(status?: string): string;
|
34
|
-
/**
|
35
|
-
* Grants access to any guest user without a session.
|
36
|
-
*
|
37
|
-
* Authenticated users don't have access to this role.
|
38
|
-
*
|
39
|
-
* @returns {string}
|
40
|
-
*/
|
41
|
-
static guests(): string;
|
42
|
-
/**
|
43
|
-
* Grants access to a team by team ID.
|
44
|
-
*
|
45
|
-
* You can optionally pass a role for `role` to target
|
46
|
-
* team members with the specified role.
|
47
|
-
*
|
48
|
-
* @param {string} id
|
49
|
-
* @param {string} role
|
50
|
-
* @returns {string}
|
51
|
-
*/
|
52
|
-
static team(id: string, role?: string): string;
|
53
|
-
/**
|
54
|
-
* Grants access to a specific member of a team.
|
55
|
-
*
|
56
|
-
* When the member is removed from the team, they will
|
57
|
-
* no longer have access.
|
58
|
-
*
|
59
|
-
* @param {string} id
|
60
|
-
* @returns {string}
|
61
|
-
*/
|
62
|
-
static member(id: string): string;
|
63
|
-
/**
|
64
|
-
* Grants access to a user with the specified label.
|
65
|
-
*
|
66
|
-
* @param {string} name
|
67
|
-
* @returns {string}
|
68
|
-
*/
|
69
|
-
static label(name: string): string;
|
70
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { Client, Payload } from "./client";
|
2
|
-
export declare abstract class ServiceClient {
|
3
|
-
client: Client;
|
4
|
-
constructor(client: Client);
|
5
|
-
protected abstract getServiceName(): string;
|
6
|
-
protected actionCall<T>(actionName: string, payload: Payload): Promise<T>;
|
7
|
-
}
|
package/dist/types/service.d.ts
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
import { Client } from './client';
|
2
|
-
import type { Payload } from './client';
|
3
|
-
export declare class Service {
|
4
|
-
/**
|
5
|
-
* The size for chunked uploads in bytes.
|
6
|
-
*/
|
7
|
-
static CHUNK_SIZE: number;
|
8
|
-
client: Client;
|
9
|
-
constructor(client: Client);
|
10
|
-
static flatten(data: Payload, prefix?: string): Payload;
|
11
|
-
}
|