-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
425 additions
and
849 deletions.
There are no files selected for viewing
272 changes: 234 additions & 38 deletions
272
sdk/search/search-documents/review/search-documents.api.md
Large diffs are not rendered by default.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
sdk/search/search-documents/scripts/generateTestVarNames.pl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env -S perl -i | ||
|
||
use Algorithm::Combinatorics qw(variations_with_repetition); | ||
use Iterator; | ||
|
||
use v5.38; | ||
|
||
sub id_iterator { | ||
my $i = 1; | ||
my $j = 0; | ||
my @arr = variations_with_repetition( [ 'a' .. 'z' ], $i ); | ||
return Iterator->new( | ||
sub { | ||
if ( $j > $#arr ) { | ||
$j = 0; | ||
@arr = variations_with_repetition( [ 'a' .. 'z' ], ++$i ); | ||
} | ||
return join( '', @{ $arr[ $j++ ] } ); | ||
} | ||
); | ||
} | ||
|
||
my $iter = id_iterator(); | ||
my $str = $iter->value(); | ||
while (<>) { | ||
s/(?<=^\s{0,125}const\s{0,125})\w*?(?=:)/$str/ems | ||
&& ( $str = $iter->value() ); | ||
print; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
export const SDK_VERSION: string = "12.1.0-beta.1"; | ||
const SDK_VERSION: string = "12.1.0-beta.1"; |
Oops, something went wrong.