Cotton code
112 lines · 3.2 KB · JSONRaw
[  {    "what": "no to_database",    "from_kind": "note",    "from_id": "n1",    "to_kind": "person",    "to_id": "p1",    "to_database": null,    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "b76b2135-8839-78d6-5102-f7ddbbd2a47c"  },  {    "what": "no to_database, the edge back",    "from_kind": "person",    "from_id": "p1",    "to_kind": "note",    "to_id": "n1",    "to_database": null,    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "1c6be229-c9b5-33fe-16ba-57db03067f7a"  },  {    "what": "to_database is the writer's own file",    "from_kind": "note",    "from_id": "n1",    "to_kind": "person",    "to_id": "p1",    "to_database": "11111111-1111-4111-8111-111111111111",    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "b76b2135-8839-78d6-5102-f7ddbbd2a47c"  },  {    "what": "to_database another file",    "from_kind": "note",    "from_id": "n1",    "to_kind": "document",    "to_id": "d1",    "to_database": "22222222-2222-4222-8222-222222222222",    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "923a2406-f43b-9b98-0b20-bac70a1a1fef"  },  {    "what": "the same ends written in the other database itself",    "from_kind": "note",    "from_id": "n1",    "to_kind": "document",    "to_id": "d1",    "to_database": "22222222-2222-4222-8222-222222222222",    "own_file": "22222222-2222-4222-8222-222222222222",    "id": "f621dfb8-bd64-138e-49f0-f46c5de09cbd"  },  {    "what": "to_database another file, uuid ends",    "from_kind": "todo",    "from_id": "a3f1c2d4-0000-4000-8000-000000000001",    "to_kind": "document",    "to_id": "b4e2d3c5-0000-4000-8000-000000000002",    "to_database": "22222222-2222-4222-8222-222222222222",    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "b1d673e8-4d8c-6d22-d876-6dcbc0b0f3d9"  },  {    "what": "the separator inside an id",    "from_kind": "note",    "from_id": "n|1",    "to_kind": "person",    "to_id": "p1",    "to_database": null,    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "61f3a9e2-7cf5-6ddc-6f0a-76f1f10586a4"  },  {    "what": "the separator inside an id, another file",    "from_kind": "note",    "from_id": "n1",    "to_kind": "document",    "to_id": "d|1",    "to_database": "22222222-2222-4222-8222-222222222222",    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "02105f1d-f105-4984-9177-9a8175e66ba4"  },  {    "what": "empty ids",    "from_kind": "note",    "from_id": "",    "to_kind": "person",    "to_id": "",    "to_database": null,    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "bf25e193-ad1b-f95e-afc8-e9a60bc03acb"  },  {    "what": "non-ASCII ids hash as UTF-8",    "from_kind": "note",    "from_id": "café — 日本語",    "to_kind": "person",    "to_id": "🧵",    "to_database": null,    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "da61e401-8c46-339a-710f-134aef09a1c9"  },  {    "what": "non-ASCII ids, another file",    "from_kind": "note",    "from_id": "naïve",    "to_kind": "document",    "to_id": "🧵",    "to_database": "22222222-2222-4222-8222-222222222222",    "own_file": "11111111-1111-4111-8111-111111111111",    "id": "0f9ac0e9-0a29-5a20-3980-ff561e1dc081"  }]