salt-sdk
    Preparing search index...

    Type Alias Organisation

    Represents an Organisation in Salt.

    type Organisation = {
        _id: string;
        lastUpdated?: string;
        members: Member[];
        name: string;
        termsAcceptedVersion?: number;
        user_id: string;
    }
    Index

    Properties

    _id: string

    Unique identifier of the organisation

    '6824aa9c27c0fa91b32800a4'
    
    lastUpdated?: string

    The last time the Organisation was updated

    '2021-01-01T00:00:00.000Z'
    
    members: Member[]

    The members of the Organisation

    Member

    [{
    name: 'John Doe',
    address: '0x1234567890123456789012345678901234567890',
    role: 'Admin',
    accessLevel: 1,
    status: 'Active',
    }]
    name: string

    The display name of the Organisation

    'My Organisation'
    
    termsAcceptedVersion?: number

    The Terms and Conditions revision that has been accepted by the Organisation creator

    1
    
    user_id: string

    Unique identifier of the organisation creator

    '6824aa9c27c0fa91b32800a4'