Skip to content

Commit

Permalink
Fix autobuilder errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cbullinger committed May 31, 2024
1 parent 8f6922b commit e4f9c8f
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 171 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.. code-block:: javascript
"location geoWithin $0", smallCircle
55 changes: 21 additions & 34 deletions source/includes/sdk-examples/query/rql-example-data-model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- id: cpp
content: |

.. literalinclude:: /examples/generated/cpp/asymmetric-sync.snippet.create-asymmetric-object.cpp
.. literalinclude:: /examples/generated/cpp/filter-data.snippet.models.cpp
:language: cpp

- id: csharp
Expand All @@ -22,50 +22,37 @@
- id: java
content: |

.. code-block:: java
public class Item extends RealmObject {
ObjectId id = new ObjectId();
String name;
Boolean isComplete = false;
String assignee;
Integer priority = 0;
Integer progressMinutes = 0;
@LinkingObjects("items")
final RealmResults<Project> projects = null;
}
public class Project extends RealmObject {
ObjectId id = new ObjectId();
String name;
RealmList<Item> items;
Integer quota = null;
}
.. code-block:: java
public class Item extends RealmObject {
ObjectId id = new ObjectId();
String name;
Boolean isComplete = false;
String assignee;
Integer priority = 0;
Integer progressMinutes = 0;
@LinkingObjects("items")
final RealmResults<Project> projects = null;
}
public class Project extends RealmObject {
ObjectId id = new ObjectId();
String name;
RealmList<Item> items;
Integer quota = null;
}
- id: javascript
content: |

.. literalinclude:: /examples/generated/node/rql-data-models.snippet.rql-data-models.js
:language: javascript
.. include:: /examples/generated/node/v12/formatted/rql-data-models.snippet.rql-data-models.js.rst

- id: kotlin
content: |

.. literalinclude:: /examples/generated/kotlin/RQLTest.snippet.rql-schema-example.kt
:language: kotlin

- id: objectivec
content: |

.. literalinclude:: /examples/MissingPlaceholders/api.m
:language: objectivec

- id: swift
content: |

.. literalinclude:: /examples/MissingPlaceholders/api.swift
:language: swift

- id: typescript
content: |

.. include:: /examples/generated/node/v12/formatted/rql-data-models.snippet.rql-data-models.ts.rst
.. include:: /examples/generated/node/v12/formatted/rql-data-models.snippet.rql-data-models.ts.rst
Loading

0 comments on commit e4f9c8f

Please sign in to comment.