Skip to content

Commit

Permalink
add resources project
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanway committed Jun 21, 2022
1 parent 70bc4a3 commit b1b28bd
Show file tree
Hide file tree
Showing 17 changed files with 836 additions and 1 deletion.
18 changes: 18 additions & 0 deletions resources/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>resources</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>sj.jsonSchemaValidationBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.servoy.eclipse.core.ServoyResources</nature>
<nature>sj.jsonSchemaValidationNature</nature>
</natures>
</projectDescription>
26 changes: 26 additions & 0 deletions resources/datasources/example_data/book_nodes.dbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
columns:[
{
allowNull:false,
autoEnterSubType:0,
autoEnterType:2,
creationOrderIndex:2,
dataType:4,
flags:1,
name:"node_id"
},
{
allowNull:true,
creationOrderIndex:1,
dataType:12,
length:255,
name:"label_text"
},
{
allowNull:true,
creationOrderIndex:0,
dataType:4,
name:"parent_id"
}
],
name:"book_nodes",
tableType:0
40 changes: 40 additions & 0 deletions resources/datasources/example_data/book_text.dbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
columns:[
{
allowNull:false,
autoEnterSubType:0,
autoEnterType:2,
creationOrderIndex:4,
dataType:4,
flags:1,
name:"book_text_id"
},
{
allowNull:true,
creationOrderIndex:2,
dataType:12,
length:8000,
name:"comment_text"
},
{
allowNull:true,
creationOrderIndex:3,
dataType:12,
length:8000,
name:"item_text"
},
{
allowNull:true,
creationOrderIndex:1,
dataType:4,
name:"node_id"
},
{
allowNull:true,
creationOrderIndex:0,
dataType:12,
length:8000,
name:"note_text"
}
],
name:"book_text",
tableType:0
34 changes: 34 additions & 0 deletions resources/datasources/example_data/categories.dbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
columns:[
{
allowNull:false,
autoEnterSubType:0,
autoEnterType:2,
creationOrderIndex:0,
dataType:4,
flags:1,
name:"categoryid"
},
{
allowNull:false,
creationOrderIndex:1,
dataType:12,
length:15,
name:"categoryname"
},
{
allowNull:true,
creationOrderIndex:2,
dataType:12,
length:4000,
name:"description"
},
{
allowNull:true,
creationOrderIndex:3,
dataType:-2,
length:2147483647,
name:"picture"
}
],
name:"categories",
tableType:0
39 changes: 39 additions & 0 deletions resources/datasources/example_data/chat_users.dbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
columns:[
{
allowNull:false,
autoEnterSubType:0,
autoEnterType:2,
creationOrderIndex:3,
dataType:4,
flags:1,
name:"chat_user_id"
},
{
allowNull:true,
creationOrderIndex:1,
dataType:12,
length:50,
name:"ip_address"
},
{
allowNull:true,
creationOrderIndex:2,
dataType:93,
name:"login_time"
},
{
allowNull:true,
creationOrderIndex:4,
dataType:4,
name:"status"
},
{
allowNull:true,
creationOrderIndex:0,
dataType:12,
length:50,
name:"user_name"
}
],
name:"chat_users",
tableType:0
82 changes: 82 additions & 0 deletions resources/datasources/example_data/customers.dbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
columns:[
{
allowNull:false,
creationOrderIndex:0,
dataType:1,
flags:1,
length:5,
name:"customerid"
},
{
allowNull:true,
creationOrderIndex:4,
dataType:12,
length:60,
name:"address"
},
{
allowNull:true,
creationOrderIndex:5,
dataType:12,
length:15,
name:"city"
},
{
allowNull:false,
creationOrderIndex:1,
dataType:12,
length:40,
name:"companyname"
},
{
allowNull:true,
creationOrderIndex:2,
dataType:12,
length:30,
name:"contactname"
},
{
allowNull:true,
creationOrderIndex:3,
dataType:12,
length:30,
name:"contacttitle"
},
{
allowNull:true,
creationOrderIndex:8,
dataType:12,
length:15,
name:"country"
},
{
allowNull:true,
creationOrderIndex:10,
dataType:12,
length:24,
name:"fax"
},
{
allowNull:true,
creationOrderIndex:9,
dataType:12,
length:24,
name:"phone"
},
{
allowNull:true,
creationOrderIndex:7,
dataType:12,
length:10,
name:"postalcode"
},
{
allowNull:true,
creationOrderIndex:6,
dataType:12,
length:15,
name:"region"
}
],
name:"customers",
tableType:0
129 changes: 129 additions & 0 deletions resources/datasources/example_data/employees.dbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
columns:[
{
allowNull:false,
autoEnterSubType:0,
autoEnterType:2,
creationOrderIndex:0,
dataType:4,
flags:1,
name:"employeeid"
},
{
allowNull:true,
creationOrderIndex:7,
dataType:12,
length:60,
name:"address"
},
{
allowNull:true,
creationOrderIndex:5,
dataType:93,
name:"birthdate"
},
{
allowNull:true,
creationOrderIndex:8,
dataType:12,
length:15,
name:"city"
},
{
allowNull:true,
creationOrderIndex:11,
dataType:12,
length:15,
name:"country"
},
{
allowNull:true,
creationOrderIndex:13,
dataType:12,
length:4,
name:"extension"
},
{
allowNull:false,
creationOrderIndex:2,
dataType:12,
length:10,
name:"firstname"
},
{
allowNull:true,
creationOrderIndex:6,
dataType:93,
name:"hiredate"
},
{
allowNull:true,
creationOrderIndex:12,
dataType:12,
length:24,
name:"homephone"
},
{
allowNull:false,
creationOrderIndex:1,
dataType:12,
length:20,
name:"lastname"
},
{
allowNull:true,
creationOrderIndex:15,
dataType:12,
length:4000,
name:"notes"
},
{
allowNull:true,
creationOrderIndex:14,
dataType:-2,
length:2147483647,
name:"photo"
},
{
allowNull:true,
creationOrderIndex:17,
dataType:12,
length:255,
name:"photopath"
},
{
allowNull:true,
creationOrderIndex:10,
dataType:12,
length:10,
name:"postalcode"
},
{
allowNull:true,
creationOrderIndex:9,
dataType:12,
length:15,
name:"region"
},
{
allowNull:true,
creationOrderIndex:16,
dataType:4,
name:"reportsto"
},
{
allowNull:true,
creationOrderIndex:3,
dataType:12,
length:30,
name:"title"
},
{
allowNull:true,
creationOrderIndex:4,
dataType:12,
length:25,
name:"titleofcourtesy"
}
],
name:"employees",
tableType:0

0 comments on commit b1b28bd

Please sign in to comment.