Skip to content

Commit 2855d60

Browse files
committed
fix: crud attributes renamed
1 parent efca4dc commit 2855d60

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": "60208f6c3c260207bf49cabc",
1010
"name": "index.html",
1111
"path": "/docs/parallax/index.html",

demo/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@
2727
class="avatar round"
2828
actions="pass, openModal"
2929
modal-src="render.html"
30-
pass-collection="modules"
31-
pass-document_id="5dd010bccbc25f0cdb1a4d9f"
30+
pass-array="modules"
31+
pass-object="5dd010bccbc25f0cdb1a4d9f"
3232
pass_to="render"
3333
modal-width="300px"
3434
modal-height="375px"
3535
modal-color="#229954">
3636
<span
37-
collection="users"
38-
document_id="{{userId}}"
37+
array="users"
38+
object="{{userId}}"
3939
name="name"
4040
class="width:12px avatar-name"
4141
>B</span
4242
>
4343
<span
44-
collection="users"
45-
document_id="{{userId}}"
44+
array="users"
45+
object="{{userId}}"
4646
name="profile_image"
4747
class="avatar-image">
4848
<img

docs/index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
<link
2525
rel="stylesheet"
2626
href="/docs/index.css"
27-
collection="files"
28-
document_id="60888216117c640e7596303f"
27+
array="files"
28+
object="60888216117c640e7596303f"
2929
name="src"
3030
type="text/css"
3131
save="true" />
@@ -39,8 +39,8 @@
3939
scroll="sticky-nav,hide-nav"
4040
scroll-up="10"
4141
scroll-down="10"
42-
collection="files"
43-
document_id="60395ef42b3ac232657040fd"
42+
array="files"
43+
object="60395ef42b3ac232657040fd"
4444
name="src"></nav>
4545
<sidenav
4646
id="menuL"
@@ -50,8 +50,8 @@
5050
resize-property="margin-left"
5151
resize-value="width">
5252
<menu
53-
collection="files"
54-
document_id="603717b07de7fb350ae9fec8"
53+
array="files"
54+
object="603717b07de7fb350ae9fec8"
5555
name="src"></menu>
5656
<div resize="right"></div>
5757
</sidenav>
@@ -277,8 +277,8 @@ <h2 class="padding:5px_0px">Demo</h2>
277277
<textarea
278278
type="code"
279279
lang="html"
280-
collection="demos"
281-
document_id=""
280+
array="demos"
281+
object=""
282282
name="demo"
283283
save="false"
284284
id="demo"

0 commit comments

Comments
 (0)