Function asAttachableArchivistInstance
- asAttachableArchivistInstance<
TType extends
AttachableArchivistInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: DeepRestrictToStringKeys<
{
allowedQueries?: string[];
archiving?: { archivists?: string[]; queries?: string[] };
archivist?: string;
consoleLogger?: any;
labels?: { [x: string]: undefined | string };
name?: string;
paging?: { [x: string]: { size?: number } };
parents?: {
commit?: Lowercase<string>[];
read?: Lowercase<string>[];
write?: Lowercase<string>[];
};
requireAllParents?: boolean;
retry?: { backoff?: number; interval?: number; retries?: number };
schema: string;
security?: {
allowAnonymous?: boolean;
allowed?: { [x: string]: ((...) | (...))[] };
disallowed?: { [x: string]: Lowercase<(...)>[] };
};
sign?: boolean;
storage?: {
indexes?: {
key: { [x: ...]: ... };
multiEntry?: (...) | (...) | (...);
name?: (...) | (...);
unique?: (...) | (...) | (...);
}[];
};
storeParentReads?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
},
DeepRestrictToStringKeys<{ schema: string }>,
>,
>(
value: AnyNonPromise,
config?: TypeCheckConfig,
): undefined | TType Type Parameters
- TType extends AttachableArchivistInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: DeepRestrictToStringKeys<
{
allowedQueries?: string[];
archiving?: { archivists?: string[]; queries?: string[] };
archivist?: string;
consoleLogger?: any;
labels?: { [x: string]: undefined | string };
name?: string;
paging?: { [x: string]: { size?: number } };
parents?: {
commit?: Lowercase<string>[];
read?: Lowercase<string>[];
write?: Lowercase<string>[];
};
requireAllParents?: boolean;
retry?: { backoff?: number; interval?: number; retries?: number };
schema: string;
security?: {
allowAnonymous?: boolean;
allowed?: { [x: string]: ((...) | (...))[] };
disallowed?: { [x: string]: Lowercase<(...)>[] };
};
sign?: boolean;
storage?: {
indexes?: {
key: { [x: ...]: ... };
multiEntry?: (...) | (...) | (...);
name?: (...) | (...);
unique?: (...) | (...) | (...);
}[];
};
storeParentReads?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
},
DeepRestrictToStringKeys<{ schema: string }>,
>
Returns undefined | TType
- asAttachableArchivistInstance<
TType extends
AttachableArchivistInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: DeepRestrictToStringKeys<
{
allowedQueries?: string[];
archiving?: { archivists?: string[]; queries?: string[] };
archivist?: string;
consoleLogger?: any;
labels?: { [x: string]: undefined | string };
name?: string;
paging?: { [x: string]: { size?: number } };
parents?: {
commit?: Lowercase<string>[];
read?: Lowercase<string>[];
write?: Lowercase<string>[];
};
requireAllParents?: boolean;
retry?: { backoff?: number; interval?: number; retries?: number };
schema: string;
security?: {
allowAnonymous?: boolean;
allowed?: { [x: string]: ((...) | (...))[] };
disallowed?: { [x: string]: Lowercase<(...)>[] };
};
sign?: boolean;
storage?: {
indexes?: {
key: { [x: ...]: ... };
multiEntry?: (...) | (...) | (...);
name?: (...) | (...);
unique?: (...) | (...) | (...);
}[];
};
storeParentReads?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
},
DeepRestrictToStringKeys<{ schema: string }>,
>,
>(
value: AnyNonPromise,
assert: StringOrAlertFunction<
AttachableArchivistInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: DeepRestrictToStringKeys<
{
allowedQueries?: string[];
archiving?: { archivists?: string[]; queries?: string[] };
archivist?: string;
consoleLogger?: any;
labels?: { [x: string]: undefined | string };
name?: string;
paging?: { [x: string]: { size?: number } };
parents?: {
commit?: Lowercase<(...)>[];
read?: Lowercase<(...)>[];
write?: Lowercase<(...)>[];
};
requireAllParents?: boolean;
retry?: { backoff?: number; interval?: number; retries?: number };
schema: string;
security?: {
allowAnonymous?: boolean;
allowed?: { [x: string]: (...)[] };
disallowed?: { [x: string]: (...)[] };
};
sign?: boolean;
storage?: {
indexes?: { key: ...; multiEntry?: ...; name?: ...; unique?: ... }[];
};
storeParentReads?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
},
DeepRestrictToStringKeys<{ schema: string }>,
>,
>,
config?: TypeCheckConfig,
): TType Type Parameters
- TType extends AttachableArchivistInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: DeepRestrictToStringKeys<
{
allowedQueries?: string[];
archiving?: { archivists?: string[]; queries?: string[] };
archivist?: string;
consoleLogger?: any;
labels?: { [x: string]: undefined | string };
name?: string;
paging?: { [x: string]: { size?: number } };
parents?: {
commit?: Lowercase<string>[];
read?: Lowercase<string>[];
write?: Lowercase<string>[];
};
requireAllParents?: boolean;
retry?: { backoff?: number; interval?: number; retries?: number };
schema: string;
security?: {
allowAnonymous?: boolean;
allowed?: { [x: string]: ((...) | (...))[] };
disallowed?: { [x: string]: Lowercase<(...)>[] };
};
sign?: boolean;
storage?: {
indexes?: {
key: { [x: ...]: ... };
multiEntry?: (...) | (...) | (...);
name?: (...) | (...);
unique?: (...) | (...) | (...);
}[];
};
storeParentReads?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
},
DeepRestrictToStringKeys<{ schema: string }>,
>
Parameters
- value: AnyNonPromise
- assert: StringOrAlertFunction<
AttachableArchivistInstance<
BaseParamsFields & {
account?: AccountInstance
| "random";
additionalSigners?: AccountInstance[];
addToResolvers?: boolean;
allowNameResolution?: boolean;
config: DeepRestrictToStringKeys<
{
allowedQueries?: string[];
archiving?: { archivists?: string[]; queries?: string[] };
archivist?: string;
consoleLogger?: any;
labels?: { [x: string]: undefined | string };
name?: string;
paging?: { [x: string]: { size?: number } };
parents?: {
commit?: Lowercase<(...)>[];
read?: Lowercase<(...)>[];
write?: Lowercase<(...)>[];
};
requireAllParents?: boolean;
retry?: { backoff?: number; interval?: number; retries?: number };
schema: string;
security?: {
allowAnonymous?: boolean;
allowed?: { [x: string]: (...)[] };
disallowed?: { [x: string]: (...)[] };
};
sign?: boolean;
storage?: {
indexes?: { key: ...; multiEntry?: ...; name?: ...; unique?: ... }[];
};
storeParentReads?: boolean;
storeQueries?: boolean;
timestamp?: boolean;
},
>;
ephemeralQueryAccountEnabled?: boolean;
moduleIdentifierTransformers?: ModuleIdentifierTransformer[];
},
DeepRestrictToStringKeys<{ schema: string }>,
>,
> Optional
config: TypeCheckConfig