@appconda/nextjs 1.0.34 → 1.0.36

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.
Files changed (162) hide show
  1. package/dist/decorators/Cache.js +1 -1
  2. package/dist/decorators/Invalidate.js +1 -1
  3. package/dist/{Cache → lib/Cache}/Adapters/Filesystem.js +3 -3
  4. package/dist/{Cache → lib/Cache}/Adapters/Memory.js +3 -3
  5. package/dist/{Cache → lib/Cache}/Adapters/None.js +3 -3
  6. package/dist/{Cache → lib/Cache}/Adapters/Sharding.js +3 -3
  7. package/dist/{Cache → lib/Cache}/index.d.ts +0 -1
  8. package/dist/{Cache → lib/Cache}/index.js +0 -1
  9. package/{types → dist/lib}/Services.d.ts +1 -1
  10. package/dist/lib/Services.js +13 -0
  11. package/dist/modules/waitlist/action.d.ts +4 -0
  12. package/dist/modules/waitlist/action.js +11 -0
  13. package/dist/modules/waitlist/service.d.ts +1 -0
  14. package/dist/modules/waitlist/service.js +4 -0
  15. package/dist/services/node.js +16 -0
  16. package/package.json +2 -2
  17. package/publish.sh +1 -1
  18. package/src/decorators/Cache.ts +103 -0
  19. package/src/decorators/CacheKey.ts +9 -0
  20. package/src/decorators/Invalidate.ts +69 -0
  21. package/{types/Cache/Adapter.d.ts → src/lib/Cache/Adapter.ts} +3 -2
  22. package/src/lib/Cache/Adapters/Filesystem.ts +126 -0
  23. package/src/lib/Cache/Adapters/Memory.ts +58 -0
  24. package/src/lib/Cache/Adapters/None.ts +36 -0
  25. package/src/lib/Cache/Adapters/Sharding.ts +88 -0
  26. package/src/lib/Cache/Cache.ts +75 -0
  27. package/{types/Cache/index.d.ts → src/lib/Cache/index.ts} +1 -2
  28. package/src/lib/Services.ts +25 -0
  29. package/src/modules/waitlist/action.ts +12 -1
  30. package/src/modules/waitlist/service.ts +5 -0
  31. package/src/services/node.ts +2 -0
  32. package/dist/Cache/Adapters/Filesystem.d.ts +0 -16
  33. package/dist/Cache/Adapters/Memory.d.ts +0 -18
  34. package/dist/Cache/Adapters/None.d.ts +0 -12
  35. package/dist/Cache/Adapters/Redis.d.ts +0 -14
  36. package/dist/Cache/Adapters/Redis.js +0 -79
  37. package/dist/Services.d.ts +0 -7
  38. package/dist/Services.js +0 -29
  39. package/dist/services/waitlist.d.ts +0 -5
  40. package/dist/services/waitlist.js +0 -11
  41. package/types/Cache/Adapters/Redis.d.ts +0 -14
  42. package/types/Cache/Adapters/Sharding.d.ts +0 -17
  43. package/types/Cache/Cache.d.ts +0 -16
  44. package/types/actions/actionClient.d.ts +0 -4
  45. package/types/actions/index.d.ts +0 -1
  46. package/types/actions/nodes.d.ts +0 -4
  47. package/types/client.d.ts +0 -141
  48. package/types/decorators/Cache.d.ts +0 -1
  49. package/types/decorators/CacheKey.d.ts +0 -1
  50. package/types/decorators/Invalidate.d.ts +0 -1
  51. package/types/enums/api-service.d.ts +0 -13
  52. package/types/enums/api.d.ts +0 -5
  53. package/types/enums/auth-method.d.ts +0 -9
  54. package/types/enums/authentication-factor.d.ts +0 -6
  55. package/types/enums/authenticator-type.d.ts +0 -3
  56. package/types/enums/browser.d.ts +0 -16
  57. package/types/enums/compression.d.ts +0 -5
  58. package/types/enums/credit-card.d.ts +0 -18
  59. package/types/enums/database-usage-range.d.ts +0 -5
  60. package/types/enums/email-template-locale.d.ts +0 -133
  61. package/types/enums/email-template-type.d.ts +0 -9
  62. package/types/enums/entities/EntityLimitType.d.ts +0 -4
  63. package/types/enums/entities/PropertyAttributeName.d.ts +0 -27
  64. package/types/enums/entities/PropertyCondition.d.ts +0 -7
  65. package/types/enums/entities/PropertyType.d.ts +0 -12
  66. package/types/enums/entities/PropertyValueType.d.ts +0 -6
  67. package/types/enums/entities/RowAccess.d.ts +0 -2
  68. package/types/enums/entities/ViewFilterCondition.d.ts +0 -12
  69. package/types/enums/execution-method.d.ts +0 -8
  70. package/types/enums/flag.d.ts +0 -197
  71. package/types/enums/function-usage-range.d.ts +0 -5
  72. package/types/enums/image-format.d.ts +0 -7
  73. package/types/enums/image-gravity.d.ts +0 -11
  74. package/types/enums/index-type.d.ts +0 -5
  75. package/types/enums/messaging-provider-type.d.ts +0 -5
  76. package/types/enums/name.d.ts +0 -14
  77. package/types/enums/o-auth-provider copy.d.ts +0 -41
  78. package/types/enums/o-auth-provider.d.ts +0 -41
  79. package/types/enums/password-hash.d.ts +0 -13
  80. package/types/enums/platform-type.d.ts +0 -17
  81. package/types/enums/project-usage-range.d.ts +0 -4
  82. package/types/enums/region.d.ts +0 -4
  83. package/types/enums/relation-mutate.d.ts +0 -5
  84. package/types/enums/relationship-type.d.ts +0 -6
  85. package/types/enums/resource-type.d.ts +0 -4
  86. package/types/enums/runtime.d.ts +0 -48
  87. package/types/enums/s-m-t-p-secure.d.ts +0 -3
  88. package/types/enums/shared/ApplicationLayout.d.ts +0 -4
  89. package/types/enums/shared/Colors.d.ts +0 -24
  90. package/types/enums/shared/InputType.d.ts +0 -6
  91. package/types/enums/shared/Periodicity.d.ts +0 -7
  92. package/types/enums/shared/SvgIcon.d.ts +0 -37
  93. package/types/enums/shared/Theme.d.ts +0 -4
  94. package/types/enums/sms-template-locale.d.ts +0 -133
  95. package/types/enums/sms-template-type.d.ts +0 -6
  96. package/types/enums/smtp-encryption.d.ts +0 -5
  97. package/types/enums/storage-usage-range.d.ts +0 -5
  98. package/types/enums/subscriptions/PricingModel.d.ts +0 -11
  99. package/types/enums/subscriptions/SubscriptionBillingPeriod.d.ts +0 -10
  100. package/types/enums/subscriptions/SubscriptionFeatureLimitType.d.ts +0 -10
  101. package/types/enums/subscriptions/SubscriptionPriceType.d.ts +0 -7
  102. package/types/enums/tenants/LinkedAccountStatus.d.ts +0 -5
  103. package/types/enums/tenants/TenantUserJoined.d.ts +0 -6
  104. package/types/enums/tenants/TenantUserStatus.d.ts +0 -6
  105. package/types/enums/tenants/TenantUserType.d.ts +0 -5
  106. package/types/enums/user-usage-range.d.ts +0 -5
  107. package/types/getAppcondaClient.d.ts +0 -2
  108. package/types/getSDKForCurrentUser.d.ts +0 -33
  109. package/types/id.d.ts +0 -20
  110. package/types/index.d.ts +0 -39
  111. package/types/inputFile.d.ts +0 -6
  112. package/types/lib/Registry/Registry.d.ts +0 -38
  113. package/types/lib/Registry/index.d.ts +0 -1
  114. package/types/models.d.ts +0 -3272
  115. package/types/permission.d.ts +0 -43
  116. package/types/query.d.ts +0 -194
  117. package/types/role.d.ts +0 -70
  118. package/types/service-client.d.ts +0 -7
  119. package/types/service.d.ts +0 -11
  120. package/types/services/account.d.ts +0 -530
  121. package/types/services/acl.d.ts +0 -28
  122. package/types/services/applets.d.ts +0 -9
  123. package/types/services/assistant.d.ts +0 -14
  124. package/types/services/avatars.d.ts +0 -115
  125. package/types/services/community.d.ts +0 -19
  126. package/types/services/configuration.d.ts +0 -5
  127. package/types/services/console.d.ts +0 -15
  128. package/types/services/databases.d.ts +0 -613
  129. package/types/services/functions.d.ts +0 -319
  130. package/types/services/graphql.d.ts +0 -25
  131. package/types/services/health.d.ts +0 -231
  132. package/types/services/locale.d.ts +0 -80
  133. package/types/services/messaging.d.ts +0 -685
  134. package/types/services/migrations.d.ts +0 -185
  135. package/types/services/node.d.ts +0 -5
  136. package/types/services/permissions.d.ts +0 -20
  137. package/types/services/pricing.d.ts +0 -15
  138. package/types/services/project.d.ts +0 -70
  139. package/types/services/projects.d.ts +0 -542
  140. package/types/services/proxy.d.ts +0 -59
  141. package/types/services/roles.d.ts +0 -19
  142. package/types/services/schema.d.ts +0 -17
  143. package/types/services/storage.d.ts +0 -189
  144. package/types/services/subscription-product.d.ts +0 -77
  145. package/types/services/subscription.d.ts +0 -15
  146. package/types/services/teams.d.ts +0 -167
  147. package/types/services/tenant-subscription.d.ts +0 -12
  148. package/types/services/tenant.d.ts +0 -32
  149. package/types/services/users.d.ts +0 -499
  150. package/types/services/vcs.d.ts +0 -108
  151. package/types/services/waitlist.d.ts +0 -5
  152. package/dist/{Cache → lib/Cache}/Adapter.d.ts +0 -0
  153. package/dist/{Cache → lib/Cache}/Adapter.js +0 -0
  154. package/{types → dist/lib}/Cache/Adapters/Filesystem.d.ts +1 -1
  155. package/{types → dist/lib}/Cache/Adapters/Memory.d.ts +1 -1
  156. package/{types → dist/lib}/Cache/Adapters/None.d.ts +1 -1
  157. package/dist/{Cache → lib/Cache}/Adapters/Sharding.d.ts +1 -1
  158. /package/dist/{Cache → lib/Cache}/Cache.d.ts +0 -0
  159. /package/dist/{Cache → lib/Cache}/Cache.js +0 -0
  160. /package/dist/{Cache → lib/Cache}/test.d.ts +0 -0
  161. /package/dist/{Cache → lib/Cache}/test.js +0 -0
  162. /package/{types/Cache/test.d.ts → src/lib/Cache/test.ts} +0 -0
