From fff6e2f9d78295ce2835197e3dfbf16387f9437f Mon Sep 17 00:00:00 2001 From: ballerina-bot Date: Mon, 27 Nov 2023 06:12:41 +0000 Subject: [PATCH] Update Ballerina Swan Lake by Examples --- swan-lake/by-example/access-json-elements/content.jsx | 2 +- .../by-example/access-optional-json-elements/content.jsx | 2 +- swan-lake/by-example/aggregation/content.jsx | 2 +- swan-lake/by-example/alternate-wait/content.jsx | 2 +- swan-lake/by-example/annotations/content.jsx | 2 +- swan-lake/by-example/anonymous-function/content.jsx | 2 +- swan-lake/by-example/any-type/content.jsx | 2 +- swan-lake/by-example/anydata-type/content.jsx | 2 +- swan-lake/by-example/array-map-symmetry/content.jsx | 2 +- swan-lake/by-example/arrays/content.jsx | 2 +- .../by-example/asynchronize-message-passing/content.jsx | 2 +- .../by-example/asynchronous-function-calls/content.jsx | 2 +- swan-lake/by-example/backtick-templates/content.jsx | 2 +- swan-lake/by-example/binary-data/content.jsx | 2 +- .../binding-patterns-in-match-statement/content.jsx | 2 +- swan-lake/by-example/binding-patterns/content.jsx | 2 +- swan-lake/by-example/boolean/content.jsx | 2 +- swan-lake/by-example/break-statement/content.jsx | 2 +- .../by-example/built-in-integer-subtypes/content.jsx | 2 +- swan-lake/by-example/built-in-string-subtype/content.jsx | 2 +- swan-lake/by-example/cache-basics/content.jsx | 2 +- swan-lake/by-example/cache-invalidation/content.jsx | 2 +- .../casting-json-to-user-defined-type/content.jsx | 2 +- swan-lake/by-example/check-expression/content.jsx | 2 +- swan-lake/by-example/check-semantics/content.jsx | 2 +- .../combining-isolated-functions-and-lock/content.jsx | 2 +- swan-lake/by-example/commit-rollback-handlers/content.jsx | 2 +- swan-lake/by-example/computed-field-key/content.jsx | 2 +- swan-lake/by-example/const-and-final/content.jsx | 2 +- swan-lake/by-example/constraint-validations/content.jsx | 2 +- swan-lake/by-example/consuming-services/content.jsx | 2 +- swan-lake/by-example/continue-statement/content.jsx | 2 +- swan-lake/by-example/controlling-openness/content.jsx | 2 +- .../convert-from-json-to-user-defined-type/content.jsx | 2 +- .../converting-from-table-and-xml-to-json/content.jsx | 2 +- .../converting-from-user-defined-type-to-json/content.jsx | 2 +- swan-lake/by-example/covariance/content.jsx | 2 +- swan-lake/by-example/create-maps-with-query/content.jsx | 2 +- .../by-example/create-streams-with-query/content.jsx | 2 +- swan-lake/by-example/create-tables-with-query/content.jsx | 2 +- swan-lake/by-example/decimal-type/content.jsx | 2 +- .../default-values-for-function-parameters/content.jsx | 2 +- .../default-values-for-record-fields/content.jsx | 2 +- swan-lake/by-example/defining-classes/content.jsx | 2 +- swan-lake/by-example/dependent-types/content.jsx | 2 +- .../destructure-records-using-query/content.jsx | 2 +- swan-lake/by-example/directories/content.jsx | 2 +- swan-lake/by-example/distinct-object-types/content.jsx | 2 +- swan-lake/by-example/documentation/content.jsx | 2 +- swan-lake/by-example/edi-to-record/content.jsx | 8 ++++---- swan-lake/by-example/ensureType-function/content.jsx | 2 +- swan-lake/by-example/enumerations/content.jsx | 2 +- swan-lake/by-example/environment-variables/content.jsx | 2 +- .../error-binding-pattern-in-match-statement/content.jsx | 2 +- swan-lake/by-example/error-binding-pattern/content.jsx | 2 +- swan-lake/by-example/error-cause/content.jsx | 2 +- swan-lake/by-example/error-detail/content.jsx | 2 +- swan-lake/by-example/error-handling/content.jsx | 2 +- swan-lake/by-example/error-reporting/content.jsx | 2 +- swan-lake/by-example/error-subtyping/content.jsx | 2 +- swan-lake/by-example/error-type-intersection/content.jsx | 2 +- .../by-example/expression-oriented-style/content.jsx | 2 +- swan-lake/by-example/filepaths/content.jsx | 2 +- swan-lake/by-example/files/content.jsx | 2 +- swan-lake/by-example/filler-values-of-a-list/content.jsx | 2 +- swan-lake/by-example/floating-point-numbers/content.jsx | 2 +- swan-lake/by-example/flush/content.jsx | 2 +- swan-lake/by-example/foreach-statement/content.jsx | 2 +- swan-lake/by-example/function-closure/content.jsx | 2 +- swan-lake/by-example/function-pointers/content.jsx | 2 +- swan-lake/by-example/function-types/content.jsx | 2 +- swan-lake/by-example/function-values/content.jsx | 2 +- swan-lake/by-example/functions/content.jsx | 2 +- swan-lake/by-example/hello-world/content.jsx | 2 +- swan-lake/by-example/http-100-continue/content.jsx | 2 +- .../by-example/http-2-0-client-server-push/content.jsx | 2 +- swan-lake/by-example/http-2-0-server-push/content.jsx | 2 +- .../by-example/http-2-prior-knowledge-client/content.jsx | 2 +- .../by-example/http-2-to-1-1-downgrade-client/content.jsx | 2 +- .../http-2-to-1-1-downgrade-service/content.jsx | 2 +- swan-lake/by-example/http-access-logs/content.jsx | 4 ++-- swan-lake/by-example/http-basic-rest-service/content.jsx | 2 +- swan-lake/by-example/http-caching-client/content.jsx | 2 +- swan-lake/by-example/http-caller/content.jsx | 2 +- swan-lake/by-example/http-circuit-breaker/content.jsx | 2 +- .../http-client-basic-authentication/content.jsx | 2 +- .../http-client-bearer-token-authentication/content.jsx | 2 +- swan-lake/by-example/http-client-chunking/content.jsx | 2 +- swan-lake/by-example/http-client-data-binding/content.jsx | 2 +- swan-lake/by-example/http-client-file-upload/content.jsx | 2 +- .../by-example/http-client-header-parameter/content.jsx | 4 ++-- swan-lake/by-example/http-client-mutual-ssl/content.jsx | 2 +- .../content.jsx | 2 +- .../http-client-oauth2-jwt-bearer-grant-type/content.jsx | 2 +- .../http-client-oauth2-password-grant-type/content.jsx | 2 +- .../content.jsx | 2 +- .../by-example/http-client-path-parameter/content.jsx | 2 +- .../http-client-payload-constraint-validation/content.jsx | 2 +- .../by-example/http-client-query-parameter/content.jsx | 4 ++-- swan-lake/by-example/http-client-redirects/content.jsx | 2 +- .../content.jsx | 2 +- .../http-client-send-request-receive-response/content.jsx | 2 +- swan-lake/by-example/http-client-ssl-tls/content.jsx | 2 +- swan-lake/by-example/http-compression/content.jsx | 2 +- swan-lake/by-example/http-cookies-client/content.jsx | 2 +- swan-lake/by-example/http-cookies-service/content.jsx | 2 +- swan-lake/by-example/http-cors/content.jsx | 2 +- .../by-example/http-default-error-handling/content.jsx | 2 +- swan-lake/by-example/http-default-resource/content.jsx | 2 +- swan-lake/by-example/http-error-handling/content.jsx | 2 +- swan-lake/by-example/http-failover/content.jsx | 2 +- swan-lake/by-example/http-header-param/content.jsx | 2 +- .../http-interceptor-error-handling/content.jsx | 2 +- swan-lake/by-example/http-load-balancer/content.jsx | 2 +- swan-lake/by-example/http-matrix-param/content.jsx | 2 +- swan-lake/by-example/http-passthrough/content.jsx | 2 +- swan-lake/by-example/http-path-param/content.jsx | 2 +- swan-lake/by-example/http-query-parameter/content.jsx | 2 +- swan-lake/by-example/http-request-interceptor/content.jsx | 2 +- swan-lake/by-example/http-request-response/content.jsx | 2 +- .../by-example/http-request-with-multiparts/content.jsx | 2 +- .../by-example/http-response-interceptor/content.jsx | 2 +- .../by-example/http-response-with-multiparts/content.jsx | 2 +- .../by-example/http-restrict-by-media-type/content.jsx | 2 +- swan-lake/by-example/http-retry/content.jsx | 2 +- .../content.jsx | 2 +- .../http-send-different-status-codes/content.jsx | 2 +- swan-lake/by-example/http-send-header/content.jsx | 2 +- swan-lake/by-example/http-send-response/content.jsx | 2 +- .../http-service-and-resource-paths/content.jsx | 2 +- .../by-example/http-service-cache-response/content.jsx | 2 +- swan-lake/by-example/http-service-chunking/content.jsx | 2 +- .../by-example/http-service-data-binding/content.jsx | 2 +- swan-lake/by-example/http-service-file-upload/content.jsx | 2 +- .../content.jsx | 2 +- swan-lake/by-example/http-service-redirects/content.jsx | 2 +- swan-lake/by-example/http-timeout/content.jsx | 2 +- swan-lake/by-example/http-trace-logs/content.jsx | 4 ++-- swan-lake/by-example/identifiers/content.jsx | 2 +- swan-lake/by-example/identity/content.jsx | 2 +- swan-lake/by-example/if-statement/content.jsx | 2 +- .../ignoring-return-values-and-errors/content.jsx | 2 +- .../by-example/included-record-parameters/content.jsx | 2 +- swan-lake/by-example/inferring-isolated/content.jsx | 2 +- swan-lake/by-example/init-function/content.jsx | 2 +- swan-lake/by-example/init-return-type/content.jsx | 2 +- swan-lake/by-example/int-range/content.jsx | 2 +- swan-lake/by-example/integers/content.jsx | 2 +- .../inter-worker-failure-propagation/content.jsx | 2 +- .../by-example/inter-worker-message-passing/content.jsx | 2 +- .../by-example/interface-to-external-code/content.jsx | 2 +- swan-lake/by-example/io-csv-datamapping/content.jsx | 2 +- swan-lake/by-example/io-csv/content.jsx | 2 +- swan-lake/by-example/io-json/content.jsx | 2 +- swan-lake/by-example/io-strings/content.jsx | 2 +- swan-lake/by-example/io-xml/content.jsx | 2 +- swan-lake/by-example/isolated-functions/content.jsx | 2 +- swan-lake/by-example/isolated-methods/content.jsx | 2 +- swan-lake/by-example/isolated-objects/content.jsx | 2 +- swan-lake/by-example/isolated-variables/content.jsx | 2 +- .../by-example/iterating-over-xml-with-query/content.jsx | 2 +- .../by-example/iterative-use-of-typed-binding/content.jsx | 2 +- swan-lake/by-example/joining-iterable-objects/content.jsx | 2 +- swan-lake/by-example/json-numbers/content.jsx | 2 +- swan-lake/by-example/json-type/content.jsx | 2 +- swan-lake/by-example/langlib-functions/content.jsx | 2 +- swan-lake/by-example/let-clause/content.jsx | 2 +- swan-lake/by-example/limit-clause/content.jsx | 2 +- .../list-binding-pattern-in-match-statement/content.jsx | 2 +- swan-lake/by-example/list-binding-pattern/content.jsx | 2 +- swan-lake/by-example/list-equality/content.jsx | 2 +- swan-lake/by-example/list-subtyping/content.jsx | 2 +- swan-lake/by-example/lock-statement/content.jsx | 2 +- swan-lake/by-example/logging-with-context/content.jsx | 2 +- swan-lake/by-example/logging/content.jsx | 2 +- swan-lake/by-example/manage-scheduled-jobs/content.jsx | 2 +- .../content.jsx | 2 +- swan-lake/by-example/mapping-binding-pattern/content.jsx | 2 +- swan-lake/by-example/maps/content.jsx | 2 +- .../by-example/match-guard-in-match-statement/content.jsx | 2 +- .../by-example/match-statement-with-maps/content.jsx | 2 +- swan-lake/by-example/match-statement/content.jsx | 2 +- swan-lake/by-example/module-lifecycle/content.jsx | 2 +- swan-lake/by-example/multiple-key-fields/content.jsx | 2 +- swan-lake/by-example/multiple-wait/content.jsx | 2 +- .../by-example/named-worker-return-values/content.jsx | 2 +- .../by-example/named-workers-and-futures/content.jsx | 2 +- swan-lake/by-example/named-workers/content.jsx | 2 +- swan-lake/by-example/nested-arrays/content.jsx | 2 +- swan-lake/by-example/nested-query-expressions/content.jsx | 2 +- swan-lake/by-example/never-type/content.jsx | 2 +- swan-lake/by-example/nil/content.jsx | 2 +- swan-lake/by-example/object-closure/content.jsx | 2 +- swan-lake/by-example/object-constructor/content.jsx | 2 +- swan-lake/by-example/object-type-inclusion/content.jsx | 2 +- swan-lake/by-example/object-types/content.jsx | 2 +- .../object-value-from-class-definition/content.jsx | 2 +- swan-lake/by-example/object/content.jsx | 2 +- swan-lake/by-example/on-conflict-clause/content.jsx | 2 +- swan-lake/by-example/open-records/content.jsx | 2 +- swan-lake/by-example/optional-fields/content.jsx | 2 +- swan-lake/by-example/outer-join-clause/content.jsx | 2 +- swan-lake/by-example/panics/content.jsx | 2 +- swan-lake/by-example/programs-and-modules/content.jsx | 2 +- .../provide-function-arguments-by-name/content.jsx | 2 +- swan-lake/by-example/query-actions/content.jsx | 2 +- swan-lake/by-example/query-expressions/content.jsx | 2 +- swan-lake/by-example/querying-tables/content.jsx | 2 +- swan-lake/by-example/querying-with-streams/content.jsx | 2 +- swan-lake/by-example/random-numbers/content.jsx | 2 +- swan-lake/by-example/readonly-and-isolated/content.jsx | 2 +- .../by-example/readonly-objects-and-classes/content.jsx | 2 +- swan-lake/by-example/readonly-type/content.jsx | 2 +- swan-lake/by-example/record-to-edi/content.jsx | 6 +++--- swan-lake/by-example/records/content.jsx | 2 +- swan-lake/by-example/regexp-operations/content.jsx | 2 +- swan-lake/by-example/regexp-type/content.jsx | 2 +- .../content.jsx | 2 +- .../content.jsx | 2 +- .../content.jsx | 2 +- swan-lake/by-example/rest-parameters/content.jsx | 2 +- swan-lake/by-example/rest-type-in-tuples/content.jsx | 2 +- .../by-example/retry-transaction-statement/content.jsx | 2 +- swan-lake/by-example/rollback/content.jsx | 2 +- .../run-strands-safely-on-separate-threads/content.jsx | 2 +- swan-lake/by-example/sequence-diagrams/content.jsx | 2 +- .../by-example/single-use-of-typed-binding/content.jsx | 2 +- .../by-example/single-use-with-on-fail-clause/content.jsx | 2 +- swan-lake/by-example/sort-iterable-objects/content.jsx | 2 +- swan-lake/by-example/strands/content.jsx | 2 +- swan-lake/by-example/stream-type/content.jsx | 2 +- swan-lake/by-example/strings/content.jsx | 2 +- swan-lake/by-example/structured-keys/content.jsx | 2 +- .../by-example/synchronize-message-passing/content.jsx | 2 +- swan-lake/by-example/table-types/content.jsx | 2 +- swan-lake/by-example/table/content.jsx | 2 +- .../by-example/task-frequency-job-execution/content.jsx | 2 +- .../by-example/task-one-time-job-execution/content.jsx | 2 +- swan-lake/by-example/temp-files-directories/content.jsx | 2 +- .../by-example/time-formatting-and-parsing/content.jsx | 2 +- swan-lake/by-example/time-utc-and-civil/content.jsx | 2 +- swan-lake/by-example/time-utc/content.jsx | 2 +- swan-lake/by-example/transaction-statement/content.jsx | 2 +- .../by-example/transactional-named-workers/content.jsx | 2 +- swan-lake/by-example/transactional-qualifier/content.jsx | 2 +- swan-lake/by-example/tuples/content.jsx | 2 +- swan-lake/by-example/type-definitions/content.jsx | 2 +- .../by-example/type-inclusion-for-records/content.jsx | 2 +- swan-lake/by-example/type-inference/content.jsx | 2 +- swan-lake/by-example/typed-binding-pattern/content.jsx | 2 +- swan-lake/by-example/typedesc-type/content.jsx | 2 +- swan-lake/by-example/unions/content.jsx | 2 +- swan-lake/by-example/url-encode-decode/content.jsx | 2 +- swan-lake/by-example/uuid-generation/content.jsx | 2 +- swan-lake/by-example/uuid-operations/content.jsx | 2 +- swan-lake/by-example/variables-and-types/content.jsx | 2 +- .../visibility-of-object-fields-and-methods/content.jsx | 2 +- swan-lake/by-example/waiting-for-workers/content.jsx | 2 +- swan-lake/by-example/while-statement/content.jsx | 2 +- swan-lake/by-example/wildcard-binding-pattern/content.jsx | 2 +- swan-lake/by-example/xml-access/content.jsx | 2 +- swan-lake/by-example/xml-data-model/content.jsx | 2 +- swan-lake/by-example/xml-from-json-conversion/content.jsx | 2 +- .../by-example/xml-from-record-conversion/content.jsx | 2 +- swan-lake/by-example/xml-iteration/content.jsx | 2 +- swan-lake/by-example/xml-mutation/content.jsx | 2 +- swan-lake/by-example/xml-namespaces/content.jsx | 2 +- swan-lake/by-example/xml-navigation/content.jsx | 2 +- swan-lake/by-example/xml-operations/content.jsx | 2 +- swan-lake/by-example/xml-subtyping/content.jsx | 2 +- swan-lake/by-example/xml-templates-and-query/content.jsx | 2 +- swan-lake/by-example/xml-templates/content.jsx | 2 +- swan-lake/by-example/xml-to-json-conversion/content.jsx | 2 +- swan-lake/by-example/xml-to-record-conversion/content.jsx | 2 +- swan-lake/by-example/xmlns-declarations/content.jsx | 2 +- swan-lake/by-example/xslt-transformation/content.jsx | 2 +- 276 files changed, 285 insertions(+), 285 deletions(-) diff --git a/swan-lake/by-example/access-json-elements/content.jsx b/swan-lake/by-example/access-json-elements/content.jsx index 4b3cfb471a8..ee88a4e1c07 100644 --- a/swan-lake/by-example/access-json-elements/content.jsx +++ b/swan-lake/by-example/access-json-elements/content.jsx @@ -85,7 +85,7 @@ export function AccessJsonElements({ codeSnippets }) { >