mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
32 lines
813 B
JavaScript
32 lines
813 B
JavaScript
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2013 - 2017, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
let historyDetail =
|
|
PropTypes.shape({
|
|
query: PropTypes.string,
|
|
start_time: PropTypes.instanceOf(Date),
|
|
status: PropTypes.bool,
|
|
total_time: PropTypes.string,
|
|
row_affected: PropTypes.int,
|
|
message: PropTypes.string,
|
|
});
|
|
|
|
let historyCollectionClass =
|
|
PropTypes.shape({
|
|
historyList: PropTypes.array.isRequired,
|
|
onChange: PropTypes.func.isRequired,
|
|
});
|
|
|
|
export default {
|
|
historyDetail,
|
|
historyCollectionClass,
|
|
};
|