@@ -1,17 +0,0 @@
1
- export declare enum PlatformType {
2
- Web = "web",
3
- Flutterweb = "flutter-web",
4
- Flutterios = "flutter-ios",
5
- Flutterandroid = "flutter-android",
6
- Flutterlinux = "flutter-linux",
7
- Fluttermacos = "flutter-macos",
8
- Flutterwindows = "flutter-windows",
9
- Appleios = "apple-ios",
10
- Applemacos = "apple-macos",
11
- Applewatchos = "apple-watchos",
12
- Appletvos = "apple-tvos",
13
- Android = "android",
14
- Unity = "unity",
15
- Reactnativeios = "react-native-ios",
16
- Reactnativeandroid = "react-native-android"
17
- }
@@ -1,4 +0,0 @@
1
- export declare enum ProjectUsageRange {
2
- OneHour = "1h",
3
- OneDay = "1d"
4
- }
@@ -1,4 +0,0 @@
1
- export declare enum Region {
2
- Default = "default",
3
- Fra = "fra"
4
- }
@@ -1,5 +0,0 @@
1
- export declare enum RelationMutate {
2
- Cascade = "cascade",
3
- Restrict = "restrict",
4
- SetNull = "setNull"
5
- }
@@ -1,6 +0,0 @@
1
- export declare enum RelationshipType {
2
- OneToOne = "oneToOne",
3
- ManyToOne = "manyToOne",
4
- ManyToMany = "manyToMany",
5
- OneToMany = "oneToMany"
6
- }
@@ -1,4 +0,0 @@
1
- export declare enum ResourceType {
2
- Api = "api",
3
- Function = "function"
4
- }
@@ -1,48 +0,0 @@
1
- export declare enum Runtime {
2
- Node145 = "node-14.5",
3
- Node160 = "node-16.0",
4
- Node180 = "node-18.0",
5
- Node190 = "node-19.0",
6
- Node200 = "node-20.0",
7
- Node210 = "node-21.0",
8
- Php80 = "php-8.0",
9
- Php81 = "php-8.1",
10
- Php82 = "php-8.2",
11
- Php83 = "php-8.3",
12
- Ruby30 = "ruby-3.0",
13
- Ruby31 = "ruby-3.1",
14
- Ruby32 = "ruby-3.2",
15
- Ruby33 = "ruby-3.3",
16
- Python38 = "python-3.8",
17
- Python39 = "python-3.9",
18
- Python310 = "python-3.10",
19
- Python311 = "python-3.11",
20
- Python312 = "python-3.12",
21
- Pythonml311 = "python-ml-3.11",
22
- Deno140 = "deno-1.40",
23
- Dart215 = "dart-2.15",
24
- Dart216 = "dart-2.16",
25
- Dart217 = "dart-2.17",
26
- Dart218 = "dart-2.18",
27
- Dart30 = "dart-3.0",
28
- Dart31 = "dart-3.1",
29
- Dart33 = "dart-3.3",
30
- Dotnet31 = "dotnet-3.1",
31
- Dotnet60 = "dotnet-6.0",
32
- Dotnet70 = "dotnet-7.0",
33
- Java80 = "java-8.0",
34
- Java110 = "java-11.0",
35
- Java170 = "java-17.0",
36
- Java180 = "java-18.0",
37
- Java210 = "java-21.0",
38
- Swift55 = "swift-5.5",
39
- Swift58 = "swift-5.8",
40
- Swift59 = "swift-5.9",
41
- Kotlin16 = "kotlin-1.6",
42
- Kotlin18 = "kotlin-1.8",
43
- Kotlin19 = "kotlin-1.9",
44
- Cpp17 = "cpp-17",
45
- Cpp20 = "cpp-20",
46
- Bun10 = "bun-1.0",
47
- Go123 = "go-1.23"
48
- }
@@ -1,3 +0,0 @@
1
- export declare enum SMTPSecure {
2
- Tls = "tls"
3
- }
@@ -1,4 +0,0 @@
1
- export declare enum ApplicationLayout {
2
- SIDEBAR = 0,
3
- STACKED = 1
4
- }
@@ -1,24 +0,0 @@
1
- export declare enum Colors {
2
- UNDEFINED = 0,
3
- SLATE = 1,
4
- GRAY = 2,
5
- NEUTRAL = 3,
6
- STONE = 4,
7
- RED = 5,
8
- ORANGE = 6,
9
- AMBER = 7,
10
- YELLOW = 8,
11
- LIME = 9,
12
- GREEN = 10,
13
- EMERALD = 11,
14
- TEAL = 12,
15
- CYAN = 13,
16
- SKY = 14,
17
- BLUE = 15,
18
- INDIGO = 16,
19
- VIOLET = 17,
20
- PURPLE = 18,
21
- FUCHSIA = 19,
22
- PINK = 20,
23
- ROSE = 21
24
- }
@@ -1,6 +0,0 @@
1
- export declare enum InputType {
2
- TEXT = 0,
3
- NUMBER = 1,
4
- SELECT = 2,
5
- DECIMAL = 3
6
- }
@@ -1,7 +0,0 @@
1
- export declare enum Periodicity {
2
- ONCE = 0,
3
- MONTHLY = 1,
4
- BIMONTHLY = 2,
5
- QUARTERLY = 3,
6
- YEARLY = 4
7
- }
@@ -1,37 +0,0 @@
1
- export declare enum SvgIcon {
2
- ADMIN = 0,
3
- TENANTS = 1,
4
- USERS = 2,
5
- ROLES = 3,
6
- PRICING = 4,
7
- EMAILS = 5,
8
- NAVIGATION = 6,
9
- COMPONENTS = 7,
10
- MEMBERS = 8,
11
- PROFILE = 9,
12
- APP = 10,
13
- DASHBOARD = 11,
14
- SETTINGS = 12,
15
- SETUP = 13,
16
- LOGS = 14,
17
- EVENTS = 15,
18
- BLOG = 16,
19
- ENTITIES = 17,
20
- KEYS = 18,
21
- DOCS = 19,
22
- LINKS = 20,
23
- PROVIDERS = 21,
24
- CLIENTS = 22,
25
- CONTRACTS = 23,
26
- EMPLOYEES = 24,
27
- JOKES = 25,
28
- ANALYTICS = 26,
29
- AFFILIATES_AND_REFERRALS = 27,
30
- HELP_DESK = 28,
31
- ONBOARDING = 29,
32
- PAGES = 30,
33
- FEATURE_FLAGS = 31,
34
- PROMPT_BUILDER = 32,
35
- KNOWLEDGE_BASE = 33,
36
- WORKFLOWS = 34
37
- }
@@ -1,4 +0,0 @@
1
- export declare enum Theme {
2
- LIGHT = 0,
3
- DARK = 1
4
- }
@@ -1,133 +0,0 @@
1
- export declare enum SmsTemplateLocale {
2
- Af = "af",
3
- Arae = "ar-ae",
4
- Arbh = "ar-bh",
5
- Ardz = "ar-dz",
6
- Areg = "ar-eg",
7
- Ariq = "ar-iq",
8
- Arjo = "ar-jo",
9
- Arkw = "ar-kw",
10
- Arlb = "ar-lb",
11
- Arly = "ar-ly",
12
- Arma = "ar-ma",
13
- Arom = "ar-om",
14
- Arqa = "ar-qa",
15
- Arsa = "ar-sa",
16
- Arsy = "ar-sy",
17
- Artn = "ar-tn",
18
- Arye = "ar-ye",
19
- As = "as",
20
- Az = "az",
21
- Be = "be",
22
- Bg = "bg",
23
- Bh = "bh",
24
- Bn = "bn",
25
- Bs = "bs",
26
- Ca = "ca",
27
- Cs = "cs",
28
- Cy = "cy",
29
- Da = "da",
30
- De = "de",
31
- Deat = "de-at",
32
- Dech = "de-ch",
33
- Deli = "de-li",
34
- Delu = "de-lu",
35
- El = "el",
36
- En = "en",
37
- Enau = "en-au",
38
- Enbz = "en-bz",
39
- Enca = "en-ca",
40
- Engb = "en-gb",
41
- Enie = "en-ie",
42
- Enjm = "en-jm",
43
- Ennz = "en-nz",
44
- Entt = "en-tt",
45
- Enus = "en-us",
46
- Enza = "en-za",
47
- Eo = "eo",
48
- Es = "es",
49
- Esar = "es-ar",
50
- Esbo = "es-bo",
51
- Escl = "es-cl",
52
- Esco = "es-co",
53
- Escr = "es-cr",
54
- Esdo = "es-do",
55
- Esec = "es-ec",
56
- Esgt = "es-gt",
57
- Eshn = "es-hn",
58
- Esmx = "es-mx",
59
- Esni = "es-ni",
60
- Espa = "es-pa",
61
- Espe = "es-pe",
62
- Espr = "es-pr",
63
- Espy = "es-py",
64
- Essv = "es-sv",
65
- Esuy = "es-uy",
66
- Esve = "es-ve",
67
- Et = "et",
68
- Eu = "eu",
69
- Fa = "fa",
70
- Fi = "fi",
71
- Fo = "fo",
72
- Fr = "fr",
73
- Frbe = "fr-be",
74
- Frca = "fr-ca",
75
- Frch = "fr-ch",
76
- Frlu = "fr-lu",
77
- Ga = "ga",
78
- Gd = "gd",
79
- He = "he",
80
- Hi = "hi",
81
- Hr = "hr",
82
- Hu = "hu",
83
- Id = "id",
84
- Is = "is",
85
- It = "it",
86
- Itch = "it-ch",
87
- Ja = "ja",
88
- Ji = "ji",
89
- Ko = "ko",
90
- Ku = "ku",
91
- Lt = "lt",
92
- Lv = "lv",
93
- Mk = "mk",
94
- Ml = "ml",
95
- Ms = "ms",
96
- Mt = "mt",
97
- Nb = "nb",
98
- Ne = "ne",
99
- Nl = "nl",
100
- Nlbe = "nl-be",
101
- Nn = "nn",
102
- No = "no",
103
- Pa = "pa",
104
- Pl = "pl",
105
- Pt = "pt",
106
- Ptbr = "pt-br",
107
- Rm = "rm",
108
- Ro = "ro",
109
- Romd = "ro-md",
110
- Ru = "ru",
111
- Rumd = "ru-md",
112
- Sb = "sb",
113
- Sk = "sk",
114
- Sl = "sl",
115
- Sq = "sq",
116
- Sr = "sr",
117
- Sv = "sv",
118
- Svfi = "sv-fi",
119
- Th = "th",
120
- Tn = "tn",
121
- Tr = "tr",
122
- Ts = "ts",
123
- Ua = "ua",
124
- Ur = "ur",
125
- Ve = "ve",
126
- Vi = "vi",
127
- Xh = "xh",
128
- Zhcn = "zh-cn",
129
- Zhhk = "zh-hk",
130
- Zhsg = "zh-sg",
131
- Zhtw = "zh-tw",
132
- Zu = "zu"
133
- }
@@ -1,6 +0,0 @@
1
- export declare enum SmsTemplateType {
2
- Verification = "verification",
3
- Login = "login",
4
- Invitation = "invitation",
5
- Mfachallenge = "mfachallenge"
6
- }
@@ -1,5 +0,0 @@
1
- export declare enum SmtpEncryption {
2
- None = "none",
3
- Ssl = "ssl",
4
- Tls = "tls"
5
- }
@@ -1,5 +0,0 @@
1
- export declare enum StorageUsageRange {
2
- TwentyFourHours = "24h",
3
- ThirtyDays = "30d",
4
- NinetyDays = "90d"
5
- }
@@ -1,11 +0,0 @@
1
- import { z } from "zod";
2
- export declare enum PricingModel {
3
- FLAT_RATE = 0,
4
- PER_SEAT = 1,
5
- USAGE_BASED = 2,
6
- FLAT_RATE_USAGE_BASED = 3,
7
- ONCE = 4,
8
- ALL = 5
9
- }
10
- export declare const ZPricingModel: z.ZodNativeEnum<typeof PricingModel>;
11
- export type TPricingModel = z.infer<typeof ZPricingModel>;
@@ -1,10 +0,0 @@
1
- import { z } from "zod";
2
- export declare enum SubscriptionBillingPeriod {
3
- ONCE = 0,
4
- DAILY = 1,
5
- WEEKLY = 2,
6
- MONTHLY = 3,
7
- YEARLY = 4
8
- }
9
- export declare const ZSubscriptionBillingPeriod: z.ZodNativeEnum<typeof SubscriptionBillingPeriod>;
10
- export type TSubscriptionBillingPeriod = z.infer<typeof ZSubscriptionBillingPeriod>;
@@ -1,10 +0,0 @@
1
- import { z } from "zod";
2
- export declare enum SubscriptionFeatureLimitType {
3
- NOT_INCLUDED = 0,
4
- INCLUDED = 1,
5
- MONTHLY = 2,
6
- MAX = 3,
7
- UNLIMITED = 4
8
- }
9
- export declare const ZSubscriptionFeatureLimitType: z.ZodNativeEnum<typeof SubscriptionFeatureLimitType>;
10
- export type TSubscriptionFeatureLimitType = z.infer<typeof ZSubscriptionFeatureLimitType>;
@@ -1,7 +0,0 @@
1
- import { z } from "zod";
2
- export declare enum SubscriptionPriceType {
3
- ONE_TIME = 0,
4
- RECURRING = 1
5
- }
6
- export declare const ZSubscriptionPriceType: z.ZodNativeEnum<typeof SubscriptionPriceType>;
7
- export type TSubscriptionPriceType = z.infer<typeof ZSubscriptionPriceType>;
@@ -1,5 +0,0 @@
1
- export declare enum LinkedAccountStatus {
2
- PENDING = 0,
3
- LINKED = 1,
4
- REJECTED = 2
5
- }
@@ -1,6 +0,0 @@
1
- export declare enum TenantUserJoined {
2
- CREATOR = 0,
3
- JOINED_BY_INVITATION = 1,
4
- JOINED_BY_LINK = 2,
5
- JOINED_BY_PUBLIC_URL = 3
6
- }
@@ -1,6 +0,0 @@
1
- export declare enum TenantUserStatus {
2
- PENDING_INVITATION = 0,
3
- PENDING_ACCEPTANCE = 1,
4
- ACTIVE = 2,
5
- INACTIVE = 3
6
- }
@@ -1,5 +0,0 @@
1
- export declare enum TenantUserType {
2
- OWNER = 0,
3
- ADMIN = 1,
4
- MEMBER = 2
5
- }
@@ -1,5 +0,0 @@
1
- export declare enum UserUsageRange {
2
- TwentyFourHours = "24h",
3
- ThirtyDays = "30d",
4
- NinetyDays = "90d"
5
- }
@@ -1,2 +0,0 @@
1
- import { Client } from "./client";
2
- export declare function getAppcondaClient(): Promise<Client>;
@@ -1,33 +0,0 @@
1
- import { Account } from "./services/account";
2
- import { Community } from "./services/community";
3
- import { Configuration } from "./services/configuration";
4
- import { Databases } from "./services/databases";
5
- import { Pricing } from "./services/pricing";
6
- import { Projects } from "./services/projects";
7
- import { Roles } from "./services/roles";
8
- import { Schemas } from "./services/schema";
9
- import { Subscription } from "./services/subscription";
10
- import { Teams } from "./services/teams";
11
- import { Tenant } from "./services/tenant";
12
- import { TenantSubscription } from "./services/tenant-subscription";
13
- import { Users } from "./services/users";
14
- import { Node } from "./services/node";
15
- import { Permissions } from "./services/permissions";
16
- export declare function getSDKForCurrentUser(): Promise<{
17
- currentUser: import("./models").Models.User<import("./models").Models.Preferences>;
18
- accounts: Account;
19
- databases: Databases;
20
- projects: Projects;
21
- users: Users;
22
- teams: Teams;
23
- tenants: Tenant;
24
- roles: Roles;
25
- permissions: Permissions;
26
- schemas: Schemas;
27
- community: Community;
28
- tenantSubscriptions: TenantSubscription;
29
- subscription: Subscription;
30
- pricing: Pricing;
31
- configuration: Configuration;
32
- node: Node;
33
- }>;
package/types/id.d.ts DELETED
@@ -1,20 +0,0 @@
1
- /**
2
- * Helper class to generate ID strings for resources.
3
- */
4
- export declare class ID {
5
- #private;
6
- /**
7
- * Uses the provided ID as the ID for the resource.
8
- *
9
- * @param {string} id
10
- * @returns {string}
11
- */
12
- static custom(id: string): string;
13
- /**
14
- * Have Appconda generate a unique ID for you.
15
- *
16
- * @param {number} padding. Default is 7.
17
- * @returns {string}
18
- */
19
- static unique(padding?: number): string;
20
- }
package/types/index.d.ts DELETED
@@ -1,39 +0,0 @@
1
- export { Client, Query, AppcondaException } from './client';
2
- export { Account } from './services/account';
3
- export { Avatars } from './services/avatars';
4
- export { Databases } from './services/databases';
5
- export { Applets } from './services/applets';
6
- export { Functions } from './services/functions';
7
- export { Graphql } from './services/graphql';
8
- export { Health } from './services/health';
9
- export { Locale } from './services/locale';
10
- export { Messaging } from './services/messaging';
11
- export { Storage } from './services/storage';
12
- export { Teams } from './services/teams';
13
- export { Users } from './services/users';
14
- export { Waitlist } from './services/waitlist';
15
- export type { Models, Payload, UploadProgress } from './client';
16
- export type { QueryTypes, QueryTypesList } from './query';
17
- export { Permission } from './permission';
18
- export { Role } from './role';
19
- export { ID } from './id';
20
- export { AuthenticatorType } from './enums/authenticator-type';
21
- export { AuthenticationFactor } from './enums/authentication-factor';
22
- export { OAuthProvider } from './enums/o-auth-provider';
23
- export { Browser } from './enums/browser';
24
- export { CreditCard } from './enums/credit-card';
25
- export { Flag } from './enums/flag';
26
- export { RelationshipType } from './enums/relationship-type';
27
- export { RelationMutate } from './enums/relation-mutate';
28
- export { IndexType } from './enums/index-type';
29
- export { Runtime } from './enums/runtime';
30
- export { ExecutionMethod } from './enums/execution-method';
31
- export { Name } from './enums/name';
32
- export { SmtpEncryption } from './enums/smtp-encryption';
33
- export { Compression } from './enums/compression';
34
- export { ImageGravity } from './enums/image-gravity';
35
- export { ImageFormat } from './enums/image-format';
36
- export { PasswordHash } from './enums/password-hash';
37
- export { MessagingProviderType } from './enums/messaging-provider-type';
38
- export { getSDKForCurrentUser } from './getSDKForCurrentUser';
39
- export * from './actions';
@@ -1,6 +0,0 @@
1
- import type { BinaryLike } from "crypto";
2
- export declare class InputFile {
3
- static fromBuffer(parts: Blob | BinaryLike, name: string): File;
4
- static fromPath(path: string, name: string): File;
5
- static fromPlainText(content: string, name: string): File;
6
- }
@@ -1,38 +0,0 @@
1
- export declare class Registry {
2
- /**
3
- * List of all callbacks
4
- */
5
- protected callbacks: {
6
- [key: string]: () => any;
7
- };
8
- /**
9
- * List of all fresh resources
10
- */
11
- protected fresh: {
12
- [key: string]: boolean;
13
- };
14
- /**
15
- * List of all connections
16
- */
17
- protected registry: {
18
- [key: string]: {
19
- [key: string]: any;
20
- };
21
- };
22
- /**
23
- * Current context
24
- */
25
- protected _context: string;
26
- /**
27
- * Set a new connection callback
28
- */
29
- set(name: string, callback: () => any, fresh?: boolean): this;
30
- /**
31
- * If connection has been created returns it, otherwise create and then return it
32
- */
33
- get(name: string, fresh?: boolean): any;
34
- /**
35
- * Set the current context
36
- */
37
- context(name: string): this;
38
- }
@@ -1 +0,0 @@
1
- export * from './Registry';