Skip to content

Commit

Permalink
Правки доков
Browse files Browse the repository at this point in the history
  • Loading branch information
Bayselonarrend committed Jul 10, 2024
1 parent a7dad7b commit 16b2c05
Show file tree
Hide file tree
Showing 667 changed files with 1,321 additions and 2,054 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/os/docs_main.os
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,8 @@

КонецЕсли;

Результат = СокрЛП(Результат);

Если ЗначениеЗаполнено(Результат) Тогда

Результат = "```bsl title=""Пример кода"""
Expand Down Expand Up @@ -678,8 +680,9 @@

КонецЦикла;

Результат = СокрЛП(Результат);

Если ЗначениеЗаполнено(Результат) Тогда
Результат = Лев(Результат, СтрДлина(Результат) - 1);

Результат = "```json title=""Результат"""
+ Символы.ПС
Expand All @@ -689,7 +692,7 @@

КонецЕсли;

Возврат СокрЛП(Результат);
Возврат Результат;

КонецФункции

Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Comment-management/Create-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ sidebar_position: 2


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Record = "recV6DxeLQMBNJrUk";
Text = "TestComment";
Response = OPI_Airtable.CreateComment(Token, Base, Table, Record, Text); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -48,7 +46,7 @@ sidebar_position: 2
```

```json title="Result"
{
{
"id": "comL1oGEDJvIQlMs1",
"author": {
"id": "usrFlaAHlTfYWAbVW",
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Comment-management/Delete-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ sidebar_position: 4


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Record = "recV6DxeLQMBNJrUk";
Comment = "comL1oGEDJvIQlMs1";
Response = OPI_Airtable.DeleteComment(Token, Base, Table, Record, Comment); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -48,7 +46,7 @@ sidebar_position: 4
```

```json title="Result"
{
{
"id": "comL1oGEDJvIQlMs1",
"deleted": true
}
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Comment-management/Edit-comment.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,14 @@ sidebar_position: 3


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Record = "recV6DxeLQMBNJrUk";
Comment = "comL1oGEDJvIQlMs1";
Text = "Test comment (change.)";
Response = OPI_Airtable.EditComment(Token, Base, Table, Record, Comment, Text); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -50,7 +48,7 @@ sidebar_position: 3
```

```json title="Result"
{
{
"id": "comL1oGEDJvIQlMs1",
"author": {
"id": "usrFlaAHlTfYWAbVW",
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Comment-management/Get-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,12 @@ sidebar_position: 1


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Record = "recV6DxeLQMBNJrUk";
Response = OPI_Airtable.GetComments(Token, Base, Table, Record); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -47,7 +45,7 @@ sidebar_position: 1
```

```json title="Result"
{
{
"comments": [
{
"id": "comL1oGEDJvIQlMs1",
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Record-management/Create-posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ sidebar_position: 3


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Numeric = 10;
StringType = "Hello";
Expand All @@ -42,7 +41,6 @@ sidebar_position: 3
Response = OPI_Airtable.CreatePosts(Token, Base, Table, Data); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -54,7 +52,7 @@ sidebar_position: 3
```

```json title="Result"
{
{
"records": [
{
"id": "recjHNKNZBWLZkZ7A",
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Record-management/Delete-posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ sidebar_position: 4


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Records = New Array;
Expand All @@ -37,7 +36,6 @@ sidebar_position: 4
Response = OPI_Airtable.DeletePosts(Token, Base, Table, Record); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -49,7 +47,7 @@ sidebar_position: 4
```

```json title="Result"
{
{
"records": [
{
"deleted": true,
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Record-management/Get-list-of-records.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ sidebar_position: 1


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Response = OPI_Airtable.GetListOfRecords(Token, Base, Table, Indent); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -45,7 +43,7 @@ sidebar_position: 1
```

```json title="Result"
{
{
"records": [
{
"id": "recGyJ0MlN1H3GMuN",
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Record-management/Get-record.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,12 @@ sidebar_position: 2


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Record = "recV6DxeLQMBNJrUk";
Response = OPI_Airtable.GetRecord(Token, Base, Table, Record); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -46,7 +44,7 @@ sidebar_position: 2
```

```json title="Result"
{
{
"id": "recV6DxeLQMBNJrUk",
"createdTime": "2024-05-10T19:39:51Z",
"fields": {
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Table-management/Create-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ sidebar_position: 1


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
TableName = "TestTable2";
Description = "NewTable";
Expand All @@ -45,7 +44,6 @@ sidebar_position: 1
Response = OPI_Airtable.CreateTable(Token, Base, Name, FieldArray, Description); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -57,7 +55,7 @@ sidebar_position: 1
```

```json title="Result"
{
{
"id": "tblT64aWyrMUAbUmF",
"name": "TestTable2",
"description": "NewTable",
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Table-management/Modify-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ sidebar_position: 2


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Name = "Test table 2 (change.)";
Description = "New table (change.)";
Response = OPI_Airtable.ModifyTable(Token, Base, Table, Name, Description); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -48,7 +46,7 @@ sidebar_position: 2
```

```json title="Result"
{
{
"id": "tblT64aWyrMUAbUmF",
"name": "Test table 2 (change.)",
"description": "New table (change.)",
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Working-with-databases/Create-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ sidebar_position: 3


```bsl title="Code example"
Workspace = "wspdf8yl1yZz3PmWZ";
Workspace = "wspdf8yl1yZz3PmWZ";
Name = "TestDatabase";
FieldArray = New Array;
Expand All @@ -42,7 +41,6 @@ sidebar_position: 3
Response = OPI_Airtable.CreateDatabase(Token, Workspace, Name, TableCollection); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -54,7 +52,7 @@ sidebar_position: 3
```

```json title="Result"
{
{
"id": "applEsyJmBRm12AuN",
"tables": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ sidebar_position: 2


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Response = OPI_Airtable.GetDatabaseTables(Token, Base); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -42,7 +40,7 @@ sidebar_position: 2
```

```json title="Result"
{
{
"tables": [
{
"id": "tblqZzW78Rvsdt9gt",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,8 @@ sidebar_position: 1


```bsl title="Code example"
Response = OPI_Airtable.GetListOfBases(Token); //Map
Response = OPI_Airtable.GetListOfBases(Token); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -41,7 +38,7 @@ sidebar_position: 1
```

```json title="Result"
{
{
"bases": [
{
"id": "appGarzKZ0lu3gzoa",
Expand Down
6 changes: 2 additions & 4 deletions docs/en/md/Airtable/Working-with-fields/Create-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ sidebar_position: 1


```bsl title="Code example"
Base = "apptm8Xqo7TwMaipQ";
Base = "apptm8Xqo7TwMaipQ";
Table = "tbl9G4jVoTJpxYwSY";
Name = String(New UUID);
Field = OPI_Airtable.GetNumberField(Name);
Response = OPI_Airtable.CreateField(Token, Base, Table, FieldStructure); //Map
Response = OPI_Tools.JSONString(Response); //JSON string
```


Expand All @@ -47,7 +45,7 @@ sidebar_position: 1
```

```json title="Result"
{
{
"type": "number",
"options": {
"precision": 0
Expand Down
Loading

0 comments on commit 16b2c05

Please sign in to comment.