Skip to content

Commit 2e8ad11

Browse files
committed
fix: crud attributes renamed
1 parent 0c13543 commit 2e8ad11

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
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": "637ca44750234ef1671ce319",
1010
"name": "index.html",
1111
"path": "/docs/lazy-loader/index.html",

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</head>
2929

3030
<body>
31-
<div collection="" document_id="" name="" id="cocreate-lazy-loader">
31+
<div array="" object="" name="" id="cocreate-lazy-loader">
3232
<div
3333
class="display:flex flex-wrap:wrap justify-content:space-between margin:10px">
3434
<div class="display:flex align-items:center">
@@ -169,8 +169,8 @@ <h4>
169169
<textarea
170170
type="code"
171171
lang="html"
172-
collection="demos"
173-
document_id=""
172+
array="demos"
173+
object=""
174174
name="demo"
175175
save="false"
176176
id="demo"

0 commit comments

Comments
 (0)