foam-framework
Version:
MVC metaprogramming framework
107 lines (105 loc) • 2.84 kB
JavaScript
/**
* @license
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
CLASS({
"model_": "Model",
"name": "Project",
"package": "foam.apps.quickbug.model.imported",
"tableProperties": [
"description",
"domain",
"externalId",
"htmlLink",
"issuesConfig",
"kind",
"labels",
"members",
"name",
"repositoryUrls",
"role",
"summary",
"versionControlSystem"
],
"properties": [
// Moved to first spot to make the id
{
"model_": "StringProperty",
"name": "externalId",
"help": "Single string identifier of the project, encoding the name and domain."
},
{
"model_": "StringProperty",
"name": "description",
"help": "Description of the project."
},
{
"model_": "StringProperty",
"name": "domain",
"help": "Domain in which this project exists."
},
{
"model_": "StringProperty",
"name": "htmlLink",
"help": "URL of the project home page."
},
{
"model_": "ReferenceProperty",
"name": "issuesConfig",
"help": "Information about how issues are handled for this project.",
"subType": "ProjectIssueConfig"
},
{
"model_": "StringProperty",
"name": "kind",
"help": "Project hosted by Google Code Project Hosting."
},
{
"model_": "StringArrayProperty",
"name": "labels",
"help": "Labels that have been applied to this project by the project's owners."
},
{
"model_": "StringArrayProperty",
"name": "members",
"help": "List of members of this project."
},
{
"model_": "StringProperty",
"name": "name",
"help": "Name of the project."
},
{
"model_": "StringArrayProperty",
"name": "repositoryUrls",
"help": "URLs where the source for the project can be checked out."
},
{
"model_": "StringProperty",
"name": "role",
"help": "The user's role in the project, if there is one."
},
{
"model_": "StringProperty",
"name": "summary",
"help": "Short summary of the project."
},
{
"model_": "StringProperty",
"name": "versionControlSystem",
"help": "Version control system used by the project."
}
]
});