RevGrid - v0.9.3
    Preparing search index...

    Interface RevReferenceableDataSources<Badness, TableRecordSourceDefinitionTypeId, TableFieldSourceDefinitionTypeId, TextFormattableValueTypeId, TextFormattableValueAttributeTypeId>

    interface RevReferenceableDataSources<
        Badness,
        TableRecordSourceDefinitionTypeId,
        TableFieldSourceDefinitionTypeId,
        TextFormattableValueTypeId,
        TextFormattableValueAttributeTypeId,
    > {
        getOrNew(
            definition: RevReferenceableDataSourceDefinition<
                TableRecordSourceDefinitionTypeId,
                TableFieldSourceDefinitionTypeId,
                TextFormattableValueTypeId,
                TextFormattableValueAttributeTypeId,
            >,
        ): RevReferenceableDataSource<
            Badness,
            TableRecordSourceDefinitionTypeId,
            TableFieldSourceDefinitionTypeId,
            TextFormattableValueTypeId,
            TextFormattableValueAttributeTypeId,
        >;
        tryLockItemByKey(
            key: string,
            locker: NamedLocker,
        ): Promise<
            Result<
                | undefined
                | RevReferenceableDataSource<
                    Badness,
                    TableRecordSourceDefinitionTypeId,
                    TableFieldSourceDefinitionTypeId,
                    TextFormattableValueTypeId,
                    TextFormattableValueAttributeTypeId,
                >,
                RevDataSource.LockErrorIdPlusTryError,
            >,
        >;
        unlockItem(item: RevReferenceableDataSource, locker: NamedLocker): void;
    }

    Type Parameters

    • Badness
    • TableRecordSourceDefinitionTypeId
    • TableFieldSourceDefinitionTypeId
    • TextFormattableValueTypeId
    • TextFormattableValueAttributeTypeId

    Hierarchy

    Index

    Methods