add-cms
This commit is contained in:
16
source/admin/packages/decap-cms-ui-auth/index.d.ts
vendored
Normal file
16
source/admin/packages/decap-cms-ui-auth/index.d.ts
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
declare module 'decap-cms-ui-auth' {
|
||||
import React from 'react';
|
||||
|
||||
import type { Implementation } from 'decap-cms-lib-util/src';
|
||||
|
||||
class PKCEAuthenticationPage extends React.Component {
|
||||
constructor({ backend }: { backend: Implementation });
|
||||
handleLogin(e: ChangeEvent<HTMLInputElement>): void;
|
||||
}
|
||||
class NetlifyAuthenticationPage extends React.Component {
|
||||
handleLogin(e: ChangeEvent<HTMLInputElement>): void;
|
||||
static authClient: () => Promise;
|
||||
}
|
||||
|
||||
export { PKCEAuthenticationPage, NetlifyAuthenticationPage };
|
||||
}
|
||||
Reference in New Issue
Block a user