Skip to content

Commit 8cf71dc

Browse files
feat: release 1.4.x
1 parent d15091c commit 8cf71dc

File tree

2 files changed

+0
-173
lines changed

2 files changed

+0
-173
lines changed

index.d.ts

Lines changed: 0 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -287,19 +287,6 @@ declare module "node-appwrite" {
287287
variables: Variable[];
288288
}
289289
/**
290-
* Rule List
291-
*/
292-
export type ProxyRuleList = {
293-
/**
294-
* Total number of rules documents that matched your query.
295-
*/
296-
total: number;
297-
/**
298-
* List of rules.
299-
*/
300-
rules: ProxyRule[];
301-
}
302-
/**
303290
* Locale codes list
304291
*/
305292
export type LocaleCodeList = {
@@ -2009,47 +1996,6 @@ declare module "node-appwrite" {
20091996
*/
20101997
value: string;
20111998
}
2012-
/**
2013-
* Rule
2014-
*/
2015-
export type ProxyRule = {
2016-
/**
2017-
* Rule ID.
2018-
*/
2019-
$id: string;
2020-
/**
2021-
* Rule creation date in ISO 8601 format.
2022-
*/
2023-
$createdAt: string;
2024-
/**
2025-
* Rule update date in ISO 8601 format.
2026-
*/
2027-
$updatedAt: string;
2028-
/**
2029-
* Domain name.
2030-
*/
2031-
domain: string;
2032-
/**
2033-
* Action definition for the rule. Possible values are "api", "function", or "redirect"
2034-
*/
2035-
resourceType: string;
2036-
/**
2037-
* ID of resource for the action type. If resourceType is "api" or "url", it is empty. If resourceType is "function", it is ID of the function.
2038-
*/
2039-
resourceId: string;
2040-
/**
2041-
* Domain verification status. Possible values are "created", "verifying", "verified" and "unverified"
2042-
*/
2043-
status: string;
2044-
/**
2045-
* Certificate generation logs. This will return an empty string if generation did not run, or succeeded.
2046-
*/
2047-
logs: string;
2048-
/**
2049-
* Certificate auto-renewal date in ISO 8601 format.
2050-
*/
2051-
renewAt: string;
2052-
}
20531999
}
20542000
export class Client {
20552001
/**
@@ -3773,121 +3719,6 @@ declare module "node-appwrite" {
37733719
*/
37743720
listLanguages(): Promise<Models.LanguageList>;
37753721
}
3776-
export class Project extends Service {
3777-
constructor(client: Client);
3778-
3779-
/**
3780-
* List Variables
3781-
*
3782-
* Get a list of all project variables. These variables will be accessible in
3783-
* all Appwrite Functions at runtime.
3784-
*
3785-
* @throws {AppwriteException}
3786-
* @returns {Promise}
3787-
*/
3788-
listVariables(): Promise<Models.VariableList>;
3789-
/**
3790-
* Create Variable
3791-
*
3792-
* Create a new project variable. This variable will be accessible in all
3793-
* Appwrite Functions at runtime.
3794-
*
3795-
* @param {string} key
3796-
* @param {string} value
3797-
* @throws {AppwriteException}
3798-
* @returns {Promise}
3799-
*/
3800-
createVariable(key: string, value: string): Promise<Models.Variable>;
3801-
/**
3802-
* Get Variable
3803-
*
3804-
* Get a project variable by its unique ID.
3805-
*
3806-
* @param {string} variableId
3807-
* @throws {AppwriteException}
3808-
* @returns {Promise}
3809-
*/
3810-
getVariable(variableId: string): Promise<Models.Variable>;
3811-
/**
3812-
* Update Variable
3813-
*
3814-
* Update project variable by its unique ID. This variable will be accessible
3815-
* in all Appwrite Functions at runtime.
3816-
*
3817-
* @param {string} variableId
3818-
* @param {string} key
3819-
* @param {string} value
3820-
* @throws {AppwriteException}
3821-
* @returns {Promise}
3822-
*/
3823-
updateVariable(variableId: string, key: string, value?: string): Promise<Models.Variable>;
3824-
/**
3825-
* Delete Variable
3826-
*
3827-
* Delete a project variable by its unique ID.
3828-
*
3829-
* @param {string} variableId
3830-
* @throws {AppwriteException}
3831-
* @returns {Promise}
3832-
*/
3833-
deleteVariable(variableId: string): Promise<string>;
3834-
}
3835-
export class Proxy extends Service {
3836-
constructor(client: Client);
3837-
3838-
/**
3839-
* List Rules
3840-
*
3841-
* Get a list of all the proxy rules. You can use the query params to filter
3842-
* your results.
3843-
*
3844-
* @param {string[]} queries
3845-
* @param {string} search
3846-
* @throws {AppwriteException}
3847-
* @returns {Promise}
3848-
*/
3849-
listRules(queries?: string[], search?: string): Promise<Models.ProxyRuleList>;
3850-
/**
3851-
* Create Rule
3852-
*
3853-
* Create a new proxy rule.
3854-
*
3855-
* @param {string} domain
3856-
* @param {string} resourceType
3857-
* @param {string} resourceId
3858-
* @throws {AppwriteException}
3859-
* @returns {Promise}
3860-
*/
3861-
createRule(domain: string, resourceType: string, resourceId?: string): Promise<Models.ProxyRule>;
3862-
/**
3863-
* Get Rule
3864-
*
3865-
* Get a proxy rule by its unique ID.
3866-
*
3867-
* @param {string} ruleId
3868-
* @throws {AppwriteException}
3869-
* @returns {Promise}
3870-
*/
3871-
getRule(ruleId: string): Promise<Models.ProxyRule>;
3872-
/**
3873-
* Delete Rule
3874-
*
3875-
* Delete a proxy rule by its unique ID.
3876-
*
3877-
* @param {string} ruleId
3878-
* @throws {AppwriteException}
3879-
* @returns {Promise}
3880-
*/
3881-
deleteRule(ruleId: string): Promise<string>;
3882-
/**
3883-
* Update Rule Verification Status
3884-
*
3885-
* @param {string} ruleId
3886-
* @throws {AppwriteException}
3887-
* @returns {Promise}
3888-
*/
3889-
updateRuleVerification(ruleId: string): Promise<Models.ProxyRule>;
3890-
}
38913722
export class Storage extends Service {
38923723
constructor(client: Client);
38933724

index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ const Functions = require('./lib/services/functions.js');
1212
const Graphql = require('./lib/services/graphql.js');
1313
const Health = require('./lib/services/health.js');
1414
const Locale = require('./lib/services/locale.js');
15-
const Project = require('./lib/services/project.js');
16-
const Proxy = require('./lib/services/proxy.js');
1715
const Storage = require('./lib/services/storage.js');
1816
const Teams = require('./lib/services/teams.js');
1917
const Users = require('./lib/services/users.js');
@@ -33,8 +31,6 @@ module.exports = {
3331
Graphql,
3432
Health,
3533
Locale,
36-
Project,
37-
Proxy,
3834
Storage,
3935
Teams,
4036
Users,

0 commit comments

Comments
 (0)