@stackframe/stack-shared 2.4.1 → 2.4.2
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.
|
@@ -3,6 +3,7 @@ import { Result } from "../utils/results";
|
|
|
3
3
|
import { ReadonlyJson } from '../utils/json';
|
|
4
4
|
import { AsyncStore, ReadonlyAsyncStore } from '../utils/stores';
|
|
5
5
|
import { KnownErrors } from '../known-errors';
|
|
6
|
+
import { ProjectUpdateOptions } from './adminInterface';
|
|
6
7
|
type UserCustomizableJson = {
|
|
7
8
|
readonly displayName: string | null;
|
|
8
9
|
readonly clientMetadata: ReadonlyJson;
|
|
@@ -179,7 +180,9 @@ export declare class StackClientInterface {
|
|
|
179
180
|
getClientProject(): Promise<Result<ClientProjectJson>>;
|
|
180
181
|
setClientUserCustomizableData(update: UserUpdateJson, tokenStore: TokenStore): Promise<void>;
|
|
181
182
|
listProjects(tokenStore: TokenStore): Promise<ProjectJson[]>;
|
|
182
|
-
createProject(project:
|
|
183
|
+
createProject(project: ProjectUpdateOptions & {
|
|
184
|
+
displayName: string;
|
|
185
|
+
}, tokenStore: TokenStore): Promise<ProjectJson>;
|
|
183
186
|
}
|
|
184
187
|
export declare function getProductionModeErrors(project: ProjectJson): ProductionModeError[];
|
|
185
188
|
export {};
|