Skip to content

Commit a11a04e

Browse files
committed
fix: crud attributes renamed
1 parent 1acf44e commit a11a04e

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

CoCreate.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ module.exports = {
44
"host": "",
55
"sources": [
66
{
7-
"collection": "files",
8-
"document": {
7+
"array": "files",
8+
"object": {
99
"_id": "6020ce06b526e5753d0ecb7d",
1010
"name": "index.html",
1111
"path": "/docs/dashboard/index.html",

docs/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
<link
3030
rel="stylesheet"
3131
href="/docs/index.css"
32-
collection="files"
33-
document_id="60888216117c640e7596303f"
32+
array="files"
33+
object="60888216117c640e7596303f"
3434
name="src"
3535
type="text/css"
3636
save="true" />
@@ -44,8 +44,8 @@
4444
scroll="sticky-nav,hide-nav"
4545
scroll-up="10"
4646
scroll-down="10"
47-
collection="files"
48-
document_id="60395ef42b3ac232657040fd"
47+
array="files"
48+
object="60395ef42b3ac232657040fd"
4949
name="src"></nav>
5050
<sidenav
5151
id="menuL"
@@ -55,8 +55,8 @@
5555
resize-property="margin-left"
5656
resize-value="width">
5757
<menu
58-
collection="files"
59-
document_id="603717b07de7fb350ae9fec8"
58+
array="files"
59+
object="603717b07de7fb350ae9fec8"
6060
name="src"></menu>
6161
<div resize="right"></div>
6262
</sidenav>
@@ -281,8 +281,8 @@ <h2 class="padding:5px_0px">Demo</h2>
281281
<textarea
282282
type="code"
283283
lang="html"
284-
collection="demos"
285-
document_id=""
284+
array="demos"
285+
object=""
286286
name="demo"
287287
save="false"
288288
id="demo"

src/dashboard.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@
9797
<li class="margin-right:15px">
9898
<a
9999
actions="deleteDocument, closeModal"
100-
collection="modules"
101-
document_id=""
100+
array="modules"
101+
object=""
102102
pass_id="form-fields"
103103
><i
104104
class="height:18px fill:#505050"
@@ -109,11 +109,11 @@
109109
</div>
110110

111111
<div content_id="content">
112-
<!--<div class="domEditor main-height" name="cards1" collection="test" document_id="5f075add24d24a175fca5490" pass_id="me1234" >-->
112+
<!--<div class="domEditor main-height" name="cards1" array="test" object="5f075add24d24a175fca5490" pass_id="me1234" >-->
113113
<div
114114
class="domEditor main-height"
115115
name="cards1"
116-
collection="test"
116+
array="test"
117117
pass_id="me1234">
118118
<div
119119
dnd-group-name="dashboard"
@@ -210,13 +210,13 @@ <h2>$500</h2>
210210
<!--<div id="card" class="card margin:5px border-radius-2px flex-grow-1 template " style="width:calc( 20% - 10px )">-->
211211
<!-- <div class="margin:15px font-size:18px color-dark-gray">-->
212212
<!-- <span class="display:inline-block">-->
213-
<!-- <input collection="module_activity" pass_id="form-fields" document_id="" name="clone-name" id="stage-name" class="input_field" placeholder="card">-->
213+
<!-- <input array="module_activity" pass_id="form-fields" object="" name="clone-name" id="stage-name" class="input_field" placeholder="card">-->
214214
<!-- </span>-->
215215
<!-- <span class="float:right display:inline-block"><a clone_id="card" class="deleteBtn reset-layout"><i class="height:18px fill:#505050" src="/assets/svg/times.svg"></i></a></span>-->
216216
<!-- </div>-->
217217
<!-- <div class="border:bottom border-color-extra-medium-gray">-->
218218
<!-- <div class="display:flex align-items:center margin:0px_15px">-->
219-
<!-- <form collection="module_activity" sortable dnd-group-name="task-items" id="testForm">-->
219+
<!-- <form array="module_activity" sortable dnd-group-name="task-items" id="testForm">-->
220220
<!-- sortable task item -->
221221
<!-- <div id="task-item" class="display:flex flex-wrap-nowrap align-items:center margin:0px_15px padding:10px_0px template">-->
222222
<!-- <h3>Something...</h3>-->

0 commit comments

Comments
 (0)