mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-10 21:07:46 +00:00
SSR flow improved
This commit is contained in:
@@ -2,6 +2,9 @@ import { OpenAPIV3 } from 'openapi-types';
|
||||
import { Platform, type Service } from './references';
|
||||
|
||||
type SDKMethod = {
|
||||
'rate-limit': number;
|
||||
'rate-time': number;
|
||||
'rate-key': string;
|
||||
id: string;
|
||||
title: string;
|
||||
description: string;
|
||||
@@ -293,10 +296,13 @@ export async function getService(
|
||||
parameters: parameters ?? [],
|
||||
responses: responses ?? [],
|
||||
method,
|
||||
url
|
||||
url,
|
||||
'rate-limit': operation['x-appwrite']['rate-limit'],
|
||||
'rate-time': operation['x-appwrite']['rate-time'],
|
||||
'rate-key': operation['x-appwrite']['rate-key']
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